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
|
- name: config-volume
|
||||||
mountPath: /etc/ci-resultsdb-listener
|
mountPath: /etc/ci-resultsdb-listener
|
||||||
readOnly: true
|
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
|
- name: fedora-messaging-ca-volume
|
||||||
mountPath: /etc/pki/rabbitmq/ca
|
mountPath: /etc/pki/rabbitmq/ca
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
@ -43,7 +43,7 @@ spec:
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
configMap:
|
configMap:
|
||||||
name: resultsdb-ci-listener-cfg
|
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
|
- name: fedora-messaging-config-volume
|
||||||
configMap:
|
configMap:
|
||||||
name: fedora-messaging-configmap
|
name: fedora-messaging-configmap
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue