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

Commit

Permalink
Add namespace to spiffe-oidc-discovery-provider RBAC definitions (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
drewwells committed Jul 6, 2023
1 parent c1b1dd3 commit 4ad68b1
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: {{ include "spiffe-oidc-discovery-provider.fullname" . }}-pre-delete
namespace: {{ include "spiffe-oidc-discovery-provider.namespace" . }}
annotations:
"helm.sh/hook": pre-delete
"helm.sh/hook-delete-policy": before-hook-creation, hook-succeeded, hook-failed
Expand All @@ -26,6 +27,7 @@ kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ include "spiffe-oidc-discovery-provider.fullname" . }}-pre-delete
namespace: {{ include "spiffe-oidc-discovery-provider.namespace" . }}
annotations:
"helm.sh/hook": pre-delete
"helm.sh/hook-delete-policy": before-hook-creation, hook-succeeded, hook-failed
Expand Down

0 comments on commit 4ad68b1

Please sign in to comment.