add configmap

This commit is contained in:
2026-02-17 16:52:30 +01:00
parent c17c7a21b6
commit 96bb5ae7aa
3 changed files with 10 additions and 0 deletions

8
external/configmap.yaml vendored Normal file
View File

@@ -0,0 +1,8 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: nginx-configuration
namespace: external-ingress
data:
tcp-services: |
25565=minecraft/minecraft-01-svc:25565,minecraft/minecraft-02-svc:25565

View File

@@ -21,6 +21,7 @@ spec:
- /nginx-ingress-controller
- --ingress-class=nginx-external
- --configmap=$(POD_NAMESPACE)/nginx-configuration
- --tcp-services-configmap=$(POD_NAMESPACE)/nginx-configuration
- --publish-status-address=192.168.0.190
- --update-status
env:

View File

@@ -5,6 +5,7 @@ namespace: external-ingress
resources:
# - proxy
- configmap.yaml
- external-controller.yaml
- external-policy.yaml
- service.yaml