-
Notifications
You must be signed in to change notification settings - Fork 834
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
Validate configuration changes #1734
Comments
cc @spiffxp |
Was literally just about to file this issue, thank you! /remove-priority backlog |
/area prow |
Presubmits we have thus far:
|
Really, really good idea. Way more interested in I am pretty interested in how much this could allow us to share enforcement logic at different phases in our deployment lifecycle, eg: presubmit, admission, etc. |
Also since 0.13, Terraform has embebbed mechanism for variable validation : https://www.hashicorp.com/blog/custom-variable-validation-in-terraform-0-13. |
Add policices written in [rego](https://www.openpolicyagent.org/docs/latest/policy-language/) that validate kubernetes resources configuration of the community infrastructure. Only the ingresses resources are covered. THis is heavily inspired from https://github.com/deliveryhero/helm-charts/tree/master/ci/helm-conftest-policies. [conftest](https://github.com/open-policy-agent/conftest) will be against those policies. Ref: kubernetes#1734 Signed-off-by: Arnaud Meukam <[email protected]>
Add policices written in [rego](https://www.openpolicyagent.org/docs/latest/policy-language/) that validate kubernetes resouces. Only the ingresses are covered. THis is heavily inspired from https://github.com/deliveryhero/helm-charts/tree/master/ci/helm-conftest-policies. [conftest](https://github.com/open-policy-agent/conftest) will be against those policies. Ref: kubernetes#1734 Signed-off-by: Arnaud Meukam <[email protected]>
Add policices written in [rego](https://www.openpolicyagent.org/docs/latest/policy-language/) that validate kubernetes resouces. Only the ingresses are covered. THis is heavily inspired from https://github.com/deliveryhero/helm-charts/tree/master/ci/helm-conftest-policies. [conftest](https://github.com/open-policy-agent/conftest) will be against those policies. Ref: kubernetes#1734 Signed-off-by: Arnaud Meukam <[email protected]>
Add policices written in [rego](https://www.openpolicyagent.org/docs/latest/policy-language/) that validate kubernetes resouces. Only the ingresses are covered. THis is heavily inspired from https://github.com/deliveryhero/helm-charts/tree/master/ci/helm-conftest-policies. [conftest](https://github.com/open-policy-agent/conftest) will be against those policies. Ref: kubernetes#1734 Signed-off-by: Arnaud Meukam <[email protected]>
Ref: kubernetes/k8s.io#1734 /wg k8s-infra Signed-off-by: Arnaud Meukam <[email protected]>
Ref: kubernetes/k8s.io#1734 /wg k8s-infra Signed-off-by: Arnaud Meukam <[email protected]>
Ref: kubernetes/k8s.io#1734 /wg k8s-infra Signed-off-by: Arnaud Meukam <[email protected]>
/milestone v1.22 |
An update on where we're at. We now have a container We use this image to run a few sets of tests:
We've taken tentative steps toward extracting our configuration data into YAML (ref: #2188). We should spend some time deciding what we want this to look like. Some ideas:
|
Also investigate https://cloud.google.com/config-connector/docs/overview |
/milestone v1.23 |
/milestone v1.24 |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
We are currently using ArgoCD for some deployments. We should probably revisit this in a new issue. |
@ameukam: Closing this issue. 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-sigs/prow repository. |
if possible, any configuration change introducted should be validated with presubmits prowjobs.
There are different and tools we can explore :
/priority backlog
The text was updated successfully, but these errors were encountered: