mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
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:
committed by
Kubernetes Prow Robot
parent
9bf87bc95b
commit
97b2dc2d91
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user