Compare commits
2 commits
d6107f53e0
...
8c9c371f85
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8c9c371f85 | ||
|
|
07c4b0c2b9 |
1 changed files with 19 additions and 15 deletions
|
|
@ -4,13 +4,14 @@ metadata:
|
||||||
name: syncthing
|
name: syncthing
|
||||||
spec:
|
spec:
|
||||||
template:
|
template:
|
||||||
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: syncthing
|
- name: syncthing
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
# - name: sync-keys
|
- name: sync-keys
|
||||||
# mountPath: /var/syncthing/config/cert.pem
|
mountPath: /var/syncthing/config/cert.pem
|
||||||
# subPath: cert.pem
|
subPath: cert.pem
|
||||||
# readOnly: true
|
readOnly: true
|
||||||
- name: sync-keys
|
- name: sync-keys
|
||||||
mountPath: /var/syncthing/config/key.pem
|
mountPath: /var/syncthing/config/key.pem
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
|
@ -19,3 +20,6 @@ spec:
|
||||||
- name: sync-keys
|
- name: sync-keys
|
||||||
secret:
|
secret:
|
||||||
secretName: sync-secret
|
secretName: sync-secret
|
||||||
|
items:
|
||||||
|
- key: cert.pem
|
||||||
|
- key: key.pem
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue