Argocd-test/bases/groups-management/deployment.yaml

41 lines
1.2 KiB
YAML
Raw Normal View History

2023-07-10 07:03:34 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: test-coopgo-groups-management
spec:
2024-03-25 09:04:00 +00:00
replicas: 3
2023-07-10 07:03:34 +00:00
template:
spec:
containers:
- name: groups-management
image: docker.io/library/groups-management-v3:local
env:
- name: STORAGE_DB_MONGODB_URI
valueFrom:
secretKeyRef:
2024-03-21 14:05:21 +00:00
name: groups-management-secret
2023-07-10 07:03:34 +00:00
key: storage_db_mongodb_uri
- name: STORAGE_DB_MONGODB_DB_NAME
valueFrom:
secretKeyRef:
2024-03-21 14:05:21 +00:00
name: groups-management-secret
2023-07-10 07:03:34 +00:00
key: storage_db_mongodb_db_name
ports:
- name: http
containerPort: 8080
protocol: TCP
volumeMounts:
- name: groups-management-config-volume
mountPath: /config.yaml
subPath: config.yaml
imagePullSecrets:
- name: regcred
volumes:
- name: groups-management-config-volume
configMap:
name: test-groups-management-config
items:
- key: config.yaml
path: config.yaml