You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we've had this conversation elsewhere, reminds me of a thread in Slack.
I don't think this is an error, the production resources already have the production namespace in them, in this case it's podinfo since the app being deployed to production is podinfo, and production might have many apps in it.
The namespace directive is used in the ../base/podinfo kustomization overlay, and it's overrided in the staging so that staging can live on the same cluster as production. (If there were multiple apps, then staging would need to find a different method.)
There is no
namespace
in theproduction
file, while it exists in thestaging
one?https://github.com/fluxcd/flux2-kustomize-helm-example/blob/main/apps/production/kustomization.yaml#L3
vs.
https://github.com/fluxcd/flux2-kustomize-helm-example/blob/main/apps/staging/kustomization.yaml#L3
The text was updated successfully, but these errors were encountered: