Merge "k8s/OpenShift Provider: Remove workingDir Attribute"
This commit is contained in:
commit
424bb89ed1
@ -281,7 +281,6 @@ class KubernetesProvider(Provider, QuotaSupport):
|
||||
'imagePullPolicy': label.image_pull,
|
||||
'command': ["/bin/sh", "-c"],
|
||||
'args': ["while true; do sleep 30; done;"],
|
||||
'workingDir': '/tmp',
|
||||
'env': label.env,
|
||||
}
|
||||
|
||||
|
@ -210,7 +210,6 @@ class OpenshiftProvider(Provider):
|
||||
'imagePullPolicy': label.image_pull,
|
||||
'command': ["/bin/sh", "-c"],
|
||||
'args': ["while true; do sleep 30; done;"],
|
||||
'workingDir': '/tmp',
|
||||
'env': label.env,
|
||||
}
|
||||
if label.cpu or label.memory:
|
||||
|
@ -0,0 +1,10 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
The k8s and OpenShift providers do not longer set the workingDir attribute
|
||||
of their container specs to /tmp.
|
||||
|
||||
For increased flexibility for the user, the working dir specified in the
|
||||
container images Dockerfile is used as the default in container nodes.
|
||||
Please note that this might often be the root dir ('/') if not specified
|
||||
otherwise by the respective Dockerfiles WORKDIR directive.
|
Loading…
Reference in New Issue
Block a user