mirror of
https://github.com/amkartashov/gf-k8s.git
synced 2026-01-11 18:09: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
|
- name: sshcthome
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: sshcthome
|
claimName: sshcthome
|
||||||
|
- name: gorilychrume
|
||||||
|
hostPath:
|
||||||
|
path: /data/gorilych.ru/me
|
||||||
|
type:
|
||||||
containers:
|
containers:
|
||||||
- name: sshct
|
- name: sshct
|
||||||
image: sshct
|
image: gorilych/sshct
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
- name: CTUSERPWD
|
- name: CTUSERPWD
|
||||||
|
|
@ -76,6 +80,8 @@ spec:
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /home
|
- mountPath: /home
|
||||||
name: sshcthome
|
name: sshcthome
|
||||||
|
- mountPath: /home/www/me
|
||||||
|
name: gorilychrume
|
||||||
---
|
---
|
||||||
kind: Service
|
kind: Service
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue