use nfs pv and pvc
This commit is contained in:
@@ -35,6 +35,7 @@ spec:
|
||||
volumeMounts:
|
||||
- name: db
|
||||
mountPath: /var/lib/mysql
|
||||
subPath: db
|
||||
containers:
|
||||
- name: semaphore
|
||||
image: public.ecr.aws/semaphore/pro/server:v2.15.2
|
||||
@@ -60,12 +61,10 @@ spec:
|
||||
name: semaphore-secrets
|
||||
key: key
|
||||
volumeMounts:
|
||||
- name: ssh
|
||||
- name: db
|
||||
mountPath: /home/semaphore/.ssh/
|
||||
subPath: ssh
|
||||
volumes:
|
||||
- name: db
|
||||
persistentVolumeClaim:
|
||||
claimName: longhorn-semaphore
|
||||
- name: ssh
|
||||
persistentVolumeClaim:
|
||||
claimName: longhorn-semaphore-ssh
|
||||
claimName: semaphore-pvc
|
||||
|
||||
Reference in New Issue
Block a user