Skip to content

FR: Expose OPERATOR_INITIAL_TAGS in Helm chart values #10659

Closed

Description

@netthier

What are you trying to do?

I'm attempting to set up the Tailscale Kubernetes operator in multiple clusters. I don't want one cluster to be able to access the same resources as other clusters, so the operator tags must differ. However, I was not able to modify them.

How should we solve this?

I found the OPERATOR_INITIAL_TAGS environment variable in the code, but no way to set it when using the Helm chart.
I believe the easiest solution here would be to simply make it configurable through the values.yaml, similar to how proxy tags can be set already.

What is the impact of not solving this?

As I'm deploying the chart with kluctl, I can simply patch the environment variable in.
I don't believe this is possible with vanilla Helm installations though (unless one generates the manifests and directly modifies them)

Anything else?

No response

Activity

  1. added
    L1 Very few
    P2 Aggravating
    T0 New feature
    and removed on Dec 20, 2023
  2. netthier commented on Dec 20, 2023

    @netthier
    Author

    @knyar If this is something desirable for the Tailscale project I could open a PR for it

  3. irbekrm commented on Dec 21, 2023

    @irbekrm
    Contributor

    @netthier you are welcome to open a PR if you have time.

    I believe the easiest solution here would be to simply make it configurable through the values.yaml

    This makes sense, it would also be good to add some comments there with links to our docs explaining how the tag needs to be set up.

  4. irbekrm commented on Feb 9, 2024

    @irbekrm
    Contributor

    Fixed in #10874

  5. added a commit that references this issue on Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    L1 Very fewP2 AggravatingT0 New featurefrkubernetes

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions