From fc61c9f4cb2bf2483b778fda55ef81cfdfb2afed Mon Sep 17 00:00:00 2001 From: Andreas Geissler Date: Mon, 26 Jun 2023 17:09:35 +0200 Subject: [COMMON] Fix various helm errors Fixes in helmcharts which are not detected by helm, but kustomize in common, CDS, POLICY, SDC, SO Issue-ID: OOM-3200 Issue-ID: OOM-3201 Issue-ID: OOM-3202 Issue-ID: OOM-3203 Issue-ID: OOM-3204 Issue-ID: OOM-3205 Issue-ID: OOM-3206 Issue-ID: OOM-3207 Signed-off-by: Andreas Geissler Change-Id: I8416726693d6606d936aaf4cfe2c097752689c29 (cherry picked from commit bc550dc1ea4de60e7ebf1073b340d7c62e2258ef) --- kubernetes/common/cassandra/templates/statefulset.yaml | 9 --------- 1 file changed, 9 deletions(-) (limited to 'kubernetes/common/cassandra/templates/statefulset.yaml') diff --git a/kubernetes/common/cassandra/templates/statefulset.yaml b/kubernetes/common/cassandra/templates/statefulset.yaml index 2e73309bb7..dff70820e9 100644 --- a/kubernetes/common/cassandra/templates/statefulset.yaml +++ b/kubernetes/common/cassandra/templates/statefulset.yaml @@ -27,15 +27,6 @@ spec: type: {{ .Values.updateStrategy.type }} template: metadata: {{- include "common.templateMetadata" . | nindent 6 }} - {{- if or .Values.podAnnotations (and .Values.metrics.serviceMonitor.enabled .Values.metrics.podAnnotations) }} - annotations: - {{- if .Values.podAnnotations }} - {{- include "common.tplValue" (dict "value" .Values.podAnnotations "context" $) | nindent 8 }} - {{- end }} - {{- if and .Values.metrics.serviceMonitor.enabled .Values.metrics.podAnnotations }} - {{- include "common.tplValue" (dict "value" .Values.metrics.podAnnotations "context" $) | nindent 8 }} - {{- end }} - {{- end }} spec: hostNetwork: {{ .Values.hostNetwork }} imagePullSecrets: -- cgit 1.2.3-korg