Skip to content

integrations/updater: add nop validator#35896

Merged
hugoShaka merged 3 commits intomasterfrom
hugo/updater-add-nop-validation
Dec 28, 2023
Merged

integrations/updater: add nop validator#35896
hugoShaka merged 3 commits intomasterfrom
hugo/updater-add-nop-validation

Conversation

@hugoShaka
Copy link
Copy Markdown
Contributor

@hugoShaka hugoShaka commented Dec 19, 2023

changelog: add the --insecure-no-resolve-image flag to the teleport-kube-agent-udpater to disable image tag resolution if it cannot pull the image.

I added a new validator instead of modifying the existing insecure one because not resolving images provides worse availability guarantees than resolving but not validating: when resolving, the updater checks if the image exists. Disabling resolution can lead the updater to create pods with non-existing images as it has no visibility in the registry.

This PR unblocks this customer Slack thread (internal link): https://goteleport.slack.com/archives/C0582MBSMHN/p1702904519028439?thread_ts=1702663524.742029&cid=C0582MBSMHN

Comment thread integrations/kube-agent-updater/pkg/img/nop.go Outdated
@public-teleport-github-review-bot public-teleport-github-review-bot Bot removed the request for review from r0mant December 20, 2023 09:31
@hugoShaka hugoShaka added this pull request to the merge queue Dec 28, 2023
Merged via the queue into master with commit 6ebfba4 Dec 28, 2023
@hugoShaka hugoShaka deleted the hugo/updater-add-nop-validation branch December 28, 2023 16:53
@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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants