File tree Expand file tree Collapse file tree 1 file changed +14
-15
lines changed
salt/metalk8s/addons/ui/deployed Expand file tree Collapse file tree 1 file changed +14
-15
lines changed Original file line number Diff line number Diff line change @@ -15,21 +15,20 @@ Remove legacy volumes and volumeMounts from metalk8s-ui deployment:
1515 - name: metalk8s-ui
1616 - namespace: metalk8s-ui
1717 - patch:
18- spec:
19- template:
20- spec:
21- containers:
22- - name: metalk8s-ui
23- volumeMounts:
24- - name: config-volume-metalk8s-ui
25- mountPath: /usr/share/nginx/html/.well-known/configs
26- readOnly: true
27- volumes:
28- - name: config-volume-metalk8s-ui
29- configMap:
30- name: metalk8s-ui-runtime-app-configuration
31- defaultMode: 420
32- - content_type: application/merge-patch+json
18+ - op: replace
19+ path: /spec/template/spec/containers/0/volumeMounts
20+ value:
21+ - name: config-volume-metalk8s-ui
22+ mountPath: /usr/share/nginx/html/.well-known/configs
23+ readOnly: true
24+ - op: replace
25+ path: /spec/template/spec/volumes
26+ value:
27+ - name: config-volume-metalk8s-ui
28+ configMap:
29+ name: metalk8s-ui-runtime-app-configuration
30+ defaultMode: 420
31+ - content_type: application/json-patch+json
3332
3433{%- endif %}
3534
You can’t perform that action at this time.
0 commit comments