Skip to content

Commit 5fc4832

Browse files
committedDec 24, 2024·
chore(charts): add support for proxy url
Signed-off-by: Massimiliano Giovagnoli <me@maxgio.it>
1 parent 7dac5d1 commit 5fc4832

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed
 

‎charts/capsule-addon-fluxcd/Chart.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.1.2
18+
version: 0.2.0
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: 0.2.0
24+
appVersion: 0.2.2

‎charts/capsule-addon-fluxcd/README.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# capsule-addon-fluxcd
22

3-
![Version: 0.1.2](https://img.shields.io/badge/Version-0.1.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.2.0](https://img.shields.io/badge/AppVersion-0.2.0-informational?style=flat-square)
3+
![Version: 0.2.0](https://img.shields.io/badge/Version-0.2.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.2.2](https://img.shields.io/badge/AppVersion-0.2.2-informational?style=flat-square)
44

55
A Helm chart for Kubernetes
66

@@ -20,9 +20,10 @@ A Helm chart for Kubernetes
2020
| options.logLevel | string | `"4"` | Set the log verbosity of the capsule with a value from 1 to 10 |
2121
| podAnnotations | object | `{}` | |
2222
| podSecurityContext | object | `{}` | |
23-
| proxy | object | `{"tls":{"secretKey":"ca","secretName":"capsule-proxy"}}` | - Configure deployments settings related to the Capsule proxy |
23+
| proxy | object | `{"tls":{"secretKey":"ca","secretName":"capsule-proxy"},"url":"https://capsule-proxy.capsule-system.svc:9001"}` | - Configure deployments settings related to the Capsule proxy |
2424
| proxy.tls.secretKey | string | `"ca"` | - Set the Secret key that contains the CA certificate of the proxy |
2525
| proxy.tls.secretName | string | `"capsule-proxy"` | - Set the Secret name that contains the CA certificate of the proxy |
26+
| proxy.url | string | `"https://capsule-proxy.capsule-system.svc:9001"` | - Set the Capsule proxy Service URL |
2627
| rbac.annotations | object | `{}` | |
2728
| rbac.create | bool | `true` | |
2829
| readinessProbe | object | `{"httpGet":{"path":"/readyz","port":10080}}` | Configure the readiness probe using Deployment probe spec |

‎charts/capsule-addon-fluxcd/templates/deployment.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ spec:
3030
args:
3131
- manager
3232
- --proxy-ca-path=/tmp/proxy-tls/{{ .Values.proxy.tls.secretKey }}
33+
- --proxy-url={{ .Values.proxy.url }}
3334
- --zap-log-level={{ default 4 .Values.options.logLevel }}
3435
securityContext:
3536
{{- toYaml .Values.securityContext | nindent 12 }}

‎charts/capsule-addon-fluxcd/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ proxy:
2121
secretName: "capsule-proxy"
2222
# --- Set the Secret key that contains the CA certificate of the proxy
2323
secretKey: "ca"
24+
# --- Set the Capsule proxy Service URL
25+
url: https://capsule-proxy.capsule-system.svc:9001
2426

2527
# -- Configure the liveness probe using Deployment probe spec
2628
livenessProbe:

0 commit comments

Comments
 (0)
Please sign in to comment.