Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
fix: add missing sa token secret (#30)
Browse files Browse the repository at this point in the history
  • Loading branch information
raffis committed Jul 12, 2023
1 parent cc5a5c1 commit 247f2f9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion chart/k8skafka-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ keywords:
name: k8skafka-controller
sources:
- https://github.com/DoodleScheduling/k8skafka-controller
version: 0.4.0
version: 0.4.1
14 changes: 14 additions & 0 deletions chart/k8skafka-controller/templates/serviceaccount-token.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{{- if .Values.serviceAccount.create -}}
apiVersion: v1
kind: Secret
metadata:
name: {{ template "k8skafka-controller.serviceAccountName" . }}
labels:
app.kubernetes.io/name: {{ include "k8skafka-controller.name" . }}
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/managed-by: {{ .Release.Service }}
helm.sh/chart: {{ include "k8skafka-controller.chart" . }}
annotations:
kubernetes.io/service-account.name: {{ template "k8skafka-controller.serviceAccountName" . }}
type: kubernetes.io/service-account-token
{{- end -}}

0 comments on commit 247f2f9

Please sign in to comment.