Skip to content

Creating an ExternalSecret via the UI creates a PR with incorrect path #3282

Open
@madAndroid

Description

@madAndroid

Kubernetes release: v1.24.9-eks-4f83af2

Priority

  • low

Severity

  • low

Describe the bug

When I create an ExternalSecret via the UI, the resulting manifest is created under clusters/$cluster_name, and not clusters/$cluster_namespace/$cluster_name, and therefore never picked up by the kustomization I have in place for the leaf cluster.

To Reproduce

  1. Go to Secrets
  2. Click on Create External Secret
  3. Fill out all values, and generate PR
  4. PR is created properly, but in the wrong path

Expected behavior

Pull request is created with the correct path for the manifest, which should be at clusters/$cluster_namespace/$cluster_name

Actual Behavior

Pull request is created at clusters/$cluster_name

Cloud provider:

  • AWS

Additional context

In the HelmRelease, I have the value for values.config.capi.repositoryClustersPath set to clusters, not sure if this makes a difference, and whether the value for secrets is set from this same config path

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions