k8gb-io/k8gb

CRD + helm

Closed this issue · 0 comments

We have that k8gb.deployCrds flag that controls whether crds are deployed or not, but it comes with a cost. Currently, one can't do something like

k apply -f https://raw.githubusercontent.com/k8gb-io/k8gb/master/chart/k8gb/templates/crds/k8gb.absa.oss_gslbs.yaml

.. and see how it looks like

It would be nice to have the CRDs in their pure form w/o the helm curly brackets and then have another helm file that will conditionally include them. This will also simplify the makefile where we add those {{ if foobar }} stuff {{end}}