Skip to content

Commit

Permalink
feat: fix rb owner and use default ingress backed
Browse files Browse the repository at this point in the history
  • Loading branch information
thejoeejoee committed Nov 9, 2023
1 parent 7282b95 commit 4bbca07
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 22 deletions.
2 changes: 1 addition & 1 deletion charts/templates/certs/scw-webhook-sa-rb.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
26 changes: 5 additions & 21 deletions charts/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4bbca07

Please sign in to comment.