Skip to content

Commit 2eeb7df

Browse files
committed
Adding support for extraManifests for the chart
1 parent 835c3fa commit 2eeb7df

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

Diff for: jupyterhub/templates/extraManifests.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{{ range .Values.extraObjects }}
2+
---
3+
{{ tpl (toYaml .) $ }}
4+
{{ end }}

Diff for: jupyterhub/values.schema.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -2925,3 +2925,8 @@ properties:
29252925
A flag that should only be set to true temporarily when experiencing a
29262926
deprecation message that contain censored content that you wish to
29272927
reveal.
2928+
2929+
extraManifests:
2930+
type: array
2931+
description: |
2932+
Any additional K8s manifests to deploy with the chart

Diff for: jupyterhub/values.yaml

+23
Original file line numberDiff line numberDiff line change
@@ -659,3 +659,26 @@ debug:
659659

660660
global:
661661
safeToShowValues: false
662+
663+
# -- Array of extra K8s manifests to deploy
664+
extraObjects: []
665+
# example:
666+
# - apiVersion: secrets-store.csi.x-k8s.io/v1
667+
# kind: SecretProviderClass
668+
# metadata:
669+
# name: singleuser-hub-secrets-store
670+
# spec:
671+
# provider: aws
672+
# parameters:
673+
# objects: |
674+
# - objectName: "singleuser-secret"
675+
# objectType: "secretsmanager"
676+
# jmesPath:
677+
# - path: "somevar"
678+
# objectAlias: "somevalue"
679+
# secretObjects:
680+
# - data:
681+
# - key: somevalue
682+
# objectName: somevalue
683+
# secretName: singleuser-secret
684+
# type: Opaque

0 commit comments

Comments
 (0)