chore(syncthing): override sync-data location
This commit is contained in:
parent
eed8daaba1
commit
a760c7139e
3 changed files with 24 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
creation_rules:
|
creation_rules:
|
||||||
- age: "age1y26vr5qt6th3wu92rnsgkqcpxxah3pqkqa4khcjjycm3kg40aqyqjgfzx9"
|
- age: "age1y26vr5qt6th3wu92rnsgkqcpxxah3pqkqa4khcjjycm3kg40aqyqjgfzx9"
|
||||||
encrypted_regex: "^(data|stringData)$"
|
encrypted_regex: "^(data|stringData)$"
|
||||||
path_regex: .*\.enc\.ya?ml
|
path_regex: .*\.ya?ml
|
||||||
|
- age: "age1y26vr5qt6th3wu92rnsgkqcpxxah3pqkqa4khcjjycm3kg40aqyqjgfzx9"
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,11 @@ spec:
|
||||||
readOnly: true
|
readOnly: true
|
||||||
subPath: key.pem
|
subPath: key.pem
|
||||||
volumes:
|
volumes:
|
||||||
|
- name: sync-data
|
||||||
|
persistentVolumeClaim: null
|
||||||
|
nfs:
|
||||||
|
server: 192.168.1.215
|
||||||
|
path: /export/sync
|
||||||
- name: sync-keys
|
- name: sync-keys
|
||||||
secret:
|
secret:
|
||||||
secretName: sync-secret
|
secretName: sync-secret
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,21 @@
|
||||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
|
|
||||||
|
# secretGenerator:
|
||||||
|
# - name: mysecret
|
||||||
|
# files:
|
||||||
|
# - ./test-secret-generator.yaml
|
||||||
|
|
||||||
generators:
|
generators:
|
||||||
- ./test-secret-generator.yaml
|
- name: test-secret
|
||||||
|
|-
|
||||||
|
apiVersion: viaduct.ai/v1
|
||||||
|
kind: ksops
|
||||||
|
metadata:
|
||||||
|
name: test-secret
|
||||||
|
annotations:
|
||||||
|
config.kubernetes.io/function: |
|
||||||
|
exec:
|
||||||
|
path: ksops
|
||||||
|
files:
|
||||||
|
- ./test-ksops-secret.enc.yaml
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue