Compare commits
2 Commits
auto-updat
...
auto-updat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
39ec3cc87c | ||
| bd997082e9 |
@@ -56,6 +56,7 @@ ArgoCD homelab project
|
|||||||
| **tg-bots** | [](https://ag.hexor.cy/applications/argocd/tg-bots) |
|
| **tg-bots** | [](https://ag.hexor.cy/applications/argocd/tg-bots) |
|
||||||
| **vaultwarden** | [](https://ag.hexor.cy/applications/argocd/vaultwarden) |
|
| **vaultwarden** | [](https://ag.hexor.cy/applications/argocd/vaultwarden) |
|
||||||
| **vpn** | [](https://ag.hexor.cy/applications/argocd/vpn) |
|
| **vpn** | [](https://ag.hexor.cy/applications/argocd/vpn) |
|
||||||
|
| **xandikos** | [](https://ag.hexor.cy/applications/argocd/xandikos) |
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app: khm-client
|
app: khm-client
|
||||||
spec:
|
spec:
|
||||||
schedule: "15 * * * *"
|
schedule: "* * * * *"
|
||||||
concurrencyPolicy: Forbid
|
concurrencyPolicy: Forbid
|
||||||
successfulJobsHistoryLimit: 3
|
successfulJobsHistoryLimit: 3
|
||||||
failedJobsHistoryLimit: 3
|
failedJobsHistoryLimit: 3
|
||||||
@@ -25,7 +25,6 @@ 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'
|
||||||
@@ -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