Fixed KHM desktop
All checks were successful
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 8s
Check with kubeconform / lint (push) Successful in 11s
Auto-update README / Generate README and Create MR (push) Successful in 7s

This commit is contained in:
2025-12-28 13:06:35 +00:00
parent bd997082e9
commit b6b6e23026

View File

@@ -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: