-
Notifications
You must be signed in to change notification settings - Fork 0
/
fix_ssh.yaml
38 lines (38 loc) · 899 Bytes
/
fix_ssh.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
38
apiVersion: "extensions/v1beta1"
kind: DaemonSet
metadata:
name: fix-ssh
namespace: default
labels:
app: fix-ssh
spec:
updateStrategy:
rollingUpdate:
maxUnavailable: 1
type: RollingUpdate
template:
metadata:
labels:
app: fix-ssh
spec:
containers:
- name: fix-ssh
image: quay.io/dcooley/ssh-config:master
imagePullPolicy: Always
command: ["/bin/sh", "/populate_keys.sh"]
volumeMounts:
- mountPath: /ssh/
name: home-core-ssh
readOnly: false
tolerations:
- key: "CriticalAddonsOnly"
operator: "Exists"
- key: "node-role.kubernetes.io/master"
operator: "Exists"
effect: "NoSchedule"
nodeSelector:
node-role.kubernetes.io/master: ""
volumes:
- name: home-core-ssh
hostPath:
path: /home/core/.ssh