Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.

Commit 209421d

Browse files
author
Mathieu Benoit
committed
authzpol denyall in istio-system now
1 parent f1a359f commit 209421d

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

content/ingress-gateway/set-up-authorization-policies.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,9 @@ Initialize variables:
1010
source ~/acm-workshop-variables.sh
1111
```
1212

13-
## Define AuthorizationPolicy resources
13+
## Define AuthorizationPolicy resource
1414

1515
```Bash
16-
cat <<EOF > ~/$GKE_CONFIGS_DIR_NAME/config-sync/$INGRESS_GATEWAY_NAMESPACE/authorizationpolicy_denyall.yaml
17-
apiVersion: security.istio.io/v1beta1
18-
kind: AuthorizationPolicy
19-
metadata:
20-
name: deny-all
21-
namespace: ${INGRESS_GATEWAY_NAMESPACE}
22-
spec: {}
23-
EOF
2416
cat <<EOF > ~/$GKE_CONFIGS_DIR_NAME/config-sync/$INGRESS_GATEWAY_NAMESPACE/authorizationpolicy_ingress-gateway.yaml
2517
apiVersion: security.istio.io/v1beta1
2618
kind: AuthorizationPolicy
@@ -109,7 +101,6 @@ getting 1 RepoSync and RootSync from gke-hub-membership
109101
│ rbac.authorization.k8s.io │ RoleBinding │ asm-ingressgateway │ asm-ingress │
110102
│ rbac.authorization.k8s.io │ Role │ asm-ingressgateway │ asm-ingress │
111103
│ security.istio.io │ AuthorizationPolicy │ asm-ingressgateway │ asm-ingress │
112-
│ security.istio.io │ AuthorizationPolicy │ deny-all │ asm-ingress │
113104
│ │ ServiceAccount │ default │ config-management-monitoring │
114105
│ │ ConfigMap │ istio-asm-managed-rapid │ istio-system │
115106
│ mesh.cloud.google.com │ ControlPlaneRevision │ asm-managed-rapid │ istio-system │

0 commit comments

Comments
 (0)