Skip to content

Installer does not create argo-rollouts namespace as documentation suggests #4485

@mlkstack

Description

@mlkstack

Summary

The official installation method documented on the Argo Rollouts installation page states that applying the install manifest will create a new argo-rollouts namespace. However, in practice, running:

kubectl apply -n argo-rollouts -f https://github.com/argoproj/argorollouts/releases/latest/download/install.yaml

results in an error because the argo-rollouts namespace does not exist, and it is not created automatically by the manifest. Although, it only created the CRDs.

customresourcedefinition.apiextensions.k8s.io/analysisruns.argoproj.io created
customresourcedefinition.apiextensions.k8s.io/analysistemplates.argoproj.io created
customresourcedefinition.apiextensions.k8s.io/clusteranalysistemplates.argoproj.io created
customresourcedefinition.apiextensions.k8s.io/experiments.argoproj.io created
customresourcedefinition.apiextensions.k8s.io/rollouts.argoproj.io created
clusterrole.rbac.authorization.k8s.io/argo-rollouts created
clusterrole.rbac.authorization.k8s.io/argo-rollouts-aggregate-to-admin created
clusterrole.rbac.authorization.k8s.io/argo-rollouts-aggregate-to-edit created
clusterrole.rbac.authorization.k8s.io/argo-rollouts-aggregate-to-view created
clusterrolebinding.rbac.authorization.k8s.io/argo-rollouts created
Error from server (NotFound): error when creating "https://github.com/argoproj/argo-rollouts/releases/latest/download/install.yaml": namespaces "argo-rollouts" not found
Error from server (NotFound): error when creating "https://github.com/argoproj/argo-rollouts/releases/latest/download/install.yaml": namespaces "argo-rollouts" not found
Error from server (NotFound): error when creating "https://github.com/argoproj/argo-rollouts/releases/latest/download/install.yaml": namespaces "argo-rollouts" not found
Error from server (NotFound): error when creating "https://github.com/argoproj/argo-rollouts/releases/latest/download/install.yaml": namespaces "argo-rollouts" not found
Error from server (NotFound): error when creating "https://github.com/argoproj/argo-rollouts/releases/latest/download/install.yaml": namespaces "argo-rollouts" not found

What change needs making?

Edit the first type of installation section and:

Use Cases

  • New users following the installation instructions as-is will encounter an error and may be confused or blocked during installation.
  • Improve consistency between documentation and actual behaviour

When would you use this?


Message from the maintainers:

Need this enhancement? Give it a 👍. We prioritize the issues with the most 👍.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions