mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-22 11:35:58 +10:00
[bitnami/node-exporter] minor updates
This commit is contained in:
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: 0.18.1
|
||||
description: Prometheus exporter for hardware and OS metrics exposed by UNIX kernels, with pluggable metric collectors.
|
||||
name: node-exporter
|
||||
version: 0.1.0
|
||||
version: 0.1.1
|
||||
keywords:
|
||||
- prometheus
|
||||
- node-exporter
|
||||
|
||||
@@ -83,6 +83,14 @@ app.kubernetes.io/managed-by: {{ .Release.Service }}
|
||||
{{- end }}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
matchLabels
|
||||
*/}}
|
||||
{{- define "node-exporter.matchLabels" -}}
|
||||
app.kubernetes.io/name: {{ include "node-exporter.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Create the name of the service account to use
|
||||
*/}}
|
||||
@@ -94,14 +102,6 @@ Create the name of the service account to use
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
matchLabels
|
||||
*/}}
|
||||
{{- define "node-exporter.matchLabels" -}}
|
||||
app.kubernetes.io/name: {{ include "node-exporter.name" . }}
|
||||
app.kubernetes.io/instance: {{ .Release.Name }}
|
||||
{{- end -}}
|
||||
|
||||
{{/*
|
||||
Return the proper Docker Image Registry Secret Names for Node Exporter image
|
||||
*/}}
|
||||
|
||||
@@ -30,5 +30,7 @@ spec:
|
||||
targetPort: metrics
|
||||
{{- if and .Values.service.nodePort (or (eq .Values.service.type "NodePort") (eq .Values.service.type "LoadBalancer")) }}
|
||||
nodePort: {{ .Values.service.nodePort }}
|
||||
{{- else if eq .Values.service.type "ClusterIP" }}
|
||||
nodePort: null
|
||||
{{- end }}
|
||||
selector: {{- include "node-exporter.matchLabels" . | nindent 4 }}
|
||||
|
||||
Reference in New Issue
Block a user