Allowing CRD toggling in sealed-secrets chart. (#12822)

* Adding crd toggle to sealed-secrets chart.

Signed-off-by: Steven Wade <steven@stevenwade.co.uk>

* Bumping the sealed-secrets chart.

Signed-off-by: Steven Wade <steven@stevenwade.co.uk>
This commit is contained in:
Steven Wade
2019-04-04 06:46:51 -07:00
committed by Kubernetes Prow Robot
parent eb4ba54569
commit c7edb3f301
4 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
name: sealed-secrets
description: A Helm chart for Sealed Secrets
version: 1.0.1
version: 1.0.2
appVersion: 0.7.0
kubeVersion: ">=1.9.0-0"
home: https://github.com/bitnami-labs/sealed-secrets
+1
View File
@@ -39,6 +39,7 @@ The command removes all the Kubernetes components associated with the chart and
| **image.pullPolicy** | The image pull policy for the deployment | `IfNotPresent` |
| **image.repository** | The repository to get the controller image from | `quay.io/bitnami/sealed-secrets-controller` |
| **resources** | CPU/Memory resource requests/limits | `{}` |
| **crd.create** | `true` if crd resources should be created | `true` |
| **crd.keep** | `true` if the sealed secret CRD should be kept when the chart is deleted | `true` |
- In the case that **serviceAccount.create** is `false` and **rbac.create** is `true` it is expected for a service account with the name **serviceAccount.name** to exist _in the same namespace as this chart_ before installation.
@@ -1,3 +1,4 @@
{{ if .Values.crd.create }}
apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition
metadata:
@@ -21,3 +22,4 @@ spec:
singular: sealedsecret
scope: Namespaced
version: v1alpha1
{{ end }}
+2
View File
@@ -22,5 +22,7 @@ rbac:
secretName: "sealed-secrets-key"
crd:
# crd.create: `true` if the crd resources should be created
create: true
# crd.keep: `true` if the sealed secret CRD should be kept when the chart is deleted
keep: true