Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid kapp phantom diff on AKS #28

Merged
merged 1 commit into from
Mar 8, 2022
Merged

Conversation

scothis
Copy link
Contributor

@scothis scothis commented Mar 8, 2022

AKS injects an additional facet into the namespaceSelector for mutating
and validating webhook configurations. The next time kapp deploys the
dist, it removes the injected values as drift, and so on in a loop.

We can disable the AKS behavior by specifying an annotation
admissions.enforcer/disabled: "true". This makes the webhooks behave
like on other k8s distributions.

Signed-off-by: Scott Andrews andrewssc@vmware.com

AKS injects an additional facet into the namespaceSelector for mutating
and validating webhook configurations. The next time kapp deploys the
dist, it removes the injected values as drift, and so on in a loop.

We can disable the AKS behavior by specifying an annotation
`admissions.enforcer/disabled: "true"`. This makes the webhooks behave
like on other k8s distributions.

Signed-off-by: Scott Andrews <andrewssc@vmware.com>
@scothis scothis merged commit e43f282 into vmware-tanzu:main Mar 8, 2022
@scothis scothis deleted the aks-webhooks branch March 8, 2022 16:01
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.

2 participants