diff --git a/charts/horizon/Chart.yaml b/charts/horizon/Chart.yaml index 5d1aea4..245fab8 100644 --- a/charts/horizon/Chart.yaml +++ b/charts/horizon/Chart.yaml @@ -4,7 +4,7 @@ description: A CICD DevOps Platform type: application -version: 2.2.1 +version: 2.2.2 appVersion: v2.4.0 dependencies: - name: common diff --git a/charts/horizon/charts/tektonci-resources/values.yaml b/charts/horizon/charts/tektonci-resources/values.yaml index 5678b30..2d12997 100644 --- a/charts/horizon/charts/tektonci-resources/values.yaml +++ b/charts/horizon/charts/tektonci-resources/values.yaml @@ -202,6 +202,11 @@ horizon: export GIT_REPOSITORY_URL="$(params.gitRepositoryUrl)" export IMAGE_URL="$(params.imageURL)" + if [ -z $IMAGE_URL ]; then + echo "there's no image found, skipping..." + exit 0 + fi + is_json(){ local INPUT="$1" [[ ! -z "$(jq -c "objects"<<<"$INPUT" 2>/dev/null)" ]] && return 0 || return 1 diff --git a/charts/horizon/values.yaml b/charts/horizon/values.yaml index e066328..5df72a4 100644 --- a/charts/horizon/values.yaml +++ b/charts/horizon/values.yaml @@ -2104,7 +2104,7 @@ web: replicas: 1 image: repository: horizoncd/horizon-web - tag: v2.3.0 + tag: v2.3.1 securityContext: runAsUser: 10001 fsGroup: 10001