Brian Grant

Results 229 comments of Brian Grant

Logging this here so that I don't lose track of it -- the WIP PR for Composition (not yet merged). https://github.com/kubernetes-sigs/kustomize/pull/4323/files The KEP: https://github.com/kubernetes/enhancements/tree/master/keps/sig-cli/2299-kustomize-plugin-composition

`kubectl edit --output-patch` can be used to generate patches from a wysiwyg yaml editor.

A few brief thoughts on Composition, since I've been looking at it. At first glance it's similar to kpt pipelines, but there are some differences. ``` transformersFrom: - path: base...

Related: When gathering inputs, we may need to allow network access: #2450. And probably a way to provide credentials.

It's also worth mentioning kustomize components: https://github.com/kubernetes-sigs/kustomize/blob/master/examples/components.md https://github.com/kubernetes/enhancements/blob/master/keps/sig-cli/1802-kustomize-components/README.md

@johnbelamaric I don't expect inputs to be generated during the kpt fn render pipeline, in general. It may consume the inputs. Input generation / gathering likely needs to be decoupled....

CMDB is an example use case for [dynamic inventory in ansible](https://docs.ansible.com/ansible/2.8/user_guide/intro_dynamic_inventory.html), such as via [inventory plugins](https://docs.ansible.com/ansible/2.8/plugins/inventory.html#inventory-plugins) and [inventory scripts](https://github.com/ansible/ansible/tree/stable-2.8/contrib/inventory). In addition to querying inputs dynamically, adapting input data locations /...

Example from slack: https://kubernetes.slack.com/archives/C0155NSPJSZ/p1658760504705309 How to provide information to packages automatically.

The idea of "decorations" was discussed in the app config issue: https://github.com/GoogleContainerTools/kpt/issues/3351#issuecomment-1190399974 https://github.com/GoogleContainerTools/kpt/issues/3351#issuecomment-1192052502 kubectl expose and autoscale are examples of this. Resource creation might be imperative, but this does raise...

I think of this as similar to Kubernetes dynamic admission control or github PR required status checks that gate merging. There's some discussion of this in #3121.