This message was deleted.
# rke2
a
This message was deleted.
b
Maybe one of your ingress pods has a bad config and when it gets hit doesn't know to attach the appropriate cert/route because it doesn't know about it? Did you try a re-deployment?
a
Yea I redeployed the rke2-ingress-nginx-controller DaemonSet
something like that was my first thought, but it's happening in two separate clusters in different AWS VPCs. The app is keycloak, we saw this problem when initially deploying it without enabling tls pass through. I enabled that by dropping an rke2-ingress-nginx-config.yaml into
/var/lib/rancher/rk2/server/manifests
on one of the control planes.
Copy code
apiVersion: helm.cattle.io/v1
  kind: HelmChartConfig
  metadata:
    name: rke2-ingress-nginx
    namespace: kube-system
  spec:
    valuesContent: |-
      controller:
        config:
          use-forwarded-headers: true
        extraArgs:
          enable-ssl-passthrough: true
Basically followed the steps from this blog https://ranchergovernment.com/blog/leveraging-rke2-with-tls-passthrough
I just added that to the Add-On Config for the cluster itself, and I'm still seeing the same thing. It doesn't make any sense to me that a refresh of the page will suddenly get the correct cert
b
I often find things like this harmful to my sanity. ¯\_(ツ)_/¯
🤣 1
a
Yea, it's even more fun when you have 400 users complaining lol
113 Views