Files
hlaeja-development/helm/charts/03-account-registry/templates/03-deployment.yaml
Swordsteel 6c906ec522 helm hlaeja account registry
- update actuator.http
- update helmfile.yaml
- add 04-service.yaml
- add 03-deployment.yaml
- add 02-configmap.yaml
- add 01-secret.yaml
- update 01 secret values.yaml with jwt
- add values.yaml
- add Chart.yaml
2025-07-28 11:37:04 +02:00

43 lines
1.1 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: account-register
labels:
app: account-register
environment: {{ .Values.environment }}
tier: backend
spec:
replicas: {{ .Values.replicas }}
selector:
matchLabels:
app: account-register
template:
metadata:
labels:
app: account-register
spec:
imagePullSecrets:
- name: {{ .Values.docker.registry }}
containers:
- name: account-register-app
image: {{ .Values.docker.image }}
imagePullPolicy: IfNotPresent
envFrom:
- configMapRef:
name: account-register-environment
- secretRef:
name: account-register-environment
volumeMounts:
- name: jwt-key-volume
mountPath: /app/resources/cert
readOnly: true
ports:
- containerPort: 8080
volumes:
- name: jwt-key-volume
secret:
secretName: {{ .Values.jwtPrivetKey.name }}
items:
- key: {{ .Values.jwtPrivetKey.filename }}
path: {{ .Values.jwtPrivetKey.filename }}