We're adding a bunch of CLI switches to the operator which would require users to edit the manifest. And then those manifests would need to be reconciled during updates.
Let's support a config dir (e.g. at /etc/bootc-operator/) which supports the same switches as key/vals, and then add to the manifests optional configmap volume mounts for a e.g. bootc-operator-config configmap.
Then, admins can do e.g.
apiVersion: v1
kind: ConfigMap
metadata:
name: bootc-operator-config
data:
allow-insecure-registry: true
...
to configure the operator.
We're adding a bunch of CLI switches to the operator which would require users to edit the manifest. And then those manifests would need to be reconciled during updates.
Let's support a config dir (e.g. at
/etc/bootc-operator/) which supports the same switches as key/vals, and then add to the manifests optional configmap volume mounts for a e.g.bootc-operator-configconfigmap.Then, admins can do e.g.
to configure the operator.