Files
solidtime-chart/templates/deployment-app.yaml

27 lines
687 B
YAML
Raw Normal View History

2025-12-10 20:29:40 +01:00
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ include "solidtime.fullname" . }}-app
spec:
replicas: 1
selector:
matchLabels:
app: solidtime-app
template:
metadata:
labels:
app: solidtime-app
spec:
containers:
- name: solidtime
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
ports:
- containerPort: 80
envFrom:
- configMapRef:
name: {{ include "solidtime.fullname" . }}-env
env:
2025-12-11 16:11:03 +01:00
{{- range $key, $value := .Values.env }}
- name: {{ $key }}
value: {{ $value | quote }}
{{- end }}