Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
10 changes: 10 additions & 0 deletions cockroachdb-parent/charts/operator/templates/operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ rules:
- admissionregistration.k8s.io
resources:
- validatingwebhookconfigurations
- mutatingwebhookconfigurations
verbs:
- create
- apiGroups:
Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion cockroachdb-parent/charts/operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Loading