Skip to content

Commit 00e600f

Browse files
authored
Fix: Revert OAuth2 authentication policy for cluster-local-gateway (#3072)
Signed-off-by: madmecodes <[email protected]>
1 parent cf828b4 commit 00e600f

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

common/istio-1-24/cluster-local-gateway/base/gateway-authorizationpolicy.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
# Enforce OAuth2-proxy authentication for cluster-local-gateway
1+
# Allow all traffic to the cluster-local-gateway
22
apiVersion: security.istio.io/v1beta1
33
kind: AuthorizationPolicy
44
metadata:
5-
name: cluster-local-gateway-oauth2-proxy
5+
name: cluster-local-gateway
66
spec:
7-
action: CUSTOM
8-
provider:
9-
name: oauth2-proxy
7+
action: ALLOW
108
selector:
119
# Same as the cluster-local-gateway Service selector
1210
matchLabels:

common/istio-cni-1-24/cluster-local-gateway/base/gateway-authorizationpolicy.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
# Enforce OAuth2-proxy authentication for cluster-local-gateway
1+
# Allow all traffic to the cluster-local-gateway
22
apiVersion: security.istio.io/v1beta1
33
kind: AuthorizationPolicy
44
metadata:
5-
name: cluster-local-gateway-oauth2-proxy
5+
name: cluster-local-gateway
66
spec:
7-
action: CUSTOM
8-
provider:
9-
name: oauth2-proxy
7+
action: ALLOW
108
selector:
119
# Same as the cluster-local-gateway Service selector
1210
matchLabels:

0 commit comments

Comments
 (0)