From ccd389a25acbb6e904f982331979ba956a9c9de3 Mon Sep 17 00:00:00 2001 From: Juan Gonzalez Date: Mon, 4 Dec 2023 13:35:31 +0100 Subject: [PATCH 1/2] fix/sarole&rolebindingnamespace --- helm/oauth2-proxy/Chart.yaml | 8 ++++---- helm/oauth2-proxy/templates/serviceaccount.yaml | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/helm/oauth2-proxy/Chart.yaml b/helm/oauth2-proxy/Chart.yaml index 6c3df8d..4b4b3a8 100644 --- a/helm/oauth2-proxy/Chart.yaml +++ b/helm/oauth2-proxy/Chart.yaml @@ -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/ @@ -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 diff --git a/helm/oauth2-proxy/templates/serviceaccount.yaml b/helm/oauth2-proxy/templates/serviceaccount.yaml index 7ad7783..2a89c4b 100644 --- a/helm/oauth2-proxy/templates/serviceaccount.yaml +++ b/helm/oauth2-proxy/templates/serviceaccount.yaml @@ -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 }} @@ -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 }} From ed3e5c719eb5fe15eb90e9fc48fc2170a315ce7c Mon Sep 17 00:00:00 2001 From: Juan Gonzalez Date: Mon, 4 Dec 2023 13:39:09 +0100 Subject: [PATCH 2/2] Add PR nr for ArtifactHub Signed-off-by: Juan Gonzalez --- helm/oauth2-proxy/Chart.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm/oauth2-proxy/Chart.yaml b/helm/oauth2-proxy/Chart.yaml index 4b4b3a8..5303a48 100644 --- a/helm/oauth2-proxy/Chart.yaml +++ b/helm/oauth2-proxy/Chart.yaml @@ -38,4 +38,4 @@ annotations: description: Fixed service account role and rolebinding created in the wrong namespace links: - name: Github PR - url: PENDING + url: https://github.com/oauth2-proxy/manifests/pull/175