fix: add annotations to pods, to fix deployment

This commit is contained in:
Justin Kreller
2024-11-28 23:38:34 +01:00
parent 9af5a3b49a
commit 32fa82f68b
4 changed files with 6 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ spec:
metadata: metadata:
{{- with .Values.annotations }} {{- with .Values.annotations }}
annotations: annotations:
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
labels: labels:
{{- include "htwkalender.labels" . | nindent 8 }} {{- include "htwkalender.labels" . | nindent 8 }}

View File

@@ -19,7 +19,7 @@ spec:
metadata: metadata:
{{- with .Values.annotations }} {{- with .Values.annotations }}
annotations: annotations:
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
labels: labels:
{{- include "htwkalender.labels" . | nindent 8 }} {{- include "htwkalender.labels" . | nindent 8 }}

View File

@@ -19,7 +19,7 @@ spec:
metadata: metadata:
{{- with .Values.annotations }} {{- with .Values.annotations }}
annotations: annotations:
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
labels: labels:
{{- include "htwkalender.labels" . | nindent 8 }} {{- include "htwkalender.labels" . | nindent 8 }}

View File

@@ -2,7 +2,7 @@ production: true
dataManager: dataManager:
name: data-manager name: data-manager
replicas: 2 replicas: 1
image: image:
name: "PLACEHOLDER" name: "PLACEHOLDER"
pullPolicy: &PULL_POLICY Always pullPolicy: &PULL_POLICY Always
@@ -36,9 +36,9 @@ frontend:
persistence: persistence:
enabled: true enabled: true
accessModes: accessModes:
- ReadWriteMany - ReadWriteOnce
storageClassName: "PLACEHOLDER" storageClassName: "PLACEHOLDER"
size: 70Gi size: 19Gi
# This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/ # This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
livenessProbe: livenessProbe: