This message was deleted.
# general
a
This message was deleted.
c
Nope
Have you installed the bccrypto jars into the image as suggested?
What specifically have you done so far to try to add the bouncycastle libs?
f
Thanks Brad for your interest and your untiring help in these forums. I managed to get the bccrypto jars to work by building my own Spark container from scratch and bundling them. I couldn't get the Spark dependency manager to auto-add them for me. Had to learn a lot I didn't want to learn along the way. 🙂
If I may ask one quick q - I can't find info on how RKE2 ManagedCharts - I need to inject the cloudcredentials secret from Rancher into downstream clusters, to attach to the CPI/CSI services for vmware. CloudCredentials have the info I need but I can't see a way in my RKE2 cloud templates to inject stuff into downstream clusters, beyond the Cluster kind and the VmwareVsphere Node kind. And fleet is heavy - so thought maybe ManagedCharts was the official way to inject stuff downstream in cluster templates.
c
if you want it deployed when the cluster is first being set up, you should use HelmChartConfig resources in the Additional Manifests section of the Rancher UI.
f
Ok, I'm familiar with that but can I embed a HelmChartConfig resource into my RKE2 cluster template so I can use the Rancher questions feature to fill in some values? I've used HelmChartConfig with Terraform to build clusters but now its cluster templates for downstream ones.
c
Probably but I don’t personally know how. I’m an RKE2/K3s dev, I don’t touch the Rancher provisioning stuff much.
I don’t know if you can do that in cluster templates or not
it might just be in the actual cluster itself
f
The cluster template values shows these intriguing hints:
Copy code
# specify rancher helm chart values deployed into downstream cluster
rancherValues: {}
and right next to it is:
Copy code
# general RKE options
rke:
  # specify rancher helm chart values deployed into downstream cluster
  chartValues: {}
in file https://github.com/rancher/cluster-template-examples
c
most of those are probably for RKE not RKE2/K3s but idk
f
Thanks though -- didn't know of your job focus. Thanks again.
w
> The cluster template values shows these intriguing hints: >
Copy code
# specify rancher helm chart values deployed into downstream cluster
> rancherValues: {}
> > and right next to it is: >
Copy code
# general RKE options
> rke:
>   # specify rancher helm chart values deployed into downstream cluster
>   chartValues: {}
I thought the same thing when I saw this, but there’s nothing in the example repo that handles this (or several other things, for that matter). I ended up modifying
charts/templates/cluster.yaml
with this:
Copy code
rkeConfig:
    {{- if .Values.rke.chartValues }}
    chartValues:
{{ toYaml .Values.rke.chartValues | indent 6 }}
    {{- end }}
With that done, you can do something like this in your `values.yaml`:
Copy code
rke:
  chartValues:
    rke2-ingress-nginx:
      controller:
        watchIngressWithoutClass: false