https://rancher.com/ logo
#rke2
Title
# rke2
h

handsome-tiger-45123

02/11/2023, 2:43 PM
Hello, I'd like to expose a port (1094) of the rke2 ingress controller in addition to the default ones. Following the nginx documentation and the rke2 doc I tried with a HelmChartConfig like the following:
Copy code
apiVersion: <http://helm.cattle.io/v1|helm.cattle.io/v1>
kind: HelmChartConfig
metadata:
  name: rke2-ingress-nginx
  namespace: kube-system
spec:
  valuesContent: |-
    controller:
      customPorts:
        - port: 1094
          targetPort: 1094
          protocol: TCP
          name: xrootd
Unfortunately it does not work, am I missing something? Thanks!
g

gray-lawyer-73831

02/12/2023, 7:34 PM
If you’re referring to their documentation from https://docs.nginx.com/nginx-ingress-controller/installation/installation-with-helm/, I believe that might have incorrect information. Based on both artifact hub and their repo, I don’t see any chart value for
customPorts
h

handsome-tiger-45123

02/13/2023, 9:30 AM
I see, thanks, that's strange indeed. Do you have any suggestions on how to expose other ports?
g

gray-lawyer-73831

02/13/2023, 4:22 PM
I’m not sure I’m sorry
👍 1
24 Views