Skip to content

Commit

Permalink
fix(helm): add support for extraargs (#402)
Browse files Browse the repository at this point in the history
Signed-off-by: bsctl <[email protected]>
  • Loading branch information
bsctl authored Feb 28, 2024
1 parent 49edaaf commit 77b11ad
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/capsule-proxy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ appVersion: 0.5.0
description: Helm Chart for Capsule Proxy, addon for Capsule, the multi-tenant Operator
name: capsule-proxy
type: application
version: 0.5.3
version: 0.5.4
home: https://github.com/projectcapsule/capsule-proxy
icon: https://github.com/projectcapsule/capsule/raw/main/assets/logo/capsule_small.png
keywords:
Expand Down
1 change: 1 addition & 0 deletions charts/capsule-proxy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ If you only need to make minor customizations, you can specify them on the comma
| options.clientConnectionQPS | int | `20` | QPS to use for interacting with Kubernetes API Server. |
| options.disableCaching | bool | `false` | Disable the go-client caching to hit directly the Kubernetes API Server, it disables any local caching as the rolebinding reflector |
| options.enableSSL | bool | `true` | Specify if capsule-proxy will use SSL |
| options.extraArgs | list | `[]` | A list of extra arguments to add to the capsule-proxy. |
| options.generateCertificates | bool | `true` | Specify if capsule-proxy will generate self-signed SSL certificates |
| options.ignoredUserGroups | list | `[]` | Define which groups must be ignored while proxying requests |
| options.listeningPort | int | `9001` | Set the listening port of the capsule-proxy |
Expand Down
3 changes: 3 additions & 0 deletions charts/capsule-proxy/templates/_pod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ spec:
{{- end }}
- --client-connection-qps={{ .Values.options.clientConnectionQPS }}
- --client-connection-burst={{ .Values.options.clientConnectionBurst }}
{{- with .Values.options.extraArgs }}
{{- toYaml . | nindent 4 }}
{{- end }}
ports:
- name: proxy
protocol: TCP
Expand Down
2 changes: 2 additions & 0 deletions charts/capsule-proxy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ options:
clientConnectionQPS: 20
# -- Burst to use for interacting with kubernetes API Server.
clientConnectionBurst: 30
# -- A list of extra arguments to add to the capsule-proxy.
extraArgs: []

jobs:
certs:
Expand Down

0 comments on commit 77b11ad

Please sign in to comment.