Initial Helm and Kargo setup

This commit is contained in:
5vl
2026-09-10 13:57:05 +02:00
commit 9af750af3f
16 changed files with 576 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}-web
spec:
replicas: {{ .Values.replicaCount }}
selector:
matchLabels:
app: {{ .Release.Name }}-web
template:
metadata:
labels:
app: {{ .Release.Name }}-web
spec:
containers:
- name: nginx
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- containerPort: {{ .Values.service.port }}
volumeMounts:
- name: web-content
mountPath: /usr/share/nginx/html
readOnly: true
volumes:
- name: web-content
configMap:
name: {{ .Release.Name }}-web-content