Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit ba07702

Browse files
authored
Merge pull request #82 from ltagliamonte-dd/fix_demo_service_account
Fix demo service account
2 parents d15cd62 + 7ddb8d2 commit ba07702

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

demo/yaml/kube-oidc-proxy.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ spec:
2727
labels:
2828
app: kube-oidc-proxy
2929
spec:
30+
serviceAccountName: kube-oidc-proxy
3031
containers:
3132
- image: quay.io/jetstack/kube-oidc-proxy:v0.1.1
3233
ports:
@@ -112,8 +113,9 @@ roleRef:
112113
kind: ClusterRole
113114
name: kube-oidc-proxy
114115
subjects:
115-
- kind: User
116-
name: system:serviceaccount:kube-oidc-proxy:default
116+
- kind: ServiceAccount
117+
name: kube-oidc-proxy
118+
namespace: kube-oidc-proxy
117119
---
118120
kind: ClusterRole
119121
apiVersion: rbac.authorization.k8s.io/v1

0 commit comments

Comments
 (0)