Don't push unvalidated yamls to your cluster state repository (Post-mortem story) #1731
Unanswered
or-shachar
asked this question in
General
Replies: 1 comment 3 replies
-
You can validate locally and in CI all Flux custom resources using kubeval and our OpenAPI schemas. Example script here: https://github.com/fluxcd/flux2-kustomize-helm-example/blob/main/scripts/validate.sh |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sharing with you a story:
How it went down
HelmRelease
yaml.source-controller
and killed the pod."Failed to get API Group-Resources"
- it seemed like the components couldn't talk with the kubernetes service.How it was fixed eventually
infra
charts manuallyWhy did it solve it?
kubernetes
service.Action items
Beta Was this translation helpful? Give feedback.
All reactions