using int ports

This commit is contained in:
ari committed 2023-03-15 18:53:58 +00:00
1 parent 8fe4a85601
commit fb71799666
1 file changed
+2 -2
@@ -8,7 +8,7 @@ subsets:
- addresses:
- ip: "{{ $data.ip }}"
ports:
- port: "{{ $data.port }}"
- port: {{ $data.port }}
protocol: TCP
---
apiVersion: v1
@@ -20,7 +20,7 @@ spec:
ports:
- port: 80
protocol: TCP
targetPort: "{{ $data.port }}"
targetPort: {{ $data.port }}
---
apiVersion: networking.k8s.io/v1
kind: Ingress