Skip to content

Commit 3700512

Browse files
committed
feat: add extra manifests for capsule-proxy (#1001)
* feat: chart additions Signed-off-by: Oliver Baehler <oliver@sudo-i.net> * feat: chart additions Signed-off-by: Oliver Baehler <oliver@sudo-i.net> --------- Signed-off-by: Oliver Baehler <oliver@sudo-i.net>
1 parent 771b6ec commit 3700512

4 files changed

Lines changed: 18 additions & 0 deletions

File tree

charts/capsule-proxy/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ If you only need to make minor customizations, you can specify them on the comma
136136
| daemonset.hostNetwork | bool | `false` | Use the host network namespace for capsule-proxy pod. |
137137
| daemonset.hostPort | bool | `false` | Binding the capsule-proxy listening port to the host port. |
138138
| env | list | `[]` | Additional environment variables |
139+
| extraManifests | list | `[]` | Array of additional resources to be created alongside Capsule-Proxy helm chart |
139140
| hostNetwork | bool | `false` | When deployed as DaemonSet use |
140141
| hostUsers | bool | `true` | Don't use Host Users (User Namespaces) |
141142
| image.pullPolicy | string | `"IfNotPresent"` | Set the image pull policy. |
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{{ range .Values.extraManifests }}
2+
---
3+
{{ tpl (toYaml .) $ }}
4+
{{ end }}

charts/capsule-proxy/values.schema.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,10 @@
154154
"description": "Additional environment variables",
155155
"type": "array"
156156
},
157+
"extraManifests": {
158+
"description": "Array of additional resources to be created alongside Capsule-Proxy helm chart",
159+
"type": "array"
160+
},
157161
"gangplank": {
158162
"type": "object",
159163
"properties": {

charts/capsule-proxy/values.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,15 @@ serviceMonitor:
471471
# -- Set relabelings for the endpoint of the serviceMonitor
472472
relabelings: []
473473

474+
# -- Array of additional resources to be created alongside Capsule-Proxy helm chart
475+
extraManifests: []
476+
# - apiVersion: v1
477+
# kind: ConfigMap
478+
# metadata:
479+
# name: extra-configmap
480+
# data:
481+
# key: value
482+
474483
# Deploys Gangplank for OIDC Kubeconfig Generation
475484
gangplank:
476485
# -- Enable Gangplank

0 commit comments

Comments
 (0)