This repository was archived by the owner on May 17, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +28
-95
lines changed Expand file tree Collapse file tree 4 files changed +28
-95
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 28
28
app : kube-oidc-proxy
29
29
spec :
30
30
containers :
31
- - image : gcr .io/jetstack-josh /kube-oidc-proxy
31
+ - image : quay .io/jetstack/kube-oidc-proxy
32
32
ports :
33
33
- containerPort : 443
34
34
- containerPort : 8080
@@ -109,7 +109,27 @@ metadata:
109
109
roleRef :
110
110
apiGroup : rbac.authorization.k8s.io
111
111
kind : ClusterRole
112
- name : cluster-admin
112
+ name : kube-oidc-proxy
113
113
subjects :
114
114
- kind : User
115
115
name : system:serviceaccount:kube-oidc-proxy:default
116
+ ---
117
+ kind : ClusterRole
118
+ apiVersion : rbac.authorization.k8s.io/v1
119
+ metadata :
120
+ name : kube-oidc-proxy
121
+ rules :
122
+ - apiGroups :
123
+ - " "
124
+ resources :
125
+ - " users"
126
+ - " groups"
127
+ - " serviceaccounts"
128
+ verbs :
129
+ - " impersonate"
130
+ - apiGroups :
131
+ - " authentication.k8s.io"
132
+ resources :
133
+ - " userextras/scopes"
134
+ verbs :
135
+ - " impersonate"
Original file line number Diff line number Diff line change 1
1
apiVersion : v1
2
2
data :
3
- tls.crt : SERVING_TLS_CERT
4
- tls.key : SERVING_TLS_KEY
3
+ tls.crt : {{ SERVING_TLS_CERT }}
4
+ tls.key : {{ SERVING_TLS_KEY }}
5
5
kind : Secret
6
6
metadata :
7
7
name : kube-oidc-proxy-serving
@@ -10,10 +10,10 @@ type: kubernetes.io/tls
10
10
---
11
11
apiVersion : v1
12
12
data :
13
- oidc.ca-pem :
14
- oidc.issuer-url :
15
- oidc.username-claim :
16
- oidc.client-id :
13
+ oidc.ca-pem : {{ OIDC_CA }}
14
+ oidc.issuer-url : {{ OIDC_ISSUER_URL }}
15
+ oidc.username-claim : {{ OIDC_USERNAME_CLAIM }}
16
+ oidc.client-id : {{ OIDC_CLIENT_ID }}
17
17
kind : Secret
18
18
metadata :
19
19
name : kube-oidc-proxy-config
You can’t perform that action at this time.
0 commit comments