slaventius 2 years ago
parent 66d9d21714
commit f318339c23
  1. 1
      deploy/auth-db-config.yaml
  2. 30
      deploy/auth-db-deployment.yaml
  3. 7
      deploy/auth-db-secret.yaml

@ -6,4 +6,3 @@ data:
KAFKA_HOST: "37.143.12.169" KAFKA_HOST: "37.143.12.169"
KAFKA_PORT: "19092" KAFKA_PORT: "19092"
APP_PORT: "9995" APP_PORT: "9995"
SENTRY_DSN: "https://3f4b31dbbd9a4a6b8a71f9881d962f25@o4504654569799680.ingest.sentry.io/4504654572683264"

@ -21,19 +21,21 @@ spec:
ports: ports:
- containerPort: 9995 - containerPort: 9995
envFrom: envFrom:
- secretRef:
name: auth-db-secret
- configMapRef: - configMapRef:
name: auth-db-config name: auth-db-config
livenessProbe: # livenessProbe:
grpc: # grpc:
port: 9995 # port: 9995
periodSeconds: 1 # periodSeconds: 1
initialDelaySeconds: 2 # initialDelaySeconds: 2
failureThreshold: 3 # failureThreshold: 3
successThreshold: 1 # successThreshold: 1
readinessProbe: # readinessProbe:
grpc: # grpc:
port: 9995 # port: 9995
periodSeconds: 1 # periodSeconds: 1
initialDelaySeconds: 4 # initialDelaySeconds: 4
failureThreshold: 3 # failureThreshold: 3
successThreshold: 1 # successThreshold: 1

@ -0,0 +1,7 @@
apiVersion: v1
kind: Secret
metadata:
name: auth-db-secret
type: Opaque
data:
SENTRY_DSN: aHR0cHM6Ly8zZjRiMzFkYmJkOWE0YTZiOGE3MWY5ODgxZDk2MmYyNUBvNDUwNDY1NDU2OTc5OTY4MC5pbmdlc3Quc2VudHJ5LmlvLzQ1MDQ2NTQ1NzI2ODMyNjQ=
Loading…
Cancel
Save