Files
charts/bitnami/wavefront/templates/api-token-secret.yaml
Carlos Rodríguez Hernández 9dea8f5794 [bitnami/wavefront] Add wavefront chart to the catalog (#3520)
* Add upstream wavefront chart

* Adapt common/generic files

* Adapt values.yaml and fix side effects

* Add common subchart and standarize labels

* Standarize names

* Standarize images

* Standarize resources and tolerations

* Fix linter issues

* Minor fixes

* Exclude chart from GH action testing as it is needed access to Wavefront instances

* [bitnami/minio] Release 3.7.3 updating components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>

* Exclude chart from GH action testing as it is needed access to Wavefront instances

* Add commonLabels, extraDeploy & commonAnnotations

* Add resources

* Revert "[bitnami/minio] Release 3.7.3 updating components versions"

This reverts commit 326611b297.

* Remove duplicated

* Add readiness & liveness probes

* Add podAnnotations, affinity, nodeSelector, tolerations, priorityClassName, and lifecycleHooks

* Add sidecars and initContainers

* Add sidecars extraEnv and extraVolume

* Add podLabels

* Add updateStrategy

* Add commands & args

* Add SecurityContexts

* Minor fixes

* Fix batch of suggestions

* Add existing configmap option

* Support existing secrets for token

* Add validations

* Avoid failing if the params are not set

* Add enable parameter to securityContexts

* Rename wavefront-collector Docker image

* Add namespace to the installation instructions

* Update requirements.lock

* Update images

* Update tags and deps

Co-authored-by: Bitnami Containers <containers@bitnami.com>
2020-10-09 09:59:09 +02:00

18 lines
692 B
YAML

{{- if and .Values.wavefront.token (not .Values.wavefront.existingSecret) }}
apiVersion: v1
kind: Secret
metadata:
labels: {{- include "common.labels.standard" . | nindent 4 }}
app.kubernetes.io/component: collector
{{- if .Values.commonLabels }}
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
{{- end }}
name: {{ template "common.names.fullname" . }}
{{- if .Values.commonAnnotations }}
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
{{- end }}
type: Opaque
data:
api-token: {{ .Values.wavefront.token | b64enc | quote }}
{{- end }}