From 7452353c8aaa7aa4aa4cdc8df9176d9920a50384 Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Sun, 5 Mar 2023 18:21:52 +0200 Subject: [PATCH 1/3] add GIT_INTEGRATION_PROVIDER env to initContainer --- charts/gitops-runtime/templates/app-proxy/_app-proxy-env.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/charts/gitops-runtime/templates/app-proxy/_app-proxy-env.yaml b/charts/gitops-runtime/templates/app-proxy/_app-proxy-env.yaml index ad2c44bd..db0e76d0 100644 --- a/charts/gitops-runtime/templates/app-proxy/_app-proxy-env.yaml +++ b/charts/gitops-runtime/templates/app-proxy/_app-proxy-env.yaml @@ -22,4 +22,7 @@ GIT_PASSWORD: {{- define "codefresh-gitops-runtime.app-proxy.init-container.calculated-env-vars"}} USER_TOKEN: {{- include "codefresh-gitops-runtime.installation-token-env-var-value" . | nindent 2 }} + {{- if .Values.global.codefresh.gitIntegration.provider.name }} +GIT_INTEGRATION_PROVIDER: {{ include "codefresh-gitops-runtime.git-integration.provider" .}} + {{- end }} {{- end }} \ No newline at end of file From 017e2cbb57f45ef8b578071d0ebd7e1b10594905 Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Sun, 5 Mar 2023 18:22:26 +0200 Subject: [PATCH 2/3] updated chart version --- charts/gitops-runtime/Chart.yaml | 2 +- charts/gitops-runtime/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/gitops-runtime/Chart.yaml b/charts/gitops-runtime/Chart.yaml index e6d27022..8a3d2077 100644 --- a/charts/gitops-runtime/Chart.yaml +++ b/charts/gitops-runtime/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v0.0.1 description: A Helm chart for Codefresh gitops runtime name: gitops-runtime -version: 0.2.0-alpha-3 +version: 0.2.0-alpha-4 home: https://github.com/codefresh-io/gitops-runtime-helm keywords: - codefresh diff --git a/charts/gitops-runtime/README.md b/charts/gitops-runtime/README.md index ce25faf3..56a8b4c3 100644 --- a/charts/gitops-runtime/README.md +++ b/charts/gitops-runtime/README.md @@ -1,6 +1,6 @@ # gitops-runtime -![Version: 0.2.0-alpha-3](https://img.shields.io/badge/Version-0.2.0--alpha--3-informational?style=flat-square) ![AppVersion: v0.0.1](https://img.shields.io/badge/AppVersion-v0.0.1-informational?style=flat-square) +![Version: 0.2.0-alpha-4](https://img.shields.io/badge/Version-0.2.0--alpha--4-informational?style=flat-square) ![AppVersion: v0.0.1](https://img.shields.io/badge/AppVersion-v0.0.1-informational?style=flat-square) A Helm chart for Codefresh gitops runtime From 2f749f2f8b5cbdf05f3023387eed0c03129e20e6 Mon Sep 17 00:00:00 2001 From: Noam Gal Date: Sun, 5 Mar 2023 22:01:21 +0200 Subject: [PATCH 3/3] bumped app-proxy to `1.2142.0` --- charts/gitops-runtime/README.md | 4 ++-- charts/gitops-runtime/values.yaml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/gitops-runtime/README.md b/charts/gitops-runtime/README.md index 56a8b4c3..eaf58dd4 100644 --- a/charts/gitops-runtime/README.md +++ b/charts/gitops-runtime/README.md @@ -35,13 +35,13 @@ A Helm chart for Codefresh gitops runtime | app-proxy.fullnameOverride | string | `"cap-app-proxy"` | | | app-proxy.image.pullPolicy | string | `"IfNotPresent"` | | | app-proxy.image.repository | string | `"quay.io/codefresh/cap-app-proxy"` | | -| app-proxy.image.tag | string | `"1.2140.0"` | | +| app-proxy.image.tag | string | `"1.2142.0"` | | | app-proxy.imagePullSecrets | list | `[]` | | | app-proxy.initContainer.command[0] | string | `"./init.sh"` | | | app-proxy.initContainer.env | object | `{}` | | | app-proxy.initContainer.image.pullPolicy | string | `"IfNotPresent"` | | | app-proxy.initContainer.image.repository | string | `"quay.io/codefresh/cap-app-proxy-init"` | | -| app-proxy.initContainer.image.tag | string | `"1.2140.0"` | | +| app-proxy.initContainer.image.tag | string | `"1.2142.0"` | | | app-proxy.initContainer.resources.limits.cpu | string | `"1"` | | | app-proxy.initContainer.resources.limits.memory | string | `"512Mi"` | | | app-proxy.initContainer.resources.requests.cpu | string | `"0.2"` | | diff --git a/charts/gitops-runtime/values.yaml b/charts/gitops-runtime/values.yaml index a948c567..0381cfa7 100644 --- a/charts/gitops-runtime/values.yaml +++ b/charts/gitops-runtime/values.yaml @@ -254,14 +254,14 @@ app-proxy: image: repository: quay.io/codefresh/cap-app-proxy # Overrides the image tag whose default is the chart appVersion. - tag: 1.2140.0 + tag: 1.2142.0 pullPolicy: IfNotPresent initContainer: image: repository: quay.io/codefresh/cap-app-proxy-init # Overrides the image tag whose default is the chart appVersion. - tag: 1.2140.0 + tag: 1.2142.0 pullPolicy: IfNotPresent command: - ./init.sh