Skip to content

charts/kube-agent: updater extraArgs#35786

Merged
hugoShaka merged 1 commit intomasterfrom
hugo/add-updater-extra-args
Dec 15, 2023
Merged

charts/kube-agent: updater extraArgs#35786
hugoShaka merged 1 commit intomasterfrom
hugo/add-updater-extra-args

Conversation

@hugoShaka
Copy link
Copy Markdown
Contributor

@hugoShaka hugoShaka commented Dec 15, 2023

Adds the ability to pass extra args to the updater. This can be used to disable image validation, but I don't want to use this example in the user docs to reduce the number of users relying on this flag.

changelog: the teleport-kube-agent chart supports passing extra arguments to the updater.

@github-actions
Copy link
Copy Markdown
Contributor

The PR changelog entry failed validation: Changelog entry not found in the PR body. Please add a "no-changelog" label to the PR, or changelog lines starting with changelog: followed by the changelog entries for the PR.

@github-actions
Copy link
Copy Markdown
Contributor

🤖 Vercel preview here: https://docs-8pvllf8o1-goteleport.vercel.app/docs/ver/preview

- "--version-server={{ tpl $updater.versionServer . }}"
- "--version-channel={{ $updater.releaseChannel }}"
{{- if .Values.updater.extraArgs }}
{{- toYaml .Values.updater.extraArgs | nindent 10 }}
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.

can we add a snapshot to ensure the indentation is always ok?
I am now paranoid about that

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

If indentation is not OK the contains test will properly fail as the item won't be in the list. The issue earlier was caused by the fact we did 2 rounds of dumping yaml/parsing yaml because of the config merge hack.

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.

oh you are correct

@hugoShaka hugoShaka added this pull request to the merge queue Dec 15, 2023
Merged via the queue into master with commit c1cb40e Dec 15, 2023
@hugoShaka hugoShaka deleted the hugo/add-updater-extra-args branch December 15, 2023 20:58
@public-teleport-github-review-bot
Copy link
Copy Markdown

@hugoShaka See the table below for backport results.

Branch Result
branch/v13 Create PR
branch/v14 Create PR

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants