Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
---
kind: AuthorizationPolicy
apiVersion: security.istio.io/v1beta1
metadata:
  name: sdc-fe2-authz-oauth2-proxy
  namespace: istio-ingress
spec:
  selector:
    matchLabels:
      istio: ingress
  action: CUSTOM
  provider:
    name: oauth2-proxy
  rules:
    - to:
        - operation:
            hosts: ["sdc-fe2-ui-tnap-master-sm.tnaplab.telekom.de"]
            notPaths: ["/auth/*","/oauth2/*"]

In case of gateway-api the solution could be different !!

Behaviour:

Launch SDC-FE URL :

...