From 3cda3377ee8cb3f082e78fbb8a4190c1dd7014bb Mon Sep 17 00:00:00 2001 From: David Kirwan Date: Mon, 6 Oct 2025 12:40:42 +0100 Subject: [PATCH] forgejo: update with prod/stg quay image and tag variables Signed-off-by: David Kirwan --- roles/openshift-apps/forgejo/templates/values.yaml.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/openshift-apps/forgejo/templates/values.yaml.j2 b/roles/openshift-apps/forgejo/templates/values.yaml.j2 index 7316c0c3b2..9d41ca55ad 100644 --- a/roles/openshift-apps/forgejo/templates/values.yaml.j2 +++ b/roles/openshift-apps/forgejo/templates/values.yaml.j2 @@ -50,9 +50,9 @@ clusterDomain: cluster.local ## @param image.fullOverride Completely overrides the image registry, path/image, tag and digest. **Adjust `image.rootless` accordingly and review [Rootless defaults](#rootless-defaults).** image: registry: quay.io - repository: konflux-fedora/fedora-infra-tenant/forgejo-oci-images-main-stable + repository: "{{ (env == 'production') | ternary(forgejo_prod_quay_image, forgejo_stg_quay_image) }}" # Overrides the image tag whose default is the chart appVersion. - tag: 'latest' + tag: "{{ (env == 'production') | ternary(forgejo_prod_quay_image_tag, forgejo_stg_quay_image_tag) }}" digest: '' pullPolicy: IfNotPresent rootless: true