You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/iot-operations/deploy-iot-ops/howto-enable-secure-settings.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ A workload identity is an identity you assign to a software workload (such as an
36
36
> [!NOTE]
37
37
> This step only applies to Ubuntu + K3s clusters. The quickstart script for Azure Kubernetes Service (AKS) Edge Essentials used in [Prepare your Azure Arc-enabled Kubernetes cluster](./howto-prepare-cluster.md) enables workload identity by default. If you have an AKS Edge Essentials cluster, continue to the next section.
38
38
39
-
If you aren't sure whether your K3s cluster already has workload identity enabled or not, run the following command to check:
39
+
If you aren't sure whether your K3s cluster already has workload identity enabled or not, run the [az connectedk8s show](/cli/azure/connectedk8s#az-connectedk8s-show) command to check:
40
40
41
41
```azurecli
42
42
az connectedk8s show --name <CLUSTER_NAME> --resource-group <RESOURCE_GROUP> --query "{oidcIssuerEnabled:oidcIssuerProfile.enabled, workloadIdentityEnabled: securityProfile.workloadIdentity.enabled}"
@@ -46,18 +46,18 @@ Use the following steps to enable workload identity on an existing connected K3s
46
46
47
47
1. Download and install a preview version of the `connectedk8s` extension for Azure CLI. GitHub: [connectedk8s-1.10.0](https://github.com/AzureArcForKubernetes/azure-cli-extensions/blob/connectedk8s/public/cli-extensions/connectedk8s-1.10.0-py2.py3-none-any.whl).
1.Remove the existing connectedk8s cli extension if you already installed it.
53
+
1.Use the [az extension remove](/cli/azure/extension#az-extension-remove) command to remove the existing connectedk8s cli extension if you already installed it.
54
54
55
55
```azurecli
56
56
#!/bin/bash
57
57
az extension remove --name connectedk8s
58
58
```
59
59
60
-
1.Add the new connectedk8s cli source.
60
+
1.Use the [az extension add](/cli/azure/extension#az-extension-add) command to add the new connectedk8s cli source.
61
61
62
62
```azurecli
63
63
#!/bin/bash
@@ -71,7 +71,7 @@ Use the following steps to enable workload identity on an existing connected K3s
1.Upgrade the Arc agent version to the private build that supports the workload identity feature.
74
+
1.Use the [az connectedk8s upgrade](/cli/azure/connectedk8s#az-connectedk8s-upgrade) command to upgrade the Arc agent version to the private build that supports the workload identity feature.
75
75
76
76
```azurecli
77
77
#!/bin/bash
@@ -87,7 +87,7 @@ Use the following steps to enable workload identity on an existing connected K3s
87
87
--agent-version $RELEASE_TAG
88
88
```
89
89
90
-
1.Enable the workload identity feature on the cluster.
90
+
1.Use the [az connectedk8s update](/cli/azure/connectedk8s#az-connectedk8s-update) command to enable the workload identity feature on the cluster.
91
91
92
92
```azurecli
93
93
#!/bin/bash
@@ -102,7 +102,7 @@ Use the following steps to enable workload identity on an existing connected K3s
102
102
--enable-oidc-issuer --enable-workload-identity
103
103
```
104
104
105
-
1.Get the cluster's issuer url. Take a note to add it later in K3s config file.
105
+
1.Use the [az connectedk8s show](/cli/azure/connectedk8s#az-connectedk8s-show) command to to get the cluster's issuer url. Take a note to add it later in K3s config file.
0 commit comments