Files
Fleetbase-Mirror-Repo/infra/helm/templates/certificate.yaml
2024-01-25 20:05:42 +13:00

20 lines
393 B
YAML

{{- if .Values.gcp }}
apiVersion: networking.gke.io/v1
kind: ManagedCertificate
metadata:
name: managed-cert
spec:
domains:
- {{ .Values.api_host }}
- {{ .Values.socketcluster_host }}
---
apiVersion: networking.gke.io/v1beta1
kind: FrontendConfig
metadata:
name: httpsredirect
spec:
redirectToHttps:
enabled: true
responseCodeName: MOVED_PERMANENTLY_DEFAULT
{{- end }}