Skip to content

Commit

Permalink
chore(charts): add support for proxy url
Browse files Browse the repository at this point in the history
Signed-off-by: Massimiliano Giovagnoli <[email protected]>
  • Loading branch information
maxgio92 committed Dec 24, 2024
1 parent 7dac5d1 commit 397c2ac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/capsule-addon-fluxcd/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
1 change: 1 addition & 0 deletions charts/capsule-addon-fluxcd/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
2 changes: 2 additions & 0 deletions charts/capsule-addon-fluxcd/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 397c2ac

Please sign in to comment.