Skip to content

Commit

Permalink
Adding support for extraManifests for the chart
Browse files Browse the repository at this point in the history
  • Loading branch information
JunaidChaudry committed Jun 6, 2023
1 parent 835c3fa commit cb1ae1d
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 0 deletions.
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

0 comments on commit cb1ae1d

Please sign in to comment.