mts: workaround to trigger os automatically to create a new pod

Signed-off-by: Chenxiong Qi <cqi@redhat.com>
This commit is contained in:
Chenxiong Qi 2019-09-20 21:39:33 +08:00 committed by Pierre-Yves Chibon
parent c87f75402e
commit 60d5bacd4f

View file

@ -19,6 +19,13 @@ spec:
containers:
- name: mts
image: docker-registry.default.svc:5000/message-tagging-service/message-tagging-service:latest
env:
# Please do remember to increase this config version after any config
# file content is updated.
# This is a workaround to trigger Openshift automatically to create a
# new pod.
- name: MTS_CONFIG_VERSION
value: 1
ports:
- containerPort: 8080
volumeMounts: