SSHct: use image v3.0.0, remove containerd socket

This commit is contained in:
Andrey Kartashov 2020-11-24 13:32:33 +07:00
parent 55e0c3eb9b
commit 723dea9b1d

View file

@ -25,17 +25,13 @@ spec:
hostPath: hostPath:
path: /var/run/docker.sock path: /var/run/docker.sock
type: Socket type: Socket
- name: containerdsock
hostPath:
path: /run/containerd/containerd.sock
type: Socket
#- name: gorilychrume #- name: gorilychrume
# hostPath: # hostPath:
# path: /data/gorilych.ru/me # path: /data/gorilych.ru/me
# type: # type:
containers: containers:
- name: sshct - name: sshct
image: gorilych/sshct:v2.4.0 image: gorilych/sshct:v3.0.0
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
env: env:
- name: CTUSERPWD - name: CTUSERPWD
@ -51,8 +47,6 @@ spec:
name: home name: home
- mountPath: /var/run/docker.sock - mountPath: /var/run/docker.sock
name: dockersock name: dockersock
- mountPath: /run/containerd/containerd.sock
name: containerdsock
#- mountPath: /home/www/me #- mountPath: /home/www/me
# name: gorilychrume # name: gorilychrume
--- ---