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
@@ -263,7 +263,7 @@ Add following key-values to the App Configuration store and leave **Label** and
263
263
> - The ConfigMap will be reset based on the present data in your App Configuration store if it's deleted or modified by any other means.
264
264
> - The ConfigMap will be deleted if the App Configuration Kubernetes Provider is uninstalled.
265
265
266
-
2. Update the *deployment.yaml* file in the *Deployment* directory to use the ConfigMap `configmap-created-by-appconfig-provider` as a mounted data volume. It is important to ensure that the `volumeMounts.mountPath` matches the `WORKDIR` specified in your *Dockerfile*.
266
+
2. Update the *deployment.yaml* file in the *Deployment* directory to use the ConfigMap `configmap-created-by-appconfig-provider` as a mounted data volume. It is important to ensure that the `volumeMounts.mountPath` matches the `WORKDIR` specified in your *Dockerfile* and the *config* directory created before.
267
267
268
268
```yaml
269
269
apiVersion: apps/v1
@@ -289,14 +289,11 @@ Add following key-values to the App Configuration store and leave **Label** and
289
289
- containerPort: 80
290
290
volumeMounts:
291
291
- name: config-volume
292
-
mountPath: /app
292
+
mountPath: /app/config
293
293
volumes:
294
294
- name: config-volume
295
295
configMap:
296
296
name: configmap-created-by-appconfig-provider
297
-
items:
298
-
- key: mysettings.json
299
-
path: mysettings.json
300
297
```
301
298
302
299
3. Run the following command to deploy the changes. Replace the namespace if you are using your existing AKS application.
0 commit comments