Skip to content

Commit e420360

Browse files
committed
fix(helm): add support for extraargs
Signed-off-by: bsctl <[email protected]>
1 parent 87d3128 commit e420360

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

charts/capsule-proxy/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ appVersion: 0.5.0
33
description: Helm Chart for Capsule Proxy, addon for Capsule, the multi-tenant Operator
44
name: capsule-proxy
55
type: application
6-
version: 0.5.3
6+
version: 0.5.4
77
home: https://github.com/projectcapsule/capsule-proxy
88
icon: https://github.com/projectcapsule/capsule/raw/main/assets/logo/capsule_small.png
99
keywords:

charts/capsule-proxy/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ If you only need to make minor customizations, you can specify them on the comma
126126
| options.clientConnectionQPS | int | `20` | QPS to use for interacting with Kubernetes API Server. |
127127
| 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 |
128128
| options.enableSSL | bool | `true` | Specify if capsule-proxy will use SSL |
129+
| options.extraArgs | list | `[]` | A list of extra arguments to add to the capsule-proxy. |
129130
| options.generateCertificates | bool | `true` | Specify if capsule-proxy will generate self-signed SSL certificates |
130131
| options.ignoredUserGroups | list | `[]` | Define which groups must be ignored while proxying requests |
131132
| options.listeningPort | int | `9001` | Set the listening port of the capsule-proxy |

charts/capsule-proxy/templates/_pod.tpl

+3
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ spec:
5858
{{- end }}
5959
- --client-connection-qps={{ .Values.options.clientConnectionQPS }}
6060
- --client-connection-burst={{ .Values.options.clientConnectionBurst }}
61+
{{- with .Values.options.extraArgs }}
62+
{{- toYaml . | nindent 4 }}
63+
{{- end }}
6164
ports:
6265
- name: proxy
6366
protocol: TCP

charts/capsule-proxy/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ options:
135135
clientConnectionQPS: 20
136136
# -- Burst to use for interacting with kubernetes API Server.
137137
clientConnectionBurst: 30
138+
# -- A list of extra arguments to add to the capsule-proxy.
139+
extraArgs: []
138140

139141
jobs:
140142
certs:

0 commit comments

Comments
 (0)