Some Qs on Kpt if I may:
- Kustomize: Is there any intent to merge in Kustomize functionality into Kpt? I have a hard time selling yet antother tool to my users, but if it replaced kustomize (the standalone kustomize, not the kubectl integrated one) it would be easier.
- I tried to fiddle with kpt to see if it could perform editiing on a skaffold.yaml to replace buildArgs. I didn't have much luck. Is general editing of arbitrary yaml in scope (say a Skaffold file), or is Kpt squarely aimed at Kube yaml?
- What is the scope of resources included in a Kptfile? Does it traverse down the tree to any level, or is there some resource spec in Kptfile that controls this?
--Thanks
You received this message because you are subscribed to the Google Groups "kpt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kpt-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kpt-users/e26c69ff-3cf7-4e91-b913-ab3ef632b92c%40googlegroups.com.
- Kustomize: Is there any intent to merge in Kustomize functionality into Kpt? I have a hard time selling yet antother tool to my users, but if it replaced kustomize (the standalone kustomize, not the kubectl integrated one) it would be easier.
- I tried to fiddle with kpt to see if it could perform editiing on a skaffold.yaml to replace buildArgs. I didn't have much luck. Is general editing of arbitrary yaml in scope (say a Skaffold file), or is Kpt squarely aimed at Kube yaml?
- What is the scope of resources included in a Kptfile? Does it traverse down the tree to any level, or is there some resource spec in Kptfile that controls this?
$ kpt pkg get https://github.com/GoogleContainerTools/skaffold/examples/hot-reload/ hot-reload # get a skaffold package$ kpt cfg create-setter hot-reload/ debug 1 --field DEBUG # create a setter in the package$ kpt cfg set hot-reload/ debug 0 # change the skaffold package using the setterOr$ kpt pkg get https://github.com/GoogleContainerTools/skaffold/examples/hot-reload/ hot-reload$ kpt cfg create-setter hot-reload/ debug 1 --field buildArgs.DEBUG$ kpt cfg set hot-reload/ debug 0
- What is the scope of resources included in a Kptfile? Does it traverse down the tree to any level, or is there some resource spec in Kptfile that controls this?
As Chris said the Kptfile is scoped to the directory that it resides in + subdirectories. Scoping for nested kpt packages has limited support.
--Thanks
You received this message because you are subscribed to the Google Groups "kpt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kpt-...@googlegroups.com.