Nginx Ingress Transportserver how to use globalconfig with helm charts? #8758
Unanswered
Nikoolayy1
asked this question in
Q&A
Replies: 1 comment
-
|
I managed to make it working as I saw #1951 but how can you reference an external config map and not use values.yaml or there is no way? helm upgrade -f nginx-values.yaml nginx-ingress oci://ghcr.io/nginx/charts/nginx-ingress controller: |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Everyone,
I tried to see a clear example of Transportserver and globalconfig CR but there is none.
Nginx Ingress Transportserver how to use globalconfig with helm charts as I see that the transportserver can't see the listener?
apiVersion: k8s.nginx.org/v1
kind: GlobalConfiguration
metadata:
name: nginx-ingress-controller
namespace: f5-nginx
spec:
listeners:
port: 81
protocol: TCP
apiVersion: k8s.nginx.org/v1
kind: TransportServer
metadata:
name: nginx-tcp
spec:
listener:
name: nginx-tcp
protocol: TCP
upstreams:
service: hello-world-app-new-cluster
port: 8080
action:
pass: nginx-tcp
~
niki@master-1:~$ kubectl get transportservers.k8s.nginx.org -o yaml
apiVersion: v1
items:
kind: TransportServer
metadata:
annotations:
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"k8s.nginx.org/v1","kind":"TransportServer","metadata":{"annotations":{},"name":"nginx-tcp","namespace":"default"},"spec":{"action":{"pass":"nginx-tcp"},"listener":{"name":"nginx-tcp","protocol":"TCP"},"upstreams":[{"name":"nginx-tcp","port":8080,"service":"hello-world-app-new-cluster"}]}}
creationTimestamp: "2025-12-18T13:12:23Z"
generation: 1
name: nginx-tcp
namespace: default
resourceVersion: "1836235"
uid: 6ba26b3a-853c-4a37-87ed-d52132f4e2b0
spec:
action:
pass: nginx-tcp
listener:
name: nginx-tcp
protocol: TCP
upstreams:
port: 8080
service: hello-world-app-new-cluster
status:
message: Listener nginx-tcp doesn't exist
reason: Rejected
state: Invalid
kind: List
metadata:
resourceVersion: ""
Beta Was this translation helpful? Give feedback.
All reactions