Skip to content

Commit

Permalink
helm: fix deletion hook serviceAccount in the agent chart (#31876)
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoShaka authored Sep 19, 2023
1 parent 929fe98 commit ac759cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ roleRef:
name: {{ .Release.Name }}-delete-hook
subjects:
- kind: ServiceAccount
name: {{ .Release.Name }}-delete-hook
name: {{ template "teleport-kube-agent.deleteHookServiceAccountName" . }}
namespace: {{ .Release.Namespace }}
---
{{- end }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ should not create ServiceAccount for post-delete hook if serviceAccount.create i
name: RELEASE-NAME-delete-hook
subjects:
- kind: ServiceAccount
name: RELEASE-NAME-delete-hook
name: lint-serviceaccount
namespace: NAMESPACE
3: |
apiVersion: batch/v1
Expand Down

0 comments on commit ac759cf

Please sign in to comment.