Skip to content

Commit 49b08da

Browse files
committed
Merged PR 22994: move add pod identity and agic to kube-system
move add pod identity and agic to kube-system
1 parent ca36e03 commit 49b08da

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

deployment.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,7 @@ sudo az aks install-cli
155155
az aks get-credentials --resource-group=$RESOURCE_GROUP --name=$CLUSTER_NAME
156156

157157
# Create namespaces
158-
kubectl create namespace backend-dev && \
159-
kubectl create namespace ingress-controllers
158+
kubectl create namespace backend-dev
160159
```
161160

162161
Setup Helm
@@ -190,7 +189,8 @@ Note: the tested nmi version was 1.4. It enables namespaced pod identity.
190189

191190
```bash
192191
# setup AAD pod identity
193-
kubectl create -f https://raw.githubusercontent.com/Azure/aad-pod-identity/master/deploy/infra/deployment-rbac.yaml
192+
helm repo add aad-pod-identity https://raw.githubusercontent.com/Azure/aad-pod-identity/master/chart && \
193+
helm install aad-pod-identity/aad-pod-identity -n kube-system
194194

195195
kubectl create -f https://raw.githubusercontent.com/Azure/kubernetes-keyvault-flexvol/master/deployment/kv-flexvol-installer.yaml
196196
```
@@ -208,7 +208,7 @@ export APP_GATEWAY_NAME=$(az group deployment show -g $RESOURCE_GROUP -n azurede
208208
export APP_GATEWAY_PUBLIC_IP_FQDN=$(az group deployment show -g $RESOURCE_GROUP -n azuredeploy-dev --query properties.outputs.appGatewayPublicIpFqdn.value -o tsv)
209209

210210
helm install ingress-azure-dev application-gateway-kubernetes-ingress/ingress-azure \
211-
--namespace ingress-controllers \
211+
--namespace kube-system \
212212
--set appgw.name=$APP_GATEWAY_NAME \
213213
--set appgw.resourceGroup=$RESOURCE_GROUP \
214214
--set appgw.subscriptionId=$SUBSCRIPTION_ID \

deploymentCICD.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,7 @@ az aks get-credentials --resource-group=$RESOURCE_GROUP --name=$CLUSTER_NAME
100100
kubectl create namespace backend-dev && \
101101
kubectl create namespace backend-qa && \
102102
kubectl create namespace backend-staging && \
103-
kubectl create namespace backend && \
104-
kubectl create namespace ingress-controllers
103+
kubectl create namespace backend
105104
```
106105

107106
Setup Helm
@@ -126,7 +125,8 @@ Note: the tested nmi version was 1.4. It enables namespaced pod identity.
126125

127126
```bash
128127
# setup AAD pod identity
129-
kubectl create -f https://raw.githubusercontent.com/Azure/aad-pod-identity/master/deploy/infra/deployment-rbac.yaml
128+
helm repo add aad-pod-identity https://raw.githubusercontent.com/Azure/aad-pod-identity/master/chart && \
129+
helm install aad-pod-identity/aad-pod-identity -n kube-system
130130

131131
kubectl create -f https://raw.githubusercontent.com/Azure/kubernetes-keyvault-flexvol/master/deployment/kv-flexvol-installer.yaml
132132
```
@@ -242,7 +242,7 @@ export {${ENV}_APP_GATEWAY_PUBLIC_IP_FQDN,APP_GATEWAY_PUBLIC_IP_FQDN}=$(az group
242242
export ENV_NAMESPACE=$([ $env == 'prod' ] && echo 'backend' || echo "backend-$env")
243243

244244
helm install ingress-azure-${env} application-gateway-kubernetes-ingress/ingress-azure \
245-
--namespace ingress-controllers \
245+
--namespace kube-system \
246246
--set appgw.name=$APP_GATEWAY_NAME \
247247
--set appgw.resourceGroup=$RESOURCE_GROUP \
248248
--set appgw.subscriptionId=$SUBSCRIPTION_ID \

0 commit comments

Comments
 (0)