Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Add flag for disabling OpenAPI Validation for Helm 3 #480

Merged
merged 3 commits into from
Jul 29, 2020

Conversation

waseem-h
Copy link

@waseem-h waseem-h commented Jul 6, 2020

Requirement

Helm 3 allows us to disable OpenAPI Validation when building resources via kubernetes client and we've been using that so that we can have a helm chart that works for all kubernetes versions. An example is https://github.com/curityio/idsvr-helm/blob/master/idsvr/templates/cluster-conf.yaml#L46
It works fine with helm 2 HelmRelease but not with helm 3 without specifying the --disable-openapi-validation flag on the helm command. Adding it to the HelmRelease allows us to pass it to the helm 3 API so that it doesn't validate our templates

@waseem-h waseem-h changed the title Add oapi disable flag Add flag for disabling OpenAPI Validation for Helm 3 Jul 6, 2020
@waseem-h
Copy link
Author

waseem-h commented Jul 6, 2020

CC @hiddeco @stefanprodan can any of you guys review this please?

Copy link
Member

@hiddeco hiddeco left a comment

Choose a reason for hiding this comment

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

Thank you @waseem-h 🌷

@hiddeco hiddeco merged commit 410693a into fluxcd:master Jul 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants