Updated README

This commit is contained in:
Nikolas
2021-07-25 19:13:54 +03:00
parent 9ef2e7d3fe
commit c30fcdbdf0

View File

@@ -74,23 +74,23 @@ spec:
limits:
memory: "128Mi"
cpu: "180m"
volumeMounts:
- name: webserver-config
mountPath: /etc/nginx/nginx.conf
subPath: nginx.conf
- name: webserver-config
mountPath: /etc/nginx/conf.d/nginx-http.conf
subPath: nginx-http.conf
- mountPath: /var/www/html
name: nginx-vol
# volumeMounts:
# - name: webserver-config
# mountPath: /etc/nginx/nginx.conf
# subPath: nginx.conf
# - name: webserver-config
# mountPath: /etc/nginx/conf.d/nginx-http.conf
# subPath: nginx-http.conf
# - mountPath: /var/www/html
# name: nginx-vol
restartPolicy: Always
volumes:
- name: webserver-config
configMap:
name: webserver-config
- name: nginx-vol
persistentVolumeClaim:
claimName: nginx-pvc
# volumes:
# - name: webserver-config
# configMap:
# name: webserver-config
# - name: nginx-vol
# persistentVolumeClaim:
# claimName: nginx-pvc
```
## License