Update nginx-slim image version and remove default command
This commit is contained in:
@@ -31,15 +31,10 @@ spec:
|
|||||||
terminationGracePeriodSeconds: 0
|
terminationGracePeriodSeconds: 0
|
||||||
containers:
|
containers:
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: gcr.io/google_containers/nginx-slim:0.7
|
image: gcr.io/google_containers/nginx-slim:0.8
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
name: web
|
name: web
|
||||||
command:
|
|
||||||
- nginx
|
|
||||||
args:
|
|
||||||
- -g
|
|
||||||
- "daemon off;"
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: www
|
- name: www
|
||||||
mountPath: /usr/share/nginx/html
|
mountPath: /usr/share/nginx/html
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ spec:
|
|||||||
terminationGracePeriodSeconds: 0
|
terminationGracePeriodSeconds: 0
|
||||||
containers:
|
containers:
|
||||||
- name: nginx
|
- name: nginx
|
||||||
image: gcr.io/google_containers/nginx-slim:0.7
|
image: gcr.io/google_containers/nginx-slim:0.8
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
name: web
|
name: web
|
||||||
|
|||||||
Reference in New Issue
Block a user