Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(helm): add support for extraargs #402

Merged
merged 1 commit into from
Feb 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/capsule-proxy/Chart.yaml
Original file line number Diff line number Diff line change
@@ -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:
1 change: 1 addition & 0 deletions charts/capsule-proxy/README.md
Original file line number Diff line number Diff line change
@@ -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 |
3 changes: 3 additions & 0 deletions charts/capsule-proxy/templates/_pod.tpl
Original file line number Diff line number Diff line change
@@ -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
2 changes: 2 additions & 0 deletions charts/capsule-proxy/values.yaml
Original file line number Diff line number Diff line change
@@ -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: