mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-30 15:37:44 +02:00
27 lines
541 B
YAML
27 lines
541 B
YAML
---
|
|
apiVersion: gateway.envoyproxy.io/v1alpha1
|
|
kind: SecurityPolicy
|
|
metadata:
|
|
name: internal-secure
|
|
spec:
|
|
extAuth:
|
|
failOpen: false
|
|
headersToExtAuth:
|
|
- X-Forwarded-Proto
|
|
- authorization
|
|
- proxy-authorization
|
|
- accept
|
|
- cookie
|
|
http:
|
|
backendRefs:
|
|
- group: ""
|
|
kind: Service
|
|
name: authelia
|
|
namespace: default
|
|
port: 80
|
|
path: /api/authz/ext-authz/
|
|
targetRefs:
|
|
- group: gateway.networking.k8s.io
|
|
kind: Gateway
|
|
name: internal
|