stable/superset: Add deployment level annotations in superset (#15328)

- I would like to add deployment level annotations. I am currently using
this patch along side kube2iam to apply aws instance credentials to the
pods.

Signed-off-by: Hiroshi Fukada <hiroshi@fukada.us>
This commit is contained in:
Hiroshi Fukada
2019-07-26 11:51:19 -07:00
committed by Kubernetes Prow Robot
parent 9bf87bc95b
commit 97b2dc2d91
4 changed files with 9 additions and 1 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
apiVersion: v1
description: Apache Superset (incubating) is a modern, enterprise-ready business intelligence web application
name: superset
version: 1.1.6
version: 1.1.7
appVersion: "0.28.1"
keywords:
- bi
+1
View File
@@ -51,6 +51,7 @@ The command removes all the Kubernetes components associated with the chart and
| `replicas` | Number of replicas of superset | `1` |
| `extraEnv` | Extra environment variables passed to pods | `{}` |
| `extraEnvFromSecret` | The name of a Kubernetes secret (must be manually created in the same namespace) containing values to be added to the environment | `""` |
| `deploymentAnnotations` | Key Value pairs of deployment level annotations. Useful for 3rd party integrations | `{}` |
| `persistence.enabled` | Enable persistence | `false` |
| `persistence.existingClaim`| Provide an existing PersistentVolumeClaim | `""` |
| `persistence.storageClass` | Storage class of backing PVC | `nil` (uses alpha storage class annotation) |
@@ -23,6 +23,9 @@ spec:
heritage: {{ .Release.Service }}
annotations:
checksum/secrets: {{ include (print $.Template.BasePath "/secret.yaml") . | sha256sum }}
{{- with .Values.deploymentAnnotations }}
{{- . | toYaml | nindent 8 }}
{{- end }}
spec:
securityContext:
runAsUser: 1000
+4
View File
@@ -63,6 +63,10 @@ extraEnv: {}
##
extraEnvFromSecret: ""
## Deployment level annotations
## Useful for passing other third party annotations to interact with eg. kube2iam.
deploymentAnnotations: {}
persistence:
## If true, superset server will create/use a Persistent Volume Claim