Files
project-infra/gitops/platform/forward-auth/component/kustomization.yaml
T

19 lines
531 B
YAML

apiVersion: kustomize.config.k8s.io/v1alpha1
kind: Component
resources:
- ../base
- oauth2-proxy-config.yaml
- oauth2-proxy-ingress.yaml
- oauth2-proxy-middleware.yaml
- oauth2-proxy-networkpolicy.yaml
patches:
- target:
kind: Ingress
name: auth-server
patch: |-
- op: replace
path: /metadata/annotations/traefik.ingress.kubernetes.io~1router.middlewares
value: mnt-oauth2-proxy-errors@kubernetescrd,mnt-oauth2-proxy-auth@kubernetescrd,kube-system-security-headers@kubernetescrd