mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 01:49:44 +00:00
sshct.yaml: mount /data/gorilych.ru/me to /home/www/me
This commit is contained in:
parent
937f057686
commit
4afd904853
1 changed files with 7 additions and 1 deletions
|
|
@ -60,9 +60,13 @@ spec:
|
|||
- name: sshcthome
|
||||
persistentVolumeClaim:
|
||||
claimName: sshcthome
|
||||
- name: gorilychrume
|
||||
hostPath:
|
||||
path: /data/gorilych.ru/me
|
||||
type:
|
||||
containers:
|
||||
- name: sshct
|
||||
image: sshct
|
||||
image: gorilych/sshct
|
||||
imagePullPolicy: IfNotPresent
|
||||
env:
|
||||
- name: CTUSERPWD
|
||||
|
|
@ -76,6 +80,8 @@ spec:
|
|||
volumeMounts:
|
||||
- mountPath: /home
|
||||
name: sshcthome
|
||||
- mountPath: /home/www/me
|
||||
name: gorilychrume
|
||||
---
|
||||
kind: Service
|
||||
apiVersion: v1
|
||||
|
|
|
|||
Loading…
Reference in a new issue