mirror of
https://github.com/LeNei/fullstack-helm-chart.git
synced 2026-02-13 22:56:19 +00:00
Fix chart
This commit is contained in:
@@ -2,9 +2,11 @@ kind: Ingress
|
||||
apiVersion: networking.k8s.io/v1
|
||||
metadata:
|
||||
name: {{ .Values.api.appName }}
|
||||
{{ if eq .Values.environment "production" }}
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt
|
||||
traefik.ingress.kubernetes.io/router.middlewares: "{{ .Release.Namespace }}-redirect-https@kubernetescrd"
|
||||
{{ end }}
|
||||
spec:
|
||||
rules:
|
||||
- host: {{ .Values.api.host }}
|
||||
|
||||
Reference in New Issue
Block a user