diff --git a/deploy/Chart.yaml b/deploy/Chart.yaml index df6856f..807b7e2 100644 --- a/deploy/Chart.yaml +++ b/deploy/Chart.yaml @@ -6,7 +6,7 @@ name: bot_tamiseur # Version du chart : doit changer si l'application change ou si la configuration du chart change #version: 1 -version: "1" +version: "1.1.0" # icon (optionnel) mais génère un warning avec "helm lint" icon: https://helm.sh/img/helm-logo.svg \ No newline at end of file diff --git a/deploy/templates/ingress.yaml b/deploy/templates/ingress.yaml index 3809a82..ab374d3 100644 --- a/deploy/templates/ingress.yaml +++ b/deploy/templates/ingress.yaml @@ -4,7 +4,8 @@ kind: Ingress metadata: name: {{ .Release.Name }} annotations: - external-dns.alpha.kubernetes.io/target: omegamaestro.{{ .Values.ingress.domain }} + external-dns.alpha.kubernetes.io/target: OmegaMaestro.{{- if eq .Values.ingress.provider "technitium" }}force-field.{{- end }}{{ .Values.ingress.domain }} + external-dns.alpha.kubernetes.io/{{ .Values.ingress.provider }}: "true" cert-manager.io/cluster-issuer: {{ .Values.ingress.issuer }} nginx.ingress.kubernetes.io/backend-protocol: "HTTP" {{- if .Values.ingress.geoip }} diff --git a/deploy/values.yaml b/deploy/values.yaml index 048d498..8c6a739 100644 --- a/deploy/values.yaml +++ b/deploy/values.yaml @@ -27,5 +27,6 @@ ingress: class: nginx subdomain: dcb-chantier.prd domain: angels-dev.fr + provider: cloudflare issuer: letsencrypt-prod geoip: false \ No newline at end of file