diff --git a/docs/how-tos/prevent-agic-from-overwriting.md b/docs/how-tos/prevent-agic-from-overwriting.md index 80a0bb3dc..0715fad65 100644 --- a/docs/how-tos/prevent-agic-from-overwriting.md +++ b/docs/how-tos/prevent-agic-from-overwriting.md @@ -61,11 +61,15 @@ Apply the Helm changes: 1. Ensure the `AzureIngressProhibitedTarget` CRD is installed with: - ```bash - kubectl apply -f https://raw.githubusercontent.com/Azure/application-gateway-kubernetes-ingress/ae695ef9bd05c8b708cedf6ff545595d0b7022dc/crds/AzureIngressProhibitedTarget.yaml - ``` - - 2. Update Helm: + - If your kubernetes cluster is >= `v1.16` + ```bash + kubectl apply -f https://raw.githubusercontent.com/Azure/application-gateway-kubernetes-ingress/refs/heads/master/crds/AzureIngressProhibitedTarget-v1-CRD-v1.yaml + ``` + - If your kubernetes cluster is < `v1.16` + ```bash + kubectl apply -f https://raw.githubusercontent.com/Azure/application-gateway-kubernetes-ingress/refs/heads/master/crds/AzureIngressProhibitedTarget-v1-CRD-v1beta1.yaml + ``` + 3. Update Helm: ```bash helm upgrade \