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:
parent
62df6dfaf0
commit
336d4e71ce
1 changed files with 3 additions and 0 deletions
|
@ -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: {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue