trying to fix "field is immutable" error from oc apply

I don't think we should be trying to set creationTimestamp, pretty sure
this is the field that OpenShift is complaining about.

Limited to stage because I don't want to risk breaking anything.
This commit is contained in:
Dan Callaghan 2017-09-29 20:35:54 +10:00
parent 62df6dfaf0
commit 336d4e71ce

View file

@ -4,7 +4,10 @@ metadata:
annotations:
openshift.io/description: "{{description}}"
openshift.io/display-name: "{{app}}"
{% if env == 'staging' %}
{% else %}
creationTimestamp: null
{% endif %}
name: "{{app}}"
spec: {}
status: {}