Argocd-test/bases/mobility-accounts/deployment.yaml

64 lines
2.2 KiB
YAML
Raw Normal View History

2023-07-10 07:03:34 +00:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: test-coopgo-mobility-accounts
spec:
replicas: 1
template:
spec:
containers:
- name: mobility-accounts
2024-03-27 10:30:16 +00:00
image: git.coopgo.io/coopgo-platform/mobility-accounts:dev
2023-07-10 07:03:34 +00:00
ports:
- name: grpc
containerPort: 8080
protocol: TCP
- name: http
containerPort: 80
protocol: TCP
env:
- name: STORAGE_DB_MONGODB_URI
valueFrom:
secretKeyRef:
name: mobility-account-secret
2023-07-10 07:03:34 +00:00
key: storage_db_mongodb_uri
- name: STORAGE_DB_MONGODB_DB_NAME
valueFrom:
secretKeyRef:
name: mobility-account-secret
2023-07-10 07:03:34 +00:00
key: storage_db_mongodb_db_name
- name: SERVICES_OIDC_PROVIDER_CSRF_KEY
valueFrom:
secretKeyRef:
name: mobility-account-secret
key: services_oidc_provider_csrf_key
- name: SERVICES_OIDC_PROVIDER_NAMESPACES_PARCOURSMOB_SECRET_KEY
valueFrom:
secretKeyRef:
name: mobility-account-secret
key: services_oidc_provider_namespaces_parcoursmob_secret_key
- name: SERVICES_OIDC_PROVIDER_NAMESPACES_PARCOURSMOB_CLIENTS_ID
valueFrom:
secretKeyRef:
name: mobility-account-secret
key: services_oidc_provider_namespaces_parcoursmob_clients_id
- name: SERVICES_OIDC_PROVIDER_NAMESPACES_PARCOURSMOB_CLIENTS_SECRET
valueFrom:
secretKeyRef:
name: mobility-account-secret
key: services_oidc_provider_namespaces_parcoursmob_clients_secret
volumeMounts:
- name: mobility-accounts-config-volume
mountPath: /config.yaml
subPath: config.yaml
imagePullSecrets:
2024-03-27 11:01:37 +00:00
- name: secret_mobility_accounts
2023-07-10 07:03:34 +00:00
volumes:
- name: mobility-accounts-config-volume
configMap:
name: test-mobility-accounts-config
items:
- key: config.yaml
path: config.yaml