diff --git a/charts/templates/certs/scw-webhook-sa-rb.yaml b/charts/templates/certs/scw-webhook-sa-rb.yaml index 4ff69075..b211e072 100644 --- a/charts/templates/certs/scw-webhook-sa-rb.yaml +++ b/charts/templates/certs/scw-webhook-sa-rb.yaml @@ -19,7 +19,7 @@ rules: apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: - name: github-actions-token + name: scaleway-webhook:secrets-reader namespace: fiesta labels: {{- include "fiesta.labels" . | nindent 4 }} diff --git a/charts/templates/ingress.yaml b/charts/templates/ingress.yaml index 51c9cfc0..2ca72316 100644 --- a/charts/templates/ingress.yaml +++ b/charts/templates/ingress.yaml @@ -8,29 +8,13 @@ metadata: cert-manager.io/issuer: {{ .Values.ingress.certIssuerName | quote }} spec: ingressClassName: nginx + defaultBackend: + service: + name: web + port: + number: 80 tls: - hosts: - {{ .Values.ingress.host | quote }} {{- .Values.ingress.extraHosts | toYaml | nindent 8 }} secretName: {{ .Values.ingress.certSecretName | quote }} - rules: - - host: "*.{{ .Values.ingress.host }}" - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: web - port: - number: 80 - - host: "{{ .Values.ingress.host }}" - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: web - port: - number: 80