This message was deleted.
# rke2
a
This message was deleted.
c
How exactly are you injecting the servicemonitor definitions into the Cilium helm chart?
k
I’ve configured the rke2-cilium helm chart by enabling the value prometheus.serviceMonitor.enabled. So I’m basically looking for a way to install the ServiceMonitor CRD. I’ve tried to use the additional manifests installing the HelmChart from Prometheus-operator-crds. But these are only applied after the rke2-cilium chart, but that one fails because the ServiceMonitor CRD is missing.
c
You could set it as a bootstrap chart so that it gets installed earlier
That would probably be my recommendation
k
How can I configure such a bootstrap chart, as that sound like an option.
Because I only see the options to set chart values (the rke2-* charts) or additional chart (which can be any resource).
c
Set
bootstrap: true
in the helmchart spec. See the field documentation here. https://docs.rke2.io/helm#using-the-helm-crd
k
Ah cool. Thanks. Will test this tomorrow. Thank you for your support!
(And I should better read the docs. But overlooked the bootstrap value)
Follow up in this thread. It looks that RKE2 is working fine when using the chart via additional manifests and bootstrap: true. Unfortunately Rancher only provisions those additional manifests after bootstrap and not during bootstrap.