Skip to content

Custom secret resource name for the admin account. #4051

Open
@aabmets

Description

@aabmets

Problem

I'm installing weave-gitops into my project namespace, because the cluster is shared between many projects and users are not allowed to create cluster-wide resources. I want to use the admin account as a backup, but currently weave-gitops supports only a secret resource named cluster-admin-auth. For my use case, I want the secret to be named <myapp>-gitops-auth, but this cannot be done, because your weave-gitops software that runs in your weave-gitops docker images expects the secret to have the hardcoded name. It won't suffice to just use a different name in the Helm chart, because the Pod that runs your software will start screaming about not being able to find a secret named cluster-admin-auth.

Solution

I want to be able to define a custom name for the admin secret resource in the values.yaml file of the Helm chart.

Additional context

I cannot contribute to this feature, because this requires changes in the server source code, for which I lack the capabilities to modify.

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