Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
Merge pull request #58 from mittwald/fix/helm-ingress-enabled
Browse files Browse the repository at this point in the history
add option to disable ingress in helm chart
  • Loading branch information
dbeneker authored Oct 14, 2020
2 parents fe2bc44 + 6d7d8ff commit 07e224c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/helm-chart/servicegateway/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ spec:
---
{{- $fullName := include "servicegateway.fullname" . -}}
{{- range $ingressName, $ingress := .Values.ingresses }}
{{- if $ingress }}
{{- if and $ingress (or $ingress.enabled (eq ($ingress.enabled | toString) "<nil>")) }}
apiVersion: {{ template "servicegateway.ingress.apiVersion" $ }}
kind: Ingress
metadata:
Expand Down
1 change: 1 addition & 0 deletions deploy/helm-chart/servicegateway/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ ingress:
ingresses: {}
#ingresses:
# youringressname:
# enabled: true
# annotations:
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
Expand Down

0 comments on commit 07e224c

Please sign in to comment.