From f614850bb8fd507bf15ed638423f5b2ec9c6270b Mon Sep 17 00:00:00 2001 From: David Kirwan Date: Jan 21 2025 10:43:07 +0000 Subject: firmitas: change location of certlist.yml in myconfig.py Signed-off-by: David Kirwan --- diff --git a/roles/openshift-apps/firmitas/templates/myconfig.py.j2 b/roles/openshift-apps/firmitas/templates/myconfig.py.j2 index 0c5c2d4..e73839c 100644 --- a/roles/openshift-apps/firmitas/templates/myconfig.py.j2 +++ b/roles/openshift-apps/firmitas/templates/myconfig.py.j2 @@ -59,7 +59,8 @@ Variables related to probing certloca = "/tmp/firmitas/{{ (env == 'staging')|ternary('certificates/staging', 'certificates/production') }}" # noqa : S108 # The location of the service hostnames and maintainers map -hostloca = "/tmp/firmitas/{{ (env == 'staging')|ternary('conf', 'conf') }}/certlist.yml" +# Inside the container you do not have write access to /tmp/firmitas/conf, for that reason, we're using the same location as the certificates. +hostloca = "/tmp/firmitas/{{ (env == 'staging')|ternary('certificates/staging', 'certificates/production') }}/certlist.yml" """ Variables related to logging