Compare commits
No commits in common. "8c9c371f85c28010ff8aa161e243717a58bf4514" and "d6107f53e08847108d5eb51947446b44f690282e" have entirely different histories.
8c9c371f85
...
d6107f53e0
1 changed files with 15 additions and 19 deletions
|
|
@ -4,22 +4,18 @@ metadata:
|
|||
name: syncthing
|
||||
spec:
|
||||
template:
|
||||
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
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue