From ee9fd701fdca0885646f3e756d6b189b5b573f66 Mon Sep 17 00:00:00 2001 From: Michael Welles Date: Tue, 21 Jul 2026 11:26:55 -0400 Subject: [PATCH] fix(dgraph): remove the dead tls.annotations block from Secret templates --- charts/dgraph/templates/alpha/secret-acl.yaml | 4 ---- charts/dgraph/templates/alpha/secret-enc.yaml | 4 ---- charts/dgraph/templates/alpha/secret-tls.yaml | 4 ---- charts/dgraph/templates/backups/secrets.yaml | 4 ---- charts/dgraph/templates/zero/secret-tls.yaml | 4 ---- 5 files changed, 20 deletions(-) diff --git a/charts/dgraph/templates/alpha/secret-acl.yaml b/charts/dgraph/templates/alpha/secret-acl.yaml index fdf73c065..23124becb 100644 --- a/charts/dgraph/templates/alpha/secret-acl.yaml +++ b/charts/dgraph/templates/alpha/secret-acl.yaml @@ -6,10 +6,6 @@ metadata: namespace: {{ include "dgraph.namespace" . }} labels: {{- include "dgraph.labels" (dict "ctx" . "component" .Values.alpha.name) | nindent 4 }} - {{- with .Values.alpha.tls.annotations }} - annotations: - {{- toYaml . | trimSuffix "\n" | nindent 4 }} - {{- end }} type: Opaque data: {{- with .Values.alpha.acl.file }} diff --git a/charts/dgraph/templates/alpha/secret-enc.yaml b/charts/dgraph/templates/alpha/secret-enc.yaml index 8b06afc14..54a48c7e3 100644 --- a/charts/dgraph/templates/alpha/secret-enc.yaml +++ b/charts/dgraph/templates/alpha/secret-enc.yaml @@ -6,10 +6,6 @@ metadata: namespace: {{ include "dgraph.namespace" . }} labels: {{- include "dgraph.labels" (dict "ctx" . "component" .Values.alpha.name) | nindent 4 }} - {{- with .Values.alpha.tls.annotations }} - annotations: - {{- toYaml . | trimSuffix "\n" | nindent 4 }} - {{- end }} type: Opaque data: {{- with .Values.alpha.encryption.file }} diff --git a/charts/dgraph/templates/alpha/secret-tls.yaml b/charts/dgraph/templates/alpha/secret-tls.yaml index 141e14a8e..4b9fa6e90 100644 --- a/charts/dgraph/templates/alpha/secret-tls.yaml +++ b/charts/dgraph/templates/alpha/secret-tls.yaml @@ -6,10 +6,6 @@ metadata: namespace: {{ include "dgraph.namespace" . }} labels: {{- include "dgraph.labels" (dict "ctx" . "component" .Values.alpha.name) | nindent 4 }} - {{- with .Values.alpha.tls.annotations }} - annotations: - {{- toYaml . | trimSuffix "\n" | nindent 4 }} - {{- end }} type: Opaque data: {{- with .Values.alpha.tls.files }} diff --git a/charts/dgraph/templates/backups/secrets.yaml b/charts/dgraph/templates/backups/secrets.yaml index 92f3c0ff8..6d67f3f18 100644 --- a/charts/dgraph/templates/backups/secrets.yaml +++ b/charts/dgraph/templates/backups/secrets.yaml @@ -9,10 +9,6 @@ metadata: namespace: {{ include "dgraph.namespace" . }} labels: {{- include "dgraph.labels" (dict "ctx" . "component" .Values.backups.name) | nindent 4 }} - {{- with .Values.alpha.tls.annotations }} - annotations: - {{- toYaml . | trimSuffix "\n" | nindent 4 }} - {{- end }} type: Opaque data: {{- if .Values.alpha.acl.enabled }} diff --git a/charts/dgraph/templates/zero/secret-tls.yaml b/charts/dgraph/templates/zero/secret-tls.yaml index c92a8490f..596008d9b 100644 --- a/charts/dgraph/templates/zero/secret-tls.yaml +++ b/charts/dgraph/templates/zero/secret-tls.yaml @@ -6,10 +6,6 @@ metadata: namespace: {{ include "dgraph.namespace" . }} labels: {{- include "dgraph.labels" (dict "ctx" . "component" .Values.zero.name) | nindent 4 }} - {{- with .Values.zero.tls.annotations }} - annotations: - {{- toYaml . | trimSuffix "\n" | nindent 4 }} - {{- end }} type: Opaque data: {{- with .Values.zero.tls.files }}