pw
This commit is contained in:
8
sshwifty/secrets.yaml
Normal file
8
sshwifty/secrets.yaml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: pass
|
||||||
|
namespace: sshwifty
|
||||||
|
type: Opaque
|
||||||
|
data:
|
||||||
|
pw: NElzVGhlTWluZEtpbGxlcg==
|
||||||
@@ -49,6 +49,12 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: SSHWIFTY_CONFIG
|
- name: SSHWIFTY_CONFIG
|
||||||
value: "/config/sshwifty.conf.json"
|
value: "/config/sshwifty.conf.json"
|
||||||
|
- name: SSHWIFTY_SHAREDKEY
|
||||||
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: pass
|
||||||
|
key: pw
|
||||||
|
optional: false
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: sshwifty-config
|
- name: sshwifty-config
|
||||||
mountPath: "/config"
|
mountPath: "/config"
|
||||||
|
|||||||
Reference in New Issue
Block a user