-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: reconciliation failed kustomization health check
- Loading branch information
1 parent
155055b
commit 3be957a
Showing
3 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
pkg/health/testdata/kustomization-reconciliation-failed.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
apiVersion: kustomize.toolkit.fluxcd.io/v1 | ||
kind: Kustomization | ||
metadata: | ||
uid: 73ffa0f4-2eb1-4d1b-8367-1c47128e3339 | ||
name: cronjobs | ||
labels: | ||
kustomize.toolkit.fluxcd.io/name: flux-objects | ||
kustomize.toolkit.fluxcd.io/namespace: flux-system | ||
namespace: flux-system | ||
finalizers: | ||
- finalizers.fluxcd.io | ||
creationTimestamp: 2024-08-01T06:52:47Z | ||
spec: | ||
path: ./production/ifs-mgmt-mon-eks/cronjobs | ||
force: false | ||
prune: false | ||
interval: 10m0s | ||
sourceRef: | ||
kind: GitRepository | ||
name: infrastructure | ||
decryption: | ||
provider: sops | ||
status: | ||
conditions: | ||
- type: Reconciling | ||
reason: ProgressingWithRetry | ||
status: 'True' | ||
message: Detecting drift for revision | ||
v1.34.0@sha1:bdbb399739638a189b76197d5112968827b6ecd7 with a timeout of | ||
9m30s | ||
- type: Ready | ||
reason: ReconciliationFailed | ||
status: 'False' | ||
message: > | ||
CronJob/scale-dev-up namespace not specified: the server could not find | ||
the requested resource | ||
lastAttemptedRevision: v1.34.0@sha1:bdbb399739638a189b76197d5112968827b6ecd7 |