Closed johngmyers closed 3 years ago
infrastructure/sources/podinfo.yaml does not specify a namespace, so the HelmRepository is placed in the default namespace.
The namespace is set here https://github.com/fluxcd/flux2-kustomize-helm-example/blob/main/infrastructure/sources/kustomization.yaml#L3
Thanks. I missed that subtlety when simplifying.
There is a discrepancy in the example that confuses me:
infrastructure/sources/podinfo.yaml
does not specify a namespace, so theHelmRepository
is placed in thedefault
namespace.apps/base/podinfo/release.yaml
specifies as itssourceRef
aHelmRepository
namedpodinfo
but in theflux-system
namespace.Should these two not refer to the same namespace?