mirror of
https://github.com/bitnami/charts.git
synced 2026-03-15 14:57:16 +08:00
* [bitnami/kube-prometheus] Chart standardised Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * [bitnami/kube-prometheus] Chart standardised Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Update README Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Implement missing parameters Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * Apply common.names.namespace Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Fix issue Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Fix issue Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * Update README.md with readme-generator-for-helm Signed-off-by: Bitnami Containers <containers@bitnami.com> * Update VIB runtime parameters Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Update VIB runtime parameters Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * Remove test file Signed-off-by: Miguel Ruiz <miruiz@vmware.com> * [bitnami/kube-prometheus] Update components versions Signed-off-by: Bitnami Containers <containers@bitnami.com> Co-authored-by: Bitnami Containers <containers@bitnami.com>
17 lines
907 B
YAML
17 lines
907 B
YAML
{{- if (and .Values.prometheus.additionalScrapeConfigs.enabled (eq .Values.prometheus.additionalScrapeConfigs.type "internal") ) }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: additional-scrape-jobs-{{ template "kube-prometheus.prometheus.fullname" . }}
|
|
namespace: {{ include "common.names.namespace" . | quote }}
|
|
labels: {{- include "kube-prometheus.prometheus.labels" . | nindent 4 }}
|
|
{{- if .Values.commonLabels }}
|
|
{{- include "common.tplvalues.render" ( dict "value" .Values.commonLabels "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
{{- if .Values.commonAnnotations }}
|
|
annotations: {{- include "common.tplvalues.render" ( dict "value" .Values.commonAnnotations "context" $ ) | nindent 4 }}
|
|
{{- end }}
|
|
data:
|
|
scrape-jobs.yaml: {{ include "common.tplvalues.render" ( dict "value" .Values.prometheus.additionalScrapeConfigs.internal.jobList "context" $ ) | b64enc | quote }}
|
|
{{- end }}
|