Browse Source

SIGI chart minor corretions

master
Keny Villela 2 years ago
parent
commit
942640cb05
  1. 3
      charts/sigi/v0.1.0/questions.yaml
  2. 3
      charts/sigi/v0.1.0/templates/ingress.yaml
  3. 2
      charts/sigi/v0.1.0/values.yaml

3
charts/sigi/v0.1.0/questions.yaml

@ -45,6 +45,7 @@ questions:
group: Ingress
options:
- letsencrypt
- letsencrypt-hml
- aws
- variable: ingress.class
@ -141,7 +142,7 @@ questions:
group: Avançado
- variable: velero.backup.enabled
default: true
default: false
type: boolean
label: "Habilitar backup com Velero?"
description: "Criar ou não os objetos para backup com o Velero."

3
charts/sigi/v0.1.0/templates/ingress.yaml

@ -17,6 +17,9 @@ metadata:
{{- if contains "letsencrypt" .Values.ingress.tls.provider }}
cert-manager.io/cluster-issuer: "letsencrypt-prod"
{{- end }}
{{- if contains "letsencrypt-hml" .Values.ingress.tls.provider }}
cert-manager.io/cluster-issuer: "letsencrypt-hml-dns"
{{- end }}
{{- if contains "alb" .Values.ingress.class }}
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS": 443}]'
{{- end }}

2
charts/sigi/v0.1.0/values.yaml

@ -73,7 +73,7 @@ ingress:
velero:
namespace: velero
backup:
enabled: true
enabled: false
snapshotVolumes: false
defaultVolumesToRestic: true
# cert-manager objects are usually blocked during backup

Loading…
Cancel
Save