Skip to content

Commit 3fa51e4

Browse files
add support for reading secret data
1 parent a8aa7f0 commit 3fa51e4

File tree

1 file changed

+19
-0
lines changed

1 file changed

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

0 commit comments

Comments
 (0)