From 8d8a86fbf25a2e6d6ad8aacf0d62423c3055eb83 Mon Sep 17 00:00:00 2001 From: Jim Fitzpatrick Date: Tue, 25 Feb 2025 16:16:58 +0000 Subject: [PATCH] FIX: rename issue Some instances were missed in the rename. Signed-off-by: Jim Fitzpatrick --- utils/release/dependencies/dependencies-manifests.sh | 6 +++--- utils/release/operator/make_chart.sh | 2 +- utils/release/operator/update_catalog_source.sh | 2 +- utils/release/pre-validation/verify_release_file.sh | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/utils/release/dependencies/dependencies-manifests.sh b/utils/release/dependencies/dependencies-manifests.sh index cf120630a..8d34d43d6 100755 --- a/utils/release/dependencies/dependencies-manifests.sh +++ b/utils/release/dependencies/dependencies-manifests.sh @@ -1,8 +1,8 @@ #!/usr/bin/env bash -authorino_version=v$(yq '.dependencies.Authorino' $env/release.yaml) -dns_version=v$(yq '.dependencies.DNS' $env/release.yaml) -limitador_version=v$(yq '.dependencies.Limitador' $env/release.yaml) +authorino_version=v$(yq '.dependencies.authorino-operator' $env/release.yaml) +dns_version=v$(yq '.dependencies.dns-operator' $env/release.yaml) +limitador_version=v$(yq '.dependencies.limitador-operator' $env/release.yaml) AUTHORINO_OPERATOR_GITREF=$authorino_version envsubst < $env/config/dependencies/authorino/kustomization.template.yaml > $env/config/dependencies/authorino/kustomization.yaml diff --git a/utils/release/operator/make_chart.sh b/utils/release/operator/make_chart.sh index 0e5a2ea41..6aa359f49 100755 --- a/utils/release/operator/make_chart.sh +++ b/utils/release/operator/make_chart.sh @@ -28,4 +28,4 @@ V="$(yq '.kuadrant-operator.version' $env/release.yaml)" yq --inplace eval '.ver V="$(yq '.kuadrant-operator.version' $env/release.yaml)" yq --inplace eval '.appVersion = strenv(V)' $env/charts/kuadrant-operator/Chart.yaml V="$(yq '.dependencies.authorino-operator' $env/release.yaml)" yq --inplace eval '(.dependencies[] | select(.name == "authorino-operator").version) = strenv(V)' $env/charts/kuadrant-operator/Chart.yaml V="$(yq '.dependencies.limitador-operator' $env/release.yaml)" yq --inplace eval '(.dependencies[] | select(.name == "limitador-operator").version) = strenv(V)' $env/charts/kuadrant-operator/Chart.yaml -V="$(yq '.dependencies.dns-operartor' $env/release.yaml)" yq --inplace eval '(.dependencies[] | select(.name == "dns-operator").version) = strenv(V)' $env/charts/kuadrant-operator/Chart.yaml +V="$(yq '.dependencies.dns-operator' $env/release.yaml)" yq --inplace eval '(.dependencies[] | select(.name == "dns-operator").version) = strenv(V)' $env/charts/kuadrant-operator/Chart.yaml diff --git a/utils/release/operator/update_catalog_source.sh b/utils/release/operator/update_catalog_source.sh index cf1b3eb30..dba258e58 100755 --- a/utils/release/operator/update_catalog_source.sh +++ b/utils/release/operator/update_catalog_source.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash -v=quay.io/kuadrant/kuadrant-operator-catalog:v$(yq '.kuadrant-operator.release' $env/release.yaml) \ +v=quay.io/kuadrant/kuadrant-operator-catalog:v$(yq '.kuadrant-operator.version' $env/release.yaml) \ yq eval --inplace '.spec.image = strenv(v)' $env/config/deploy/olm/catalogsource.yaml diff --git a/utils/release/pre-validation/verify_release_file.sh b/utils/release/pre-validation/verify_release_file.sh index 9b0bb9bd2..5b01fe371 100755 --- a/utils/release/pre-validation/verify_release_file.sh +++ b/utils/release/pre-validation/verify_release_file.sh @@ -21,7 +21,7 @@ check_field() { check_field ".olm.channels" "olm.channels" check_field ".olm.default-channel" "olm.default-channel" -check_field ".kuadrant.version" "kuadrant.version" +check_field ".kuadrant-operator.version" "kuadrant.version" check_field ".dependencies.authorino-operator" "dependencies.authorino-operator" check_field ".dependencies.console-plugin" "dependencies.console-plugin" check_field ".dependencies.dns-operator" "dependencies.dns-operator"