From 22d4860a9cb37c523827f6fcaa8fefb0e24a33d9 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Wed, 9 Nov 2022 16:13:04 +0000 Subject: [PATCH] code: share ipv4 from ingress --- basic/apps/code/metallb-gitea.yaml | 2 ++ basic/overrides/stackspin-nginx-override.yaml | 10 +++------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/basic/apps/code/metallb-gitea.yaml b/basic/apps/code/metallb-gitea.yaml index 9b5fe3f..3e0c86d 100644 --- a/basic/apps/code/metallb-gitea.yaml +++ b/basic/apps/code/metallb-gitea.yaml @@ -5,6 +5,8 @@ kind: Service metadata: name: gitea-ssh namespace: stackspout + annotations: + metallb.universe.tf/allow-shared-ip: "share-ipv4" spec: type: LoadBalancer loadBalancerIP: 212.224.115.169 #"${ip_address}" diff --git a/basic/overrides/stackspin-nginx-override.yaml b/basic/overrides/stackspin-nginx-override.yaml index 50473b2..beccd24 100644 --- a/basic/overrides/stackspin-nginx-override.yaml +++ b/basic/overrides/stackspin-nginx-override.yaml @@ -7,10 +7,6 @@ data: values.yaml: | # https://artifacthub.io/packages/helm/ingress-nginx/ingress-nginx controller: - image: - registry: "k8s.gcr.io" - controller: - admissionWebhooks: - patch: - image: - registry: "k8s.gcr.io" + service: + annotations: + metallb.universe.tf/allow-shared-ip: "share-ipv4"