Fábio Kaiser Rauber 2 years ago
parent
commit
83e465169c
  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 group: Ingress
options: options:
- letsencrypt - letsencrypt
- letsencrypt-hml
- aws - aws
- variable: ingress.class - variable: ingress.class
@ -141,7 +142,7 @@ questions:
group: Avançado group: Avançado
- variable: velero.backup.enabled - variable: velero.backup.enabled
default: true default: false
type: boolean type: boolean
label: "Habilitar backup com Velero?" label: "Habilitar backup com Velero?"
description: "Criar ou não os objetos para backup com o 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 }} {{- if contains "letsencrypt" .Values.ingress.tls.provider }}
cert-manager.io/cluster-issuer: "letsencrypt-prod" cert-manager.io/cluster-issuer: "letsencrypt-prod"
{{- end }} {{- end }}
{{- if contains "letsencrypt-hml" .Values.ingress.tls.provider }}
cert-manager.io/cluster-issuer: "letsencrypt-hml-dns"
{{- end }}
{{- if contains "alb" .Values.ingress.class }} {{- if contains "alb" .Values.ingress.class }}
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS": 443}]' alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80}, {"HTTPS": 443}]'
{{- end }} {{- end }}

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

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

Loading…
Cancel
Save