tweak(platform) Add frontendconfig for redirect (#8160)
* add frontendconfig for redirect * add the filespull/8169/head^2
parent
5e2874c315
commit
aec715cb2b
|
@ -0,0 +1,8 @@
|
|||
apiVersion: networking.gke.io/v1beta1
|
||||
kind: FrontendConfig
|
||||
metadata:
|
||||
name: {{ include "autogpt-builder.fullname" . }}-frontend-config
|
||||
spec:
|
||||
redirectToHttps:
|
||||
enabled: true
|
||||
responseCodeName: 301
|
|
@ -25,6 +25,7 @@ ingress:
|
|||
kubernetes.io/ingress.global-static-ip-name: "agpt-dev-agpt-builder-ip"
|
||||
networking.gke.io/managed-certificates: "autogpt-builder-cert"
|
||||
kubernetes.io/ingress.allow-http: "true"
|
||||
networking.gke.io/v1beta1.FrontendConfig: "autogpt-builder-frontend-config"
|
||||
hosts:
|
||||
- host: dev-builder.agpt.co
|
||||
paths:
|
||||
|
|
Loading…
Reference in New Issue