-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeployment.yaml
37 lines (37 loc) · 986 Bytes
/
deployment.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
kind: Deployment
metadata:
name: middleware-sshd
labels:
app: middleware-sshd
spec:
selector:
matchLabels:
app: middleware-sshd
template:
metadata:
labels:
app: middleware-sshd
spec:
containers:
- name: middleware-sshd
image: middleware-sshd:latest
imagePullPolicy: Always
env:
- name: SSH_X11_FORWARDING
value: "yes"
- name: SSH_GATEWAY_PORTS
value: "yes"
- name: SSH_PUBKEY_AUTHENTICATION
value: "yes"
- name: SSH_PASSWORD_AUTHENTICATION
value: "no"
- name: SSH_PERMIT_EMPTY_PASSWORDS
value: "no"
- name: SSH_PERMIT_ROOT_LOGIN
value: "no"
- name: SSH_PERMIT_OPEN
value: "mariadb:3306"
- name: SSH_ALLOW_FROM_IP
value: "127.0.0.1"
imagePullSecrets:
- name: gitlab-creditails