adds a check for the deployment_type var
This commit is contained in:
parent
48b8957386
commit
97c9915b94
1 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ spec:
|
|||
- name: config-volume
|
||||
mountPath: /etc/ci-resultsdb-listener
|
||||
readOnly: true
|
||||
{% if deployment_type not in ['local', 'dev'] %}
|
||||
{% if deployment_type is defined and deployment_type not in ['local', 'dev'] %}
|
||||
- name: fedora-messaging-ca-volume
|
||||
mountPath: /etc/pki/rabbitmq/ca
|
||||
readOnly: true
|
||||
|
@ -43,7 +43,7 @@ spec:
|
|||
- name: config-volume
|
||||
configMap:
|
||||
name: resultsdb-ci-listener-cfg
|
||||
{% if deployment_type not in ['local', 'dev']%}
|
||||
{% if deployment_type is defined and deployment_type not in ['local', 'dev']%}
|
||||
- name: fedora-messaging-config-volume
|
||||
configMap:
|
||||
name: fedora-messaging-configmap
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue