Skip to content

Commit

Permalink
fix/sarole&rolebindingnamespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jgmartinez committed Dec 4, 2023
1 parent c9f0ae8 commit ccd389a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions helm/oauth2-proxy/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: oauth2-proxy
version: 6.20.0
version: 6.20.1
apiVersion: v2
appVersion: 7.5.1
home: https://oauth2-proxy.github.io/oauth2-proxy/
Expand Down Expand Up @@ -34,8 +34,8 @@ maintainers:
kubeVersion: ">=1.9.0-0"
annotations:
artifacthub.io/changes: |
- kind: added
description: Allow specifying terminationGracePeriodSeconds and lifecycle hooks
- kind: fixed
description: Fixed service account role and rolebinding created in the wrong namespace
links:
- name: Github PR
url: https://github.com/oauth2-proxy/manifests/pull/174
url: PENDING
2 changes: 2 additions & 0 deletions helm/oauth2-proxy/templates/serviceaccount.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ kind: Role
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ $fullName }}-watch-redis
namespace: {{ $namespace }}
labels:
app: {{ $name }}
{{- $labels | nindent 4 }}
Expand All @@ -43,6 +44,7 @@ kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: {{ $saName }}-watch-redis
namespace: {{ $namespace }}
labels:
app: {{ $name }}
{{- $labels | nindent 4 }}
Expand Down

0 comments on commit ccd389a

Please sign in to comment.