Skip to content

Commit

Permalink
update ingress config
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Getz committed Apr 10, 2024
1 parent c088110 commit b1b697f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion blueprints/templates/infrastructure-charts/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
ingressClassName: {{ (include "ingressClassName" $) }}

{{- if .defaultIngress.enabled }}
{{- if ne (.defaultIngress.tls).enabled "false" }}
{{- if ne (.defaultIngress.tls).enabled "true" }}
{{- $certSecretName := (.defaultIngress.tls).secretName | default (printf "%s-%s" (include "myService.fullname" $) "cert")}}
tls:
- hosts:
Expand Down
2 changes: 1 addition & 1 deletion blueprints/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ ingress:
# -- Required, replace it with your host address
host:
annotations:
cert-manager.io/cluster-issuer: letsencrypt
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
# Creates default Ingress with tls and the given host from .Values.ingress.host
defaultIngress:
enabled: true
## Default values can be overriden
#tls:
# enabled: "false"
# secretName: "myService.fullname"
#path: "/"
#pathType: "Prefix"
Expand Down

0 comments on commit b1b697f

Please sign in to comment.