This message was deleted.
# general
a
This message was deleted.
i
Followup: I just deleted my custom HelmChartConfig, and the old nginx-ingress controllers did not come back... I think I may have broke something 👀 Is there a way to tell rke2 to force apply a helm chart?
Copy code
$ kubectl get addons -n kube-system
NAME                               AGE
kube-vip                           3h49m
rke2-cilium                        3h49m
rke2-coredns                       3h49m
rke2-ingress-nginx                 3h49m
rke2-metrics-server                3h49m
rke2-snapshot-controller           3h49m
rke2-snapshot-controller-crd       3h49m
rke2-snapshot-validation-webhook   3h49m
$ kubectl get helmchart -n kube-system
NAME                               AGE
rke2-cilium                        3h49m
rke2-coredns                       3h49m
rke2-metrics-server                3h49m
rke2-snapshot-controller           3h49m
rke2-snapshot-controller-crd       3h49m
rke2-snapshot-validation-webhook   3h49m
$ kubectl get helmchartconfig -n kube-system
NAME                 AGE
rke2-ingress-nginx   40m
This seems weird... nginx-ingress is not in the
kubectl get helmchart
listing?
c
you didn’t overwrite the existing rke2-ingress-nginx.yaml with that HelmChartConfig, did you?
i
Hahaha maybe? Does it live at
/var/lib/rancher/rke2/server/manifests/rke2-ingress-nginx.yaml
by default? If so, then yeah, I probably did 😂 Do you happen to have a copy of the existing one?
c
yes you did
just restart rke2 on one of the servers, it’ll put it back.
call your file rke2-ingress-nginx-config.yaml or something
i
Amazing. Thanks!
754 Views