Closed gberche-orange closed 6 days ago
$ check-k8s core-connectivity "core-connectivity" suspended/failed resources... STATUS READY POD CrashLoopBackOff 0/1 01-uaa/uaa-6bc5d469c7-4zgtt Init:0/2 0/1 fluxcd/shared-secrets-syncer-67b57769c4-57fsh READY SUSP. KIND NAMESPACE/NAME False False helmchart fluxcd/01-harbor-container-webhook-harbor-container-webhook False False helmrelease 01-harbor-container-webhook/harbor-container-webhook False False helmrelease fluxcd/shared-secrets-seeder-provisioning False False helmrelease 01-haproxy-ingress/haproxy False False kustomization fluxcd/paas-k8s-gitops-kustomization False False kustomization fluxcd/10-traefik-static-routes False False kustomization fluxcd/01-coa-config False False kustomization fluxcd/01-shared-secrets
check-k8s core-connectivity | grep --color=never -e '[[:cntrl:]]' -e fluxcd #> "core-connectivity" suspended/failed resources... #> STATUS READY POD #> READY SUSP. KIND NAMESPACE/NAME #> False False kustomization fluxcd/01-coa-config [...]
See https://stackoverflow.com/a/65485196/1484823 and https://stackoverflow.com/questions/30092885/how-to-grep-ascii-control-character
Updated to add need to specify a single kustomization
Finally don't use check-k8s for goss tests
Expected behavior
Observed behavior
workaround
See https://stackoverflow.com/a/65485196/1484823 and https://stackoverflow.com/questions/30092885/how-to-grep-ascii-control-character