diff --git a/roles/openshift-apps/message-tagging-service/templates/deploymentconfig.yml b/roles/openshift-apps/message-tagging-service/templates/deploymentconfig.yml index 08c84aa817..c4fcefa8ab 100644 --- a/roles/openshift-apps/message-tagging-service/templates/deploymentconfig.yml +++ b/roles/openshift-apps/message-tagging-service/templates/deploymentconfig.yml @@ -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: