diff --git a/kubernetes.yaml b/kubernetes.yaml index e06ee1408c3177f4472a79bf294666b5f4f47a58..de559ab00e35550a6bac7fb52a93f52f8e19f2eb 100644 --- a/kubernetes.yaml +++ b/kubernetes.yaml @@ -23,7 +23,7 @@ spec: - cp - -a - /public - - /usr/share/nginx/ + - /usr/share/nginx/html volumeMounts: - name: web mountPath: /usr/share/nginx @@ -53,8 +53,8 @@ spec: periodSeconds: 60 volumeMounts: - name: web - mountPath: /usr/share/nginx/public - subPath: public + mountPath: /usr/share/nginx/html + subPath: html volumes: - name: web emptyDir: {}