Skip to content

Commit

Permalink
Use chart.appversion as an image tag and remove old cert manager support
Browse files Browse the repository at this point in the history
  • Loading branch information
baluchicken committed Feb 18, 2021
1 parent 2302ea2 commit 0d8facd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ spec:
{{- if .Values.operator.developmentLogging }}
- --development
{{- end }}
image: "{{ .Values.operator.image.repository }}:{{ .Values.operator.image.tag }}"
image: "{{ .Values.operator.image.repository }}:{{ .Values.operator.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.operator.image.pullPolicy }}
name: manager
env:
Expand Down
17 changes: 0 additions & 17 deletions charts/kafka-operator/templates/operator-rbac.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,22 +190,6 @@ rules:
- update
- patch
- delete
{{- if contains "0.7." .Values.operator.image.tag }}
- apiGroups:
- certmanager.k8s.io
resources:
- issuers
- clusterissuers
- certificates
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
{{- else }}
- apiGroups:
- cert-manager.io
resources:
Expand All @@ -232,7 +216,6 @@ rules:
- patch
- update
- watch
{{- end }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
Expand Down
2 changes: 1 addition & 1 deletion charts/kafka-operator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ operator:
annotations: {}
image:
repository: ghcr.io/banzaicloud/kafka-operator
tag: v0.15.0
tag: ""
pullPolicy: IfNotPresent
vaultAddress: ""
# vaultSecret containing a `ca.crt` key with the Vault CA Certificate
Expand Down

0 comments on commit 0d8facd

Please sign in to comment.