Skip to content

Commit

Permalink
Merge pull request #659 from mkilchhofer/feature/helm-chart_extra-man…
Browse files Browse the repository at this point in the history
…ifests

feat(helm-chart): Add ability to deploy extra manifests
  • Loading branch information
tormath1 committed Jul 26, 2023
2 parents 3c3a467 + 5a5b6e3 commit 9151240
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 5 deletions.
4 changes: 2 additions & 2 deletions charts/nebraska/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ sources:
maintainers:
- name: kinvolk
url: https://kinvolk.io/
version: 1.0.0
appVersion: "2.8.0"
version: 1.1.0
appVersion: "2.8.6"

dependencies:
- name: postgresql
Expand Down
7 changes: 4 additions & 3 deletions charts/nebraska/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ $ helm install my-nebraska nebraska/nebraska

### Global parameters

| Parameter | Description | Default |
|---------------------------|------------------------------|---------|
| `global.imageRegistry` | Global Container image registry | `nil` |
| Parameter | Description | Default |
|---------------------------|---------------------------------------------------------------------------------------|---------|
| `global.imageRegistry` | Global Container image registry | `nil` |
| `extraObjects` | List of extra manifests to deploy. Will be passed through `tpl` to support templating | `[]` |

### Nebraska parameters

Expand Down
4 changes: 4 additions & 0 deletions charts/nebraska/templates/extra-manifests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{{ range .Values.extraObjects }}
---
{{ tpl (toYaml .) $ }}
{{ end }}
17 changes: 17 additions & 0 deletions charts/nebraska/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,3 +207,20 @@ postgresql:
serviceAccount:
create: true
automountServiceAccountToken: false

extraObjects: []
# - apiVersion: external-secrets.io/v1beta1
# kind: ExternalSecret
# metadata:
# name: my-external-secret
# namespace: '{{ .Release.Namespace }}'
# spec:
# secretStoreRef:
# kind: ClusterSecretStore
# name: my-secret-store
# target:
# name: my-kubernetes-secret
# data:
# - secretKey: secretKey
# remoteRef:
# key: /path/to/my-secret

0 comments on commit 9151240

Please sign in to comment.