fedora-ostree-pruner: fix jinja2 conditional for content-volume
Fix issue with yaml to json conversion.
This commit is contained in:
parent
f8d06a6812
commit
5bbb4f6550
1 changed files with 3 additions and 3 deletions
|
@ -12,12 +12,12 @@ spec:
|
|||
storageClassName: "ocs-storagecluster-cephfs"
|
||||
# fedora-ostree-content-volume-2 is one of two PVs that share
|
||||
# the fedora-ostree-content NetApp volume
|
||||
{% if env == "production" %}
|
||||
{% if env == "production" %}
|
||||
volumeName: "fedora-ostree-content-volume-2"
|
||||
{% elif env == "staging" %}
|
||||
{% elif env == "staging" %}
|
||||
# fedora-ostree-content-volume-2 is not available in staging
|
||||
volumeName: "fedora-ostree-content-volume-1"
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
# These values are mostly ignored since we're using a named
|
||||
# volume, but are required.
|
||||
accessModes:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue