Compare commits
1 Commits
auto-updat
...
auto-updat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8cdd463bfd |
@@ -6,7 +6,7 @@ metadata:
|
|||||||
spec:
|
spec:
|
||||||
project: desktop
|
project: desktop
|
||||||
destination:
|
destination:
|
||||||
namespace: khm
|
namespace: default
|
||||||
server: https://kubernetes.default.svc
|
server: https://kubernetes.default.svc
|
||||||
source:
|
source:
|
||||||
repoURL: ssh://git@gt.hexor.cy:30022/ab/homelab.git
|
repoURL: ssh://git@gt.hexor.cy:30022/ab/homelab.git
|
||||||
|
|||||||
@@ -25,6 +25,7 @@ spec:
|
|||||||
operator: Equal
|
operator: Equal
|
||||||
value: desktop
|
value: desktop
|
||||||
effect: NoSchedule
|
effect: NoSchedule
|
||||||
|
hostNetwork: false
|
||||||
containers:
|
containers:
|
||||||
- name: khm-client
|
- name: khm-client
|
||||||
image: 'ultradesu/khm:latest'
|
image: 'ultradesu/khm:latest'
|
||||||
@@ -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