-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Chart: Add values.schema.json
.
#11295
base: main
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for kubernetes-ingress-nginx canceled.
|
/triage accepted |
/retitle Chart: Add |
values.schema.json
.
/cherry-pick release-1.10 |
@Gacko: once the present PR merges, I will cherry-pick it on top of release-1.10 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
.github/workflows/ci.yaml
Outdated
echo "Please use dadav/helm-schema in your clone, of your fork, of the project, and commit a updated values.schema.json for the chart. https://github.com/kubernetes/ingress-nginx/blob/main/MANUAL_RELEASE.md#d-edit-the-valuesyaml-and-run-helm-schema-and-helm-docs" | ||
fi | ||
git diff --exit-code | ||
rm -f ./helm-docs |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
helm-schema
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ubergesundheit The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
21005bc
to
e0af377
Compare
@ubergesundheit: The following tests failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Signed-off-by: Gerald Pape <gerald@giantswarm.io>
e0af377
to
c61ebc7
Compare
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What this PR does / why we need it:
This PR adds a schema file for the helm chart values and means to generate and validate the schema and the default values file in CI.
User supplied values will be validated using the schema on helm install and helm upgrade. This can prevent misconfiguations.
Fixes #10838
Types of changes
Which issue/s this PR fixes
fixes #10838
How Has This Been Tested?
This has been tested by running the GitHub actions workflow in my fork. See https://github.com/ubergesundheit/ingress-nginx/actions/runs/8784477153
Checklist: