Skip to content

Commit 5770c12

Browse files
committed
updated deploy app section
1 parent 0b3ea3d commit 5770c12

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

articles/aks/workload-identity-deploy-cluster.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This article assumes you have a basic understanding of Kubernetes concepts. For
1919

2020
- This article requires version 2.40.0 or later of the Azure CLI. If using Azure Cloud Shell, the latest version is already installed.
2121

22-
- The identity you're using to create your cluster has the appropriate minimum permissions. For more details on access and identity for AKS, see [Access and identity options for Azure Kubernetes Service (AKS)][aks-identity-concepts].
22+
- The identity you're using to create your cluster has the appropriate minimum permissions. For more information about access and identity for AKS, see [Access and identity options for Azure Kubernetes Service (AKS)][aks-identity-concepts].
2323

2424
- If you have multiple Azure subscriptions, select the appropriate subscription ID in which the resources should be billed using the [az account][az-account] command.
2525

@@ -140,7 +140,7 @@ az identity federated-credential create --name myfederatedIdentity --identity-na
140140
141141
## Deploy your application
142142

143-
When deploying your application pods, it should reference the service account created in the Create Kubernetes service account step. The following manifest demonstrates how to reference the account, specifically `metadata\namespace` and `spec\serviceAccountName` properties:
143+
When you deploy your application pods, the manifest should reference the service account created in the **Create Kubernetes service account** step. The following manifest shows how to reference the account, specifically *metadata\namespace* and *spec\serviceAccountName* properties:
144144

145145
```yml
146146
cat <<EOF | kubectl apply -f -
@@ -153,16 +153,6 @@ metadata:
153153
azure.workload.identity/use: "true"
154154
spec:
155155
serviceAccountName: workload-identity-sa
156-
containers:
157-
- image: ghcr.io/azure/azure-workload-identity/msal-go
158-
name: oidc
159-
env:
160-
- name: KEYVAULT_URL
161-
value: KEYVAULT_URL
162-
- name: SECRET_NAME
163-
value: KEYVAULT_SECRET_NAME
164-
nodeSelector:
165-
kubernetes.io/os: linux
166156
EOF
167157
```
168158

0 commit comments

Comments
 (0)