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
Deploy the Bicep template using the `az deployment group` command.
105
+
106
+
```azurecli
107
+
az deployment group create \
108
+
--resource-group myResourceGroup \
109
+
--template-file ./my-bicep-file-path.bicep \
110
+
--parameters clusterName=myAKSCluster
111
+
```
112
+
113
+
---
114
+
75
115
### Configure automatic updates
76
116
77
117
If you create Azure App Configuration extension without specifying a version, `--auto-upgrade-minor-version`*is automatically enabled*, configuring the Azure App Configuration extension to automatically update its minor version on new releases.
78
118
79
119
You can disable auto update by specifying the `--auto-upgrade-minor-version` parameter and setting the value to `false`.
80
120
121
+
#### [Azure CLI](#tab/cli)
122
+
81
123
```azurecli
82
124
--auto-upgrade-minor-version false
83
125
```
84
126
127
+
#### [Bicep](#tab/bicep)
128
+
129
+
```bicep
130
+
properties {
131
+
autoUpgradeMinorVersion: false
132
+
}
133
+
```
134
+
135
+
---
136
+
85
137
### Targeting a specific version
86
138
87
139
The same command-line argument is used for installing a specific version of Azure App Configuration Kubernetes Provider or rolling back to a previous version. Set `--auto-upgrade-minor-version` to `false` and `--version` to the version of Azure App Configuration Kubernetes Provider you wish to install. If the `version` parameter is omitted, the extension installs the latest version.
88
140
141
+
#### [Azure CLI](#tab/cli)
142
+
89
143
```azurecli
90
144
az k8s-extension create --cluster-type managedClusters \
91
145
--cluster-name myAKSCluster \
@@ -97,6 +151,45 @@ az k8s-extension create --cluster-type managedClusters \
97
151
--version 2.0.0-preview
98
152
```
99
153
154
+
#### [Bicep](#tab/bicep)
155
+
156
+
Create a Bicep template using the following example.
157
+
158
+
```bicep
159
+
@description('The name of the Managed Cluster resource.')
0 commit comments