fusero-app-boilerplate/chart/templates/frontend-deployment.yaml
liquidrinu f3bece7009
Some checks failed
Deploy to Production / Build and Deploy (push) Failing after 6m6s
fix: add imagePullSecrets for private registry auth
2025-05-22 18:26:03 +02:00

28 lines
664 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: fusero-frontend
spec:
replicas: 1
selector:
matchLabels:
app: fusero-frontend
template:
metadata:
labels:
app: fusero-frontend
spec:
imagePullSecrets:
- name: regcred
containers:
- name: frontend
image: {{ .Values.frontend.image }}
imagePullPolicy: {{ .Values.global.imagePullPolicy }}
ports:
- containerPort: {{ .Values.frontend.port }}
env:
{{- range $key, $val := .Values.frontend.env }}
- name: {{ $key }}
value: "{{ $val }}"
{{- end }}