Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit 0d8facd

Browse files
committed
Use chart.appversion as an image tag and remove old cert manager support
1 parent 2302ea2 commit 0d8facd

File tree

3 files changed

+2
-19
lines changed

3 files changed

+2
-19
lines changed

charts/kafka-operator/templates/operator-deployment-with-webhook.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ spec:
156156
{{- if .Values.operator.developmentLogging }}
157157
- --development
158158
{{- end }}
159-
image: "{{ .Values.operator.image.repository }}:{{ .Values.operator.image.tag }}"
159+
image: "{{ .Values.operator.image.repository }}:{{ .Values.operator.image.tag | default .Chart.AppVersion }}"
160160
imagePullPolicy: {{ .Values.operator.image.pullPolicy }}
161161
name: manager
162162
env:

charts/kafka-operator/templates/operator-rbac.yaml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -190,22 +190,6 @@ rules:
190190
- update
191191
- patch
192192
- delete
193-
{{- if contains "0.7." .Values.operator.image.tag }}
194-
- apiGroups:
195-
- certmanager.k8s.io
196-
resources:
197-
- issuers
198-
- clusterissuers
199-
- certificates
200-
verbs:
201-
- create
202-
- delete
203-
- get
204-
- list
205-
- patch
206-
- update
207-
- watch
208-
{{- else }}
209193
- apiGroups:
210194
- cert-manager.io
211195
resources:
@@ -232,7 +216,6 @@ rules:
232216
- patch
233217
- update
234218
- watch
235-
{{- end }}
236219
---
237220
apiVersion: rbac.authorization.k8s.io/v1
238221
kind: ClusterRoleBinding

charts/kafka-operator/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ operator:
1212
annotations: {}
1313
image:
1414
repository: ghcr.io/banzaicloud/kafka-operator
15-
tag: v0.15.0
15+
tag: ""
1616
pullPolicy: IfNotPresent
1717
vaultAddress: ""
1818
# vaultSecret containing a `ca.crt` key with the Vault CA Certificate

0 commit comments

Comments
 (0)