Skip to content

[Bug]: example/custom-resources/cross-namespace-configuration missing secret namespace #7960

Open
@javorszky

Description

@javorszky

Version

edge

What Kubernetes platforms are you running on?

GKE Google Cloud

Steps to reproduce

While going through the example the VirtualServer kept coming up with error. Turns out that the VS is deployed in the cafe namespace, but the secret's definition does not contain the namespace, so that gets deployed to default.

This causes an issue where the VS can't make use of the secret, because it's in a different namespace.

Recommended fix

Change the command in the example to include the namespace:

- kubectl create -f cafe-secret.yaml
+ kubectl create -f cafe-secret.yaml -n cafe

The cafe-secret.yaml is a symlink, so we can't change the file contents without breaking other examples.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue reporting a potential buggood first issueIssues identified as good for first-time contributorsneeds triageAn issue that needs to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions