diff --git a/apps/syncthing/overlays/media/deployment-patch.yaml b/apps/syncthing/overlays/media/deployment-patch.yaml index cab1ae7..a560f02 100644 --- a/apps/syncthing/overlays/media/deployment-patch.yaml +++ b/apps/syncthing/overlays/media/deployment-patch.yaml @@ -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