Compare commits
3 Commits
auto-updat
...
auto-updat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fdb6db7fcd | ||
| 512e993f7b | |||
| b6b6e23026 |
@@ -56,6 +56,7 @@ ArgoCD homelab project
|
||||
| **tg-bots** | [](https://ag.hexor.cy/applications/argocd/tg-bots) |
|
||||
| **vaultwarden** | [](https://ag.hexor.cy/applications/argocd/vaultwarden) |
|
||||
| **vpn** | [](https://ag.hexor.cy/applications/argocd/vpn) |
|
||||
| **xandikos** | [](https://ag.hexor.cy/applications/argocd/xandikos) |
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -6,7 +6,7 @@ metadata:
|
||||
labels:
|
||||
app: khm-client
|
||||
spec:
|
||||
schedule: "* * * * *"
|
||||
schedule: "15 * * * *"
|
||||
concurrencyPolicy: Forbid
|
||||
successfulJobsHistoryLimit: 3
|
||||
failedJobsHistoryLimit: 3
|
||||
@@ -18,6 +18,7 @@ spec:
|
||||
app: khm-client
|
||||
spec:
|
||||
restartPolicy: OnFailure
|
||||
hostNetwork: true
|
||||
nodeSelector:
|
||||
node-role.kubernetes.io/desktop: ""
|
||||
tolerations:
|
||||
@@ -42,7 +43,6 @@ spec:
|
||||
- /bin/sh
|
||||
- -c
|
||||
- |
|
||||
hostname "$NODE_NAME"
|
||||
/usr/local/bin/khm \
|
||||
--known-hosts /host-ssh/known_hosts \
|
||||
--host https://khm.hexor.cy \
|
||||
@@ -50,10 +50,6 @@ spec:
|
||||
--basic-auth="${USERNAME}:${PASSWORD}" \
|
||||
--in-place
|
||||
env:
|
||||
- name: NODE_NAME
|
||||
valueFrom:
|
||||
fieldRef:
|
||||
fieldPath: spec.nodeName
|
||||
- name: USERNAME
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
||||
Reference in New Issue
Block a user