Skip to content

feat(operator/chart): expose operator tag env var, allow arbitrary env var - #10874

Merged
irbekrm merged 1 commit into
tailscale:mainfrom
ChandonPierre:cpierre/operator
Jan 19, 2024
Merged

irbekrm merged 1 commit into
tailscale:mainfrom
ChandonPierre:cpierre/operator

Conversation

@ChandonPierre

Copy link
Copy Markdown
Contributor

Adds missing env var option; also allow arbitrary env var for greater flexibility

@irbekrm
irbekrm self-requested a review January 17, 2024 09:42

@irbekrm irbekrm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @ChandonPierre,

Thank you very much for the PR.
I've left a couple requests, but generally would be happy for the INITIAL_TAGS part to go in, I think this will be very useful.

You will also need to run make kube-generate-all to refresh the static manifest in the codebase that is generated from the chart templates.

Additionally could you please sign the commit? https://github.com/tailscale/tailscale?tab=readme-ov-file#contributing

@irbekrm irbekrm left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ChandonPierre this looks good. Just two minor nits:

  • could you please run make kube-generate-all and add the generated diff in static manifest
  • could you please squash the commits into one with a commit message like cmd/k8s-operator/deploy: allow modifying operator tags via Helm values or similar (for our internal standards)?
    After that, this should be good to go in

@ChandonPierre

Copy link
Copy Markdown
Contributor Author

Thanks @ChandonPierre this looks good. Just two minor nits:

  • could you please run make kube-generate-all and add the generated diff in static manifest
  • could you please squash the commits into one with a commit message like cmd/k8s-operator/deploy: allow modifying operator tags via Helm values or similar (for our internal standards)?
    After that, this should be good to go in

updated

@irbekrm

irbekrm commented Jan 19, 2024

Copy link
Copy Markdown
Contributor

updated

Thank you! You'll just need to sign that commit please, then should be good to go in

@ChandonPierre

Copy link
Copy Markdown
Contributor Author

updated

Thank you! You'll just need to sign that commit please, then should be good to go in

ah; missed that - updated

@irbekrm
irbekrm merged commit 2ce596e into tailscale:main Jan 19, 2024
@irbekrm

irbekrm commented Jan 19, 2024

Copy link
Copy Markdown
Contributor

Thanks again for picking this up @ChandonPierre ! Glad we got it in.

I just pushed a 1.57.103 tag to tailscale-dev Helm chart repo that should include this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants