Fixed KHM desktop
This commit is contained in:
@@ -18,6 +18,7 @@ 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:
|
||||||
@@ -42,7 +43,6 @@ 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,10 +50,6 @@ 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