Compare commits
1 Commits
auto-updat
...
auto-updat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
39ec3cc87c |
@@ -18,7 +18,6 @@ spec:
|
|||||||
app: khm-client
|
app: khm-client
|
||||||
spec:
|
spec:
|
||||||
restartPolicy: OnFailure
|
restartPolicy: OnFailure
|
||||||
hostNetwork: true
|
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
node-role.kubernetes.io/desktop: ""
|
node-role.kubernetes.io/desktop: ""
|
||||||
tolerations:
|
tolerations:
|
||||||
@@ -43,6 +42,7 @@ spec:
|
|||||||
- /bin/sh
|
- /bin/sh
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
|
hostname "$NODE_NAME"
|
||||||
/usr/local/bin/khm \
|
/usr/local/bin/khm \
|
||||||
--known-hosts /host-ssh/known_hosts \
|
--known-hosts /host-ssh/known_hosts \
|
||||||
--host https://khm.hexor.cy \
|
--host https://khm.hexor.cy \
|
||||||
@@ -50,6 +50,10 @@ spec:
|
|||||||
--basic-auth="${USERNAME}:${PASSWORD}" \
|
--basic-auth="${USERNAME}:${PASSWORD}" \
|
||||||
--in-place
|
--in-place
|
||||||
env:
|
env:
|
||||||
|
- name: NODE_NAME
|
||||||
|
valueFrom:
|
||||||
|
fieldRef:
|
||||||
|
fieldPath: spec.nodeName
|
||||||
- name: USERNAME
|
- name: USERNAME
|
||||||
valueFrom:
|
valueFrom:
|
||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
|
|||||||
Reference in New Issue
Block a user