fixing variable usage

This commit is contained in:
lrossett 2021-06-17 11:39:00 -03:00 committed by kevin
parent 8f2f658206
commit f443caaa0e
4 changed files with 10 additions and 6 deletions

View file

@ -25,8 +25,8 @@ data:
Require valid-user
</LimitExcept>
</Location>
{% if deployment_type not in ['local', 'dev'] %}
---
{% if deployment_type not in ['local', 'dev']%}
apiVersion: v1
kind: ConfigMap
metadata:

View file

@ -58,6 +58,7 @@ spec:
- name: httpd-config-volume
mountPath: /etc/httpd/conf.d
readOnly: true
{% if deployment_type not in ['local', 'dev']%}
- name: fedora-messaging-ca-volume
mountPath: /etc/pki/rabbitmq/ca
readOnly: true
@ -70,6 +71,7 @@ spec:
- name: fedora-messaging-config-volume
mountPath: /etc/fedora-messaging
readOnly: true
{% endif %}
readinessProbe:
timeoutSeconds: 1
initialDelaySeconds: 5
@ -96,6 +98,7 @@ spec:
- name: httpd-config-volume
configMap:
name: "resultsdb-httpd-config"
{% if deployment_type not in ['local', 'dev']%}
- name: fedora-messaging-config-volume
configMap:
name: fedora-messaging-configmap
@ -108,5 +111,6 @@ spec:
- name: fedora-messaging-key-volume
secret:
secretName: resultsdb-fedora-messaging-key
{% endif %}
triggers:
- type: ConfigChange
- type: ConfigChange}

View file

@ -1,6 +1,4 @@
resultsdb_publish: true
resultsdb_mod_wsgi_dir: '${MOD_WSGI_MODULES_DIRECTORY}'
resultsdb_additional_result_outcomes: []
resultsdb_image: quay.io/fedora/resultsdb:latest
resultsdb_additional_result_outcomes: []