fluxctl default namespace

Created on 20 Jan 2020  路  6Comments  路  Source: fluxcd/flux

Describe the bug

It looks like the new default namespace is fluxcd unfortunately fluxctl still looks for flux

To Reproduce

Steps to reproduce the behaviour:

$ fluxctl sync
Error: No pod found in namespace "flux" using the following selectors:
  app=flux
  name in (flux,fluxd,weave-flux-agent)

Make sure Flux is running in namespace "flux".
If Flux is running in another different namespace, please supply it to --k8s-fwd-ns.
Run 'fluxctl sync --help' for usage.
$ fluxctl version                 
1.17.1

Expected behavior

fluxctl should assume ns fluxcd

Additional context

  • Flux version: 1.17.1
  • Kubernetes version: 1.14
  • Git provider: github
  • Container registry provider: docker hub
blocked-needs-validation bug

Most helpful comment

I filed https://github.com/fluxcd/flux/issues/2769 recently where namespaces "flux" not found.

It would be great if there was consistency in the docs between using fluxcd and flux as a namespace. I'm switching between the different repositories trying to learn everything I can and the inconsistent namespace makes it difficult to copy/paste commands.

All 6 comments

How did you install Flux? AFAICT we don't use fluxcdas the namespace.

I think I have mistaken the new helm org with the namespace.

@runningman84 the civo repo uses fluxctl sync --k8s-fwd-ns fluxcd and that works just fine.

@2opremio we use fluxcd in many places, all workshops that I made use it, same with Helm Operator chart docs and eksctl profiles. When deploying both Flux and Helm operator I think fluxcd as a namespace is more suitable as it reflects the org where both projects are.

I filed https://github.com/fluxcd/flux/issues/2769 recently where namespaces "flux" not found.

It would be great if there was consistency in the docs between using fluxcd and flux as a namespace. I'm switching between the different repositories trying to learn everything I can and the inconsistent namespace makes it difficult to copy/paste commands.

Was this page helpful?
0 / 5 - 0 ratings