harden updatecenter public route methods
This commit is contained in:
@@ -43,5 +43,6 @@ shared origin cert must exist in every namespace that serves a
|
||||
```powershell
|
||||
kubectl.exe --kubeconfig C:\Users\AndrewStoltz\.kube\rke2.yaml -n argocd get application infra-fc-updater
|
||||
kubectl.exe --kubeconfig C:\Users\AndrewStoltz\.kube\rke2.yaml -n fc-updater get deploy,svc,ingressroute,certificate,pvc
|
||||
curl.exe -sk https://update.flowercore.io/api/v1/manifests/_schema
|
||||
curl.exe -sk https://update.flowercore.io/
|
||||
curl.exe -sk -o NUL -w "%{http_code}`n" https://update.flowercore.io/login
|
||||
```
|
||||
|
||||
@@ -266,7 +266,7 @@ spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: (Host(`update.flowercore.io`) || Host(`updates.flowercore.io`)) && (Method(`GET`) || Method(`HEAD`) || Method(`POST`) || Method(`OPTIONS`))
|
||||
- match: (Host(`update.flowercore.io`) || Host(`updates.flowercore.io`)) && (Method(`GET`) || Method(`HEAD`))
|
||||
kind: Rule
|
||||
services:
|
||||
- name: updatecenter-web
|
||||
|
||||
Reference in New Issue
Block a user