Fix chart

This commit is contained in:
LeNei
2023-11-18 17:13:48 +01:00
parent 1001e8f8c6
commit d4bb190eee
6 changed files with 28 additions and 19 deletions

View File

@@ -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 }}