-
Notifications
You must be signed in to change notification settings - Fork 2.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
More extensible kustomize merging support #2339
Comments
cc @lukadante |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale |
Any idea of when this will be fixed? This is currently blocking us for using Argo Rollout with Kustomize. |
The merge function in kyaml is being improved at the same time as the migration openapi work is not blocked by this issue. |
Still no news on that one? very interested on that one, as business starts to evaluate migrating to helm instead. |
This is being worked on. |
Still does not work for Argo Rollouts, can anyone give an ETA? |
You can now specify your own OpenAPI schema files with all your custom resource definitions to use with kustomize, see example: https://github.com/kubernetes-sigs/kustomize/blob/master/examples/customOpenAPIschema.md |
The example provided in https://github.com/kubernetes-sigs/kustomize/blob/master/examples/customOpenAPIschema.md works but when I tried to implement on a CR, it didn't work. Generated the schema as described, i.e., Similar issue was reported in #3852. |
@sshiba you have to edit the document provided by |
@natasha41575 I update the schema as recommended (by adding Btw, let me know what I am missing to get this working? kustomization.yaml
The manifest that I am trying to kustomize is kubeadm-controlplane.yaml
And the patch used for the kustomization is kubeadm-patch-strategic.yaml
And below you will find the openapi schema for the CR (kubeadm-apischema.json).
When executing
Another strange behavior is when removing the Updated patch kubeadm-patch-strategic.yaml
The rendered manifest is missing some elements in
Instead, the correct rendering should be as shown below.
|
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 |
The Kubernetes project currently lacks enough active 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 rotten |
The Kubernetes project currently lacks enough active 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. /close |
@k8s-triage-robot: 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/test-infra repository. |
Support merging kustomize patches / resources for extension types by 1) merging off OpenAPI definitions, and 2) enabling OpenAPI definitions to be defined for extension types.
Support both of the following techniques:
Note: This requires migrating to the kyaml libraries for processing resources (from apimachinery)
Depends on #2340
The text was updated successfully, but these errors were encountered: