project structure done
This commit is contained in:
19
k8s/configmap.yaml
Normal file
19
k8s/configmap.yaml
Normal file
@ -0,0 +1,19 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: guard-service
|
||||
labels:
|
||||
app: guard-service
|
||||
namespace: birbnetes
|
||||
data:
|
||||
SENTRY_DSN: "https://80d27db8c74f4556a19a1bf0180b373f@sentry.kmlabz.com/23"
|
||||
RELEASE_ID: birb-k8s
|
||||
GUARD_SERVICE_RELEASEMODE: release
|
||||
GUARD_RABBITMQ_HOSTNAME: birb-rabbitmq
|
||||
GUARD_RABBITMQ_EXCHANGE: "sample"
|
||||
GUARD_RABBITMQ_USERNAME: user
|
||||
GUARD_RABBITMQ_PASSWORD: 1wZVQnP5vy
|
||||
GUARD_MQTT_HOSTNAME: guard-postgres
|
||||
GUARD_MQTT_USERNAME: guard-service
|
||||
GUARD_MQTT_PASSWORD: guard-service-supersecret
|
||||
GUARD_MQTT_TOPIC: guard-service
|
27
k8s/deployment.yaml
Normal file
27
k8s/deployment.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: guard-service
|
||||
namespace: birbnetes
|
||||
labels:
|
||||
app: guard-service
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: guard-service
|
||||
strategy:
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: guard-service
|
||||
spec:
|
||||
containers:
|
||||
- name: guard-service
|
||||
image: registry.kmlabz.com/birbnetesgit/guard-service
|
||||
envFrom:
|
||||
- configMapRef:
|
||||
name: guard-service
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
Reference in New Issue
Block a user