juju-solutions / layer-caas-base

Base layer for CaaS charms
Apache License 2.0
2 stars 7 forks source link

Allow arbitrary K8s YAML in pod_spec_set #21

Open knkski opened 5 years ago

knkski commented 5 years ago

Related to #17, and a feature request that may involve changes on Juju's side. It would be nice if we could allow passing in of arbitrary K8s YAML that is blindly passed to kubectl apply -f. This would be an alternative to manually adding in support for various bits of infrastructure in pod_spec_set, which may lag behind upstream. See here for an example use case:

https://github.com/juju-solutions/bundle-kubeflow/blob/master/scripts/deploy-microk8s#L98