From 34ba373f2dd5ba4d627e102a5c036817bc93586b Mon Sep 17 00:00:00 2001 From: Travis DePrato <773453+travigd@users.noreply.github.com> Date: Sun, 20 Sep 2020 21:18:16 -0700 Subject: [PATCH 1/2] Fix #24 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The use of `{{- with ... }}` seems useless here, and it breaks everything else. I think(?) it doesn't cause an issue in the default configuration because `.Values.networkPolicy.ingress.grpc` is an empty array (and I guess that means it doesn't actually switch into that scope?). Would be niceā„¢ to add a test too (I made this PR from the GitHub web app). --- cockroachdb/templates/networkpolicy.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/cockroachdb/templates/networkpolicy.yaml b/cockroachdb/templates/networkpolicy.yaml index 1739c45e..ea232855 100644 --- a/cockroachdb/templates/networkpolicy.yaml +++ b/cockroachdb/templates/networkpolicy.yaml @@ -23,10 +23,9 @@ spec: ingress: - ports: - port: grpc - {{- with .Values.networkPolicy.ingress.grpc }} from: # Allow connections via custom rules. - {{- toYaml . | nindent 8 }} + {{- toYaml .Values.networkPolicy.ingress.grpc | nindent 8 }} # Allow client connection via pre-considered label. - podSelector: matchLabels: @@ -49,7 +48,6 @@ spec: {{- toYaml . | nindent 14 }} {{- end }} {{- end }} - {{- end }} # Allow connections to admin UI and for Prometheus. - ports: - port: http From 2e50e5c99617c5b0b81c407759f1a687d44d27f6 Mon Sep 17 00:00:00 2001 From: Christian Becker Date: Tue, 7 Mar 2023 11:19:31 +0100 Subject: [PATCH 2/2] Bumped Chart Version --- cockroachdb/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockroachdb/Chart.yaml b/cockroachdb/Chart.yaml index 7c79af92..5c914d02 100644 --- a/cockroachdb/Chart.yaml +++ b/cockroachdb/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 name: cockroachdb home: https://www.cockroachlabs.com -version: 10.0.6 +version: 10.0.7 appVersion: 22.2.6 description: CockroachDB is a scalable, survivable, strongly-consistent SQL database. icon: https://raw.githubusercontent.com/cockroachdb/cockroach/master/docs/media/cockroach_db.png