This commit is contained in:
2026-11-11 13:45:05 +01:00
parent ca63dd6069
commit 7789e95247
4 changed files with 1 additions and 31 deletions
+1 -2
View File
@@ -72,8 +72,7 @@ kubectl get pods -A -o wide
kubectl get events -A --sort-by=.lastTimestamp | tail -n 50
# Request a fresh Git fetch. The source update triggers its dependent Kustomization.
kubectl annotate -n flux-system --overwrite gitrepository/k3s \
reconcile.fluxcd.io/requestedAt="$(date +%s)"
kubectl annotate -n flux-system --overwrite gitrepository/k3s reconcile.fluxcd.io/requestedAt="$(date +%s)"
# Compare the latest fetched commit with the last successful application.
kubectl get kustomization k3s -n flux-system -o jsonpath='applied: {.status.lastAppliedRevision}{"\nattempted: "}{.status.lastAttemptedRevision}{"\n"}'
@@ -5,5 +5,3 @@ resources:
- connectivity-tester-gitrepository.yaml
- sync.yaml
- connectivity-tester-sync.yaml
- legacy-ansible-gitrepository.yaml
- legacy-ansible-sync.yaml
@@ -1,12 +0,0 @@
apiVersion: source.toolkit.fluxcd.io/v1
kind: GitRepository
metadata:
name: ansible
namespace: flux-system
spec:
interval: 1m
ref:
branch: master
suspend: true
timeout: 60s
url: https://gitea.rudolf.keenetic.link/admin/ansible.git
@@ -1,15 +0,0 @@
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: ansible
namespace: flux-system
spec:
force: false
interval: 10m
path: ./k3s_rencher
prune: false
sourceRef:
kind: GitRepository
name: ansible
suspend: true
wait: true