add ssh persistence
This commit is contained in:
@@ -15,3 +15,4 @@ data:
|
||||
SEMAPHORE_ADMIN_EMAIL: "aggarwalakshun@gmail.com"
|
||||
SEMAPHORE_ADMIN: "admin"
|
||||
SEMAPHORE_LDAP_ACTIVATED: "'no'"
|
||||
SEMAPHORE_SSH_PATH: /root/.ssh/
|
||||
|
||||
@@ -11,3 +11,17 @@ spec:
|
||||
resources:
|
||||
requests:
|
||||
storage: 1Gi
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: longhorn-semaphore-ssh
|
||||
namespace: default
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
storageClassName: longhorn
|
||||
resources:
|
||||
requests:
|
||||
storage: 50Mi
|
||||
|
||||
@@ -59,7 +59,13 @@ spec:
|
||||
secretKeyRef:
|
||||
name: semaphore-secrets
|
||||
key: key
|
||||
volumeMounts:
|
||||
- name: ssh
|
||||
mountPath: /root/.ssh/
|
||||
volumes:
|
||||
- name: db
|
||||
persistentVolumeClaim:
|
||||
claimName: longhorn-semaphore
|
||||
- name: ssh
|
||||
persistentVolumeClaim:
|
||||
claimName: longhorn-semaphore-ssh
|
||||
|
||||
Reference in New Issue
Block a user