diff --git a/values/env-hel1.yaml b/values/env-hel1.yaml index d50e0217..5ba5c2d1 100644 --- a/values/env-hel1.yaml +++ b/values/env-hel1.yaml @@ -11,7 +11,6 @@ clusterConfig: cluster: "hel1" ingress_nodes: ["controlplane-1, controlplane-2, controlplane-3"] ingress_replica_count: 3 - ingress_hostnetwork: true fileserver: "10.0.1.1" s3: hosts: [] diff --git a/values/ingress-nginx/env-hel1.yaml.gotmpl b/values/ingress-nginx/env-hel1.yaml.gotmpl new file mode 100644 index 00000000..7c994ae8 --- /dev/null +++ b/values/ingress-nginx/env-hel1.yaml.gotmpl @@ -0,0 +1,16 @@ +nginx: + enabled: true + autosync: true + pdb: + minAvailable: 1 + resources: + controller: + cpu: "100m" + memory: "100Mi" + annotations: + load-balancer.hetzner.cloud/http-redirect-http: "true" + load-balancer.hetzner.cloud/location: hel1 + load-balancer.hetzner.cloud/name: load-balancer-1 + load-balancer.hetzner.cloud/type: lb11 + load-balancer.hetzner.cloud/use-private-ip: "true" + diff --git a/values/ingress-nginx/values/ingress-nginx.yaml.gotmpl b/values/ingress-nginx/values/ingress-nginx.yaml.gotmpl index cd39bf6a..0c00547d 100644 --- a/values/ingress-nginx/values/ingress-nginx.yaml.gotmpl +++ b/values/ingress-nginx/values/ingress-nginx.yaml.gotmpl @@ -71,6 +71,10 @@ controller: {{- else }} type: ClusterIP {{- end }} + annotations: + {{- with .Values.nginx.annotations }} + {{ toYaml . | nindent 8 }} + {{- end }} hostNetwork: {{ .Values.clusterConfig.ingress_hostnetwork }}