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