From 98b1a45ed92c13a3177787bceeb9423e5221b2d3 Mon Sep 17 00:00:00 2001 From: NishanthNalluri Date: Wed, 29 Oct 2025 12:08:45 +0530 Subject: [PATCH] Testing new operator image. --- .../cockroachdb-parent/charts/operator/values.yaml | 2 +- .../charts/operator/templates/operator.yaml | 10 ++++++++++ cockroachdb-parent/charts/operator/values.yaml | 2 +- 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/build/templates/cockroachdb-parent/charts/operator/values.yaml b/build/templates/cockroachdb-parent/charts/operator/values.yaml index c4172dfa2..8dfa9fc92 100644 --- a/build/templates/cockroachdb-parent/charts/operator/values.yaml +++ b/build/templates/cockroachdb-parent/charts/operator/values.yaml @@ -9,7 +9,7 @@ image: # pullPolicy specifies the image pull policy. pullPolicy: IfNotPresent # tag is the image tag. - tag: "6f62639e9fee99d99b0387a9dccda84daa1a489b592b008f2f354ec57eae09ac" + tag: "45cdd590df97112c50a741d23b06a3ffb6b455532c0e2d827114f930c86798fd" # certificate defines the certificate settings for the Operator. certificate: # validForDays specifies the number of days the certificate is valid for. diff --git a/cockroachdb-parent/charts/operator/templates/operator.yaml b/cockroachdb-parent/charts/operator/templates/operator.yaml index c45455915..f43092964 100644 --- a/cockroachdb-parent/charts/operator/templates/operator.yaml +++ b/cockroachdb-parent/charts/operator/templates/operator.yaml @@ -254,6 +254,7 @@ rules: - admissionregistration.k8s.io resources: - validatingwebhookconfigurations + - mutatingwebhookconfigurations verbs: - create - apiGroups: @@ -265,6 +266,15 @@ rules: verbs: - get - patch + - apiGroups: + - admissionregistration.k8s.io + resources: + - mutatingwebhookconfigurations + resourceNames: + - cockroach-mutating-webhook-config + verbs: + - get + - patch # The "create" verb cannot be qualified with resourceNames, so grant the # unqualified permission so that the operator can create new CRDs. But only # allow the operator to get and patch its own CRDs. diff --git a/cockroachdb-parent/charts/operator/values.yaml b/cockroachdb-parent/charts/operator/values.yaml index f28414bcb..3f0a8b0de 100644 --- a/cockroachdb-parent/charts/operator/values.yaml +++ b/cockroachdb-parent/charts/operator/values.yaml @@ -10,7 +10,7 @@ image: # pullPolicy specifies the image pull policy. pullPolicy: IfNotPresent # tag is the image tag. - tag: "6f62639e9fee99d99b0387a9dccda84daa1a489b592b008f2f354ec57eae09ac" + tag: "45cdd590df97112c50a741d23b06a3ffb6b455532c0e2d827114f930c86798fd" # certificate defines the certificate settings for the Operator. certificate: # validForDays specifies the number of days the certificate is valid for.