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

Adding support for extraManifests for the chart #3134

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
4 changes: 4 additions & 0 deletions jupyterhub/templates/extraManifests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{{ range .Values.extraObjects }}
---
{{ tpl (toYaml .) $ }}
{{ end }}
5 changes: 5 additions & 0 deletions jupyterhub/values.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2925,3 +2925,8 @@ properties:
A flag that should only be set to true temporarily when experiencing a
deprecation message that contain censored content that you wish to
reveal.

extraObjects:
type: array
description: |
Any additional K8s manifests to deploy with the chart
23 changes: 23 additions & 0 deletions jupyterhub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -659,3 +659,26 @@ debug:

global:
safeToShowValues: false

# -- Array of extra K8s manifests to deploy
extraObjects: []
# example:
# - apiVersion: secrets-store.csi.x-k8s.io/v1
# kind: SecretProviderClass
# metadata:
# name: singleuser-hub-secrets-store
# spec:
# provider: aws
# parameters:
# objects: |
# - objectName: "singleuser-secret"
# objectType: "secretsmanager"
# jmesPath:
# - path: "somevar"
# objectAlias: "somevalue"
# secretObjects:
# - data:
# - key: somevalue
# objectName: somevalue
# secretName: singleuser-secret
# type: Opaque
Loading