argo config drift: doorboy

This commit is contained in:
rasmus 2024-08-03 02:47:28 +03:00
parent 75b5d39880
commit 504bd3012e

View File

@ -4,9 +4,6 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: doorboy-proxy name: doorboy-proxy
annotations:
keel.sh/policy: force
keel.sh/trigger: poll
spec: spec:
revisionHistoryLimit: 0 revisionHistoryLimit: 0
replicas: 3 replicas: 3
@ -27,20 +24,30 @@ spec:
operator: In operator: In
values: values:
- doorboy-proxy - doorboy-proxy
topologyKey: kubernetes.io/hostname topologyKey: topology.kubernetes.io/zone
weight: 100 weight: 100
containers: containers:
- name: doorboy-proxy - name: doorboy-proxy
image: harbor.k-space.ee/k-space/doorboy-proxy:latest image: harbor.k-space.ee/k-space/doorboy-proxy:latest
envFrom: envFrom:
- secretRef:
name: inventory-mongodb
- secretRef: - secretRef:
name: doorboy-api name: doorboy-api
env: env:
- name: MONGO_URI - name: FLOOR_ACCESS_GROUP
value: 'k-space:floor'
- name: WORKSHOP_ACCESS_GROUP
value: 'k-space:workshop'
- name: CARD_URI
value: 'https://inventory.k-space.ee/cards'
- name: SWIPE_URI
value: 'https://inventory.k-space.ee/m/doorboy/swipe'
- name: INVENTORY_API_KEY
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: mongo-application-readwrite name: inventory-api-key
key: connectionString.standard key: INVENTORY_API_KEY
securityContext: securityContext:
readOnlyRootFilesystem: true readOnlyRootFilesystem: true
runAsNonRoot: true runAsNonRoot: true