Fix pod selectors

Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
This commit is contained in:
Patrick Uiterwijk 2019-05-29 17:10:57 +02:00
parent 932f98fed5
commit 3792988ca2

View file

@ -12,7 +12,11 @@ metadata:
spec:
replicas: 3
selector:
{% if objectname == "deploymentconfig-totpcgi-vpn.yml" %}
deploymentconfig: totpcgi-vpn
{% else %}
deploymentconfig: totpcgi
{% endif %}
strategy:
activeDeadlineSeconds: 21600
recreateParams: