Fix secrets
All checks were successful
Check with kubeconform / lint (push) Successful in 10s

This commit is contained in:
Ultradesu
2025-07-18 16:03:29 +03:00
parent 24d570e522
commit 288a4685d7
2 changed files with 34 additions and 34 deletions

View File

@@ -41,24 +41,24 @@ spec:
- name: nat
containerPort: 21115
protocol: TCP
# volumeMounts:
# - name: keys
# mountPath: /root
# readOnly: true
volumeMounts:
- name: keys
mountPath: /root
readOnly: true
env:
- name: RUST_LOG
value: "info"
# volumes:
# - name: keys
# secret:
# secretName: rustdesk-keys
# items:
# - key: id_ed25519
# path: id_ed25519
# mode: 0600
# - key: id_ed25519.pub
# path: id_ed25519.pub
# mode: 0644
volumes:
- name: keys
secret:
secretName: rustdesk-keys
items:
- key: id_ed25519
path: id_ed25519
mode: 0600
- key: id_ed25519.pub
path: id_ed25519.pub
mode: 0644
---
apiVersion: apps/v1
@@ -98,21 +98,21 @@ spec:
- name: relay
containerPort: 21117
protocol: TCP
# volumeMounts:
# - name: keys
# mountPath: /root
# readOnly: true
volumeMounts:
- name: keys
mountPath: /root
readOnly: true
env:
- name: RUST_LOG
value: "info"
# volumes:
# - name: keys
# secret:
# secretName: rustdesk-keys
# items:
# - key: id_ed25519
# path: id_ed25519
# mode: 0600
# - key: id_ed25519.pub
# path: id_ed25519.pub
# mode: 0644
volumes:
- name: keys
secret:
secretName: rustdesk-keys
items:
- key: id_ed25519
path: id_ed25519
mode: 0600
- key: id_ed25519.pub
path: id_ed25519.pub
mode: 0644

View File

@@ -21,14 +21,14 @@ spec:
name: vaultwarden-login
kind: ClusterSecretStore
remoteRef:
key: 8a93c064-0e1d-4bd2-87df-3c9bcfd114c1
property: sshKey.privateKey
key: f5591dfd-a0ab-4101-a2d7-e06380d3dcc9
property: fields[0].value
- secretKey: public_key
sourceRef:
storeRef:
name: vaultwarden-login
kind: ClusterSecretStore
remoteRef:
key: 8a93c064-0e1d-4bd2-87df-3c9bcfd114c1
property: sshKey.publicKey
key: f5591dfd-a0ab-4101-a2d7-e06380d3dcc9
property: fields[1].value