Skip to content

Commit

Permalink
fix: don't automount sa token for kratos-watcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Demonsthere authored May 23, 2024
1 parent 007a9b5 commit 5558bf7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion helm/charts/kratos/templates/rbac-watcher.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ metadata:
labels:
app.kubernetes.io/name: {{ include "kratos.name" . }}-watcher
app.kubernetes.io/instance: {{ .Release.Name }}
automountServiceAccountToken: false
---
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
Expand Down Expand Up @@ -56,4 +57,4 @@ subjects:
- kind: ServiceAccount
name: {{ include "kratos.fullname" . }}-watcher
namespace: {{ .Release.Namespace }}
{{- end }}
{{- end }}

0 comments on commit 5558bf7

Please sign in to comment.