-
Notifications
You must be signed in to change notification settings - Fork 718
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update rancher-monitoring/rancher-node-exporter to new base 766bdf70d…
…d19d4ddc80b0a4a7e785bf85b405c05
- Loading branch information
1 parent
06d3dd0
commit 2916812
Showing
10 changed files
with
61 additions
and
69 deletions.
There are no files selected for viewing
33 changes: 19 additions & 14 deletions
33
packages/rancher-monitoring/rancher-node-exporter/generated-changes/patch/Chart.yaml.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,27 @@ | ||
--- charts-original/Chart.yaml | ||
+++ charts/Chart.yaml | ||
@@ -1,3 +1,10 @@ | ||
+annotations: | ||
+ catalog.cattle.io/hidden: "true" | ||
+ catalog.cattle.io/kube-version: '>= 1.16.0-0 < 1.27.0-0' | ||
+ catalog.cattle.io/os: linux | ||
+ catalog.rancher.io/certified: rancher | ||
+ catalog.rancher.io/namespace: cattle-monitoring-system | ||
+ catalog.rancher.io/release-name: rancher-node-exporter | ||
apiVersion: v2 | ||
appVersion: 1.3.1 | ||
description: A Helm chart for prometheus node-exporter | ||
@@ -11,7 +18,7 @@ | ||
@@ -3,14 +3,8 @@ | ||
artifacthub.io/links: | | ||
- name: Chart Source | ||
url: https://github.com/prometheus-community/helm-charts | ||
-apiVersion: v2 | ||
appVersion: 1.6.0 | ||
-description: A Helm chart for prometheus node-exporter | ||
home: https://github.com/prometheus/node_exporter/ | ||
-keywords: | ||
-- node-exporter | ||
-- prometheus | ||
-- exporter | ||
maintainers: | ||
- email: gianrubio@gmail.com | ||
name: gianrubio | ||
- email: zanhsieh@gmail.com | ||
@@ -18,8 +12,7 @@ | ||
name: zanhsieh | ||
- email: rootsandtrees@posteo.de | ||
name: zeritti | ||
-name: prometheus-node-exporter | ||
+name: rancher-node-exporter | ||
sources: | ||
- https://github.com/prometheus/node_exporter/ | ||
type: application | ||
-type: application | ||
version: 4.20.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 2 additions & 23 deletions
25
...r-monitoring/rancher-node-exporter/generated-changes/patch/templates/daemonset.yaml.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,11 @@ | ||
--- charts-original/templates/daemonset.yaml | ||
+++ charts/templates/daemonset.yaml | ||
@@ -35,7 +35,7 @@ | ||
{{- end }} | ||
@@ -42,7 +42,7 @@ | ||
containers: | ||
{{- $servicePort := ternary 8100 .Values.service.port .Values.kubeRBACProxy.enabled }} | ||
- name: node-exporter | ||
- image: {{ include "prometheus-node-exporter.image" . }} | ||
+ image: {{ template "system_default_registry" . }}{{ include "prometheus-node-exporter.image" . }} | ||
imagePullPolicy: {{ .Values.image.pullPolicy }} | ||
args: | ||
- --path.procfs=/host/proc | ||
@@ -177,14 +177,14 @@ | ||
dnsConfig: | ||
{{ toYaml . | indent 8 }} | ||
{{- end }} | ||
+ nodeSelector: {{ include "linux-node-selector" . | nindent 8 }} | ||
{{- if .Values.nodeSelector }} | ||
- nodeSelector: | ||
-{{ toYaml .Values.nodeSelector | indent 8 }} | ||
+{{- toYaml .Values.nodeSelector | nindent 8 }} | ||
{{- end }} | ||
- {{- with .Values.tolerations }} | ||
- tolerations: | ||
-{{ toYaml . | indent 8 }} | ||
- {{- end }} | ||
+ tolerations: {{ include "linux-node-tolerations" . | nindent 8 }} | ||
+{{- if .Values.tolerations }} | ||
+{{- toYaml .Values.tolerations | nindent 8 }} | ||
+{{- end }} | ||
volumes: | ||
- name: proc | ||
hostPath: |
2 changes: 1 addition & 1 deletion
2
...r-monitoring/rancher-node-exporter/generated-changes/patch/templates/endpoints.yaml.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 3 additions & 4 deletions
7
...toring/rancher-node-exporter/generated-changes/patch/templates/psp-clusterrole.yaml.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
--- charts-original/templates/psp-clusterrole.yaml | ||
+++ charts/templates/psp-clusterrole.yaml | ||
@@ -1,5 +1,5 @@ | ||
{{- if .Values.rbac.create }} | ||
-{{- if .Values.rbac.pspEnabled }} | ||
+{{- if .Values.global.cattle.psp.enabled }} | ||
@@ -1,4 +1,4 @@ | ||
-{{- if and .Values.rbac.create .Values.rbac.pspEnabled (.Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy") }} | ||
+{{- if and (or .Values.global.cattle.psp.enable (.Values.rbac.create .Values.rbac.pspEnabled)) (.Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy") }} | ||
kind: ClusterRole | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: |
7 changes: 3 additions & 4 deletions
7
...rancher-node-exporter/generated-changes/patch/templates/psp-clusterrolebinding.yaml.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
--- charts-original/templates/psp-clusterrolebinding.yaml | ||
+++ charts/templates/psp-clusterrolebinding.yaml | ||
@@ -1,5 +1,5 @@ | ||
{{- if .Values.rbac.create }} | ||
-{{- if .Values.rbac.pspEnabled }} | ||
+{{- if .Values.global.cattle.psp.enabled }} | ||
@@ -1,4 +1,4 @@ | ||
-{{- if and .Values.rbac.create .Values.rbac.pspEnabled (.Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy") }} | ||
+{{- if (or .Values.global.cattle.psp.enable (.Values.rbac.create .Values.rbac.pspEnabled)) (.Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy") }} | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRoleBinding | ||
metadata: |
7 changes: 3 additions & 4 deletions
7
...rancher-monitoring/rancher-node-exporter/generated-changes/patch/templates/psp.yaml.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,8 @@ | ||
--- charts-original/templates/psp.yaml | ||
+++ charts/templates/psp.yaml | ||
@@ -1,5 +1,5 @@ | ||
{{- if .Values.rbac.create }} | ||
-{{- if .Values.rbac.pspEnabled }} | ||
+{{- if .Values.global.cattle.psp.enabled }} | ||
@@ -1,4 +1,4 @@ | ||
-{{- if and .Values.rbac.create .Values.rbac.pspEnabled (.Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy") }} | ||
+{{- if (or .Values.global.cattle.psp.enable (.Values.rbac.create .Values.rbac.pspEnabled)) (.Capabilities.APIVersions.Has "policy/v1beta1/PodSecurityPolicy") }} | ||
apiVersion: policy/v1beta1 | ||
kind: PodSecurityPolicy | ||
metadata: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
url: https://github.com/prometheus-community/helm-charts.git | ||
subdirectory: charts/prometheus-node-exporter | ||
commit: 059e3a6e6b4ba0fd8614763de0f8e24937a89a39 | ||
commit: 766bdf70dd19d4ddc80b0a4a7e785bf85b405c05 | ||
version: 103.0.0 | ||
doNotRelease: true |