The second commit makes all resources optional. If .create is set and is false, then the resource will not be created. This pattern defaults to true rather than requiring e.g. clusterRoleBinding.created: true be set in values.yaml; please let me know if that pattern is preferred.
This change allows us to leverage your chart to install CRDs in a cluster where jspolicy itself will be run outside of the cluster.
The first commit just fixes deployment rendering, which was broken in https://github.com/loft-sh/jspolicy/pull/100
The second commit makes all resources optional. If.create is set and is false, then the resource will not be created. This pattern defaults to true rather than requiring e.g.
clusterRoleBinding.created: true
be set in values.yaml; please let me know if that pattern is preferred.This change allows us to leverage your chart to install CRDs in a cluster where jspolicy itself will be run outside of the cluster.