Skip to content

Commit 7e870dd

Browse files
add oidc component
1 parent d158f34 commit 7e870dd

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
---
2+
apiVersion: kustomize.config.k8s.io/v1alpha1
3+
kind: Component
4+
patches:
5+
- target:
6+
kind: Deployment
7+
name: aether
8+
patch: |
9+
- op: add
10+
path: /spec/template/spec/volumes/-
11+
value:
12+
name: aether-secret
13+
secret:
14+
secretName: aether
15+
items:
16+
- key: oidc_secret_id
17+
path: aether_oidc_secret_id
18+
- op: add
19+
path: /spec/template/spec/containers/0/volumeMounts/-
20+
value:
21+
name: aether-secret
22+
mountPath: /aether_oidc_secret_id
23+
subPath: aether_oidc_secret_id
24+
readOnly: true

0 commit comments

Comments
 (0)