From 397c2ac41cad4106083b7030651d7c6b8a940786 Mon Sep 17 00:00:00 2001 From: Massimiliano Giovagnoli Date: Tue, 24 Dec 2024 17:38:55 +0100 Subject: [PATCH] chore(charts): add support for proxy url Signed-off-by: Massimiliano Giovagnoli --- charts/capsule-addon-fluxcd/Chart.yaml | 4 ++-- charts/capsule-addon-fluxcd/templates/deployment.yaml | 1 + charts/capsule-addon-fluxcd/values.yaml | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/charts/capsule-addon-fluxcd/Chart.yaml b/charts/capsule-addon-fluxcd/Chart.yaml index 652998b..d53c747 100644 --- a/charts/capsule-addon-fluxcd/Chart.yaml +++ b/charts/capsule-addon-fluxcd/Chart.yaml @@ -15,10 +15,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.2 +version: 0.2.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: 0.2.0 +appVersion: 0.2.2 diff --git a/charts/capsule-addon-fluxcd/templates/deployment.yaml b/charts/capsule-addon-fluxcd/templates/deployment.yaml index 45a3d50..0f1528f 100644 --- a/charts/capsule-addon-fluxcd/templates/deployment.yaml +++ b/charts/capsule-addon-fluxcd/templates/deployment.yaml @@ -30,6 +30,7 @@ spec: args: - manager - --proxy-ca-path=/tmp/proxy-tls/{{ .Values.proxy.tls.secretKey }} + - --proxy-url={{ .Values.proxy.url }} - --zap-log-level={{ default 4 .Values.options.logLevel }} securityContext: {{- toYaml .Values.securityContext | nindent 12 }} diff --git a/charts/capsule-addon-fluxcd/values.yaml b/charts/capsule-addon-fluxcd/values.yaml index e511aae..891b150 100644 --- a/charts/capsule-addon-fluxcd/values.yaml +++ b/charts/capsule-addon-fluxcd/values.yaml @@ -21,6 +21,8 @@ proxy: secretName: "capsule-proxy" # --- Set the Secret key that contains the CA certificate of the proxy secretKey: "ca" + # --- Set the Capsule proxy Service URL + url: https://capsule-proxy.capsule-system.svc:9001 # -- Configure the liveness probe using Deployment probe spec livenessProbe: