Skip to content

Getting started manifest doesn't work if namespace is different than litmus #5216

@Gmerold

Description

@Gmerold

Hello Team,

Problem found when following the Getting started tutorial.
Since the Helm-based installation fails to download MongoDB images, I wanted to deploy Litmus using K8s manifest. It fails with

the namespace from the provided object "litmus" does not match the namespace "litmus-upstream". You must pass '--namespace=litmus' to perform this operation.
the namespace from the provided object "litmus" does not match the namespace "litmus-upstream". You must pass '--namespace=litmus' to perform this operation.

The reason is that NetworkPolicies have hardcoded namespace. If it doesn't match namespace specified in kubectl apply command, deployment will fail.
Hardcodes should be removed from the manifest.

BR,
Bart

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions