diff --git a/templates/consul-ingress.yaml b/templates/consul-ingress.yaml index 01a1fe1..64e9992 100644 --- a/templates/consul-ingress.yaml +++ b/templates/consul-ingress.yaml @@ -1,3 +1,4 @@ +{{- if .Values.registry_expose }} apiVersion: networking.k8s.io/v1 kind: Ingress metadata: @@ -36,4 +37,6 @@ spec: service: name: consul port: - number: 8500 \ No newline at end of file + number: 8500 + +{{- end }} \ No newline at end of file diff --git a/values.yaml b/values.yaml index 2562db2..4687ea1 100644 --- a/values.yaml +++ b/values.yaml @@ -1,4 +1,5 @@ +registry_expose: false registry: ghcr.io tag: "250121-1414be4" deployments: