Skip to content

Commit

Permalink
remove most changes except for termination params
Browse files Browse the repository at this point in the history
Signed-off-by: Nicole <[email protected]>
  • Loading branch information
nfrazier08 committed Jan 30, 2024
1 parent 711ecd8 commit 7f2f9a5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 30 deletions.
2 changes: 1 addition & 1 deletion charts/prometheus-node-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ keywords:
- prometheus
- exporter
type: application
version: 4.27.1
version: 4.27.0
appVersion: 1.7.0
home: https://github.com/prometheus/node_exporter/
sources:
Expand Down
9 changes: 0 additions & 9 deletions charts/prometheus-node-exporter/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -132,15 +132,9 @@ spec:
volumeMounts:
- name: proc
mountPath: /host/proc
{{- if .Values.hostProcFsMount.enabled }}
mountPropagation: {{ .Values.hostProcFsMount.mountPropagation }}
{{- end }}
readOnly: true
- name: sys
mountPath: /host/sys
{{- if .Values.hostProcFsMount.enabled }}
mountPropagation: {{ .Values.hostSysFsMount.mountPropagation }}
{{- end }}
readOnly: true
{{- if .Values.hostRootFsMount.enabled }}
- name: root
Expand All @@ -157,7 +151,6 @@ spec:
{{- with $mount.mountPropagation }}
mountPropagation: {{ . }}
{{- end }}
type: {{ $mount.type}}
{{- end }}
{{- range $_, $mount := .Values.sidecarVolumeMount }}
- name: {{ $mount.name }}
Expand Down Expand Up @@ -208,7 +201,6 @@ spec:
{{- if .Values.kubeRBACProxy.enableHostPort }}
hostPort: {{ .Values.service.port }}
{{- end }}
protocol: {{ .Values.kubeRBACProxy.portProtocol }}
- containerPort: 8888
name: "http-healthz"
readinessProbe:
Expand Down Expand Up @@ -252,7 +244,6 @@ spec:
dnsConfig:
{{- toYaml . | nindent 8 }}
{{- end }}
restartPolicy: {{ .Values.restartPolicy }}
{{- with .Values.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
Expand Down
20 changes: 0 additions & 20 deletions charts/prometheus-node-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ global:
# The requests are served through the same service but requests are HTTPS.
kubeRBACProxy:
enabled: false
env: {}
## env:
## VARIABLE: value
image:
registry: quay.io
repository: brancz/kube-rbac-proxy
Expand All @@ -65,8 +62,6 @@ kubeRBACProxy:
portName: http
# Configure a hostPort. If true, hostPort will be enabled in the container and set to service.port.
enableHostPort: false
# Configure the protocol for the container port
portProtocol: TCP

# Enable or disable container termination messages for KubeRBACProxy container
configureTerminationMessagePath: true
Expand Down Expand Up @@ -278,10 +273,6 @@ resources: {}
# cpu: 100m
# memory: 30Mi

# Specify the container restart policy passed to the Node Export container
# Possible Values: Always (default)|OnFailure|Never
restartPolicy: Always

serviceAccount:
# Specifies whether a ServiceAccount should be created
create: true
Expand Down Expand Up @@ -333,16 +324,6 @@ hostRootFsMount:
# https://kubernetes.io/docs/concepts/storage/volumes/#mount-propagation
mountPropagation: HostToContainer

# Mount the node's proc file system (/) at /host/proc in the container
hostProcFsMount:
enabled: false
mountPropagation: HostToContainer

# Mount the node's sys file system (/) at /host/sys in the container
hostSysFsMount:
enabled: true
mountPropagation: HostToContainer

## Assign a group of affinity scheduling rules
##
affinity: {}
Expand Down Expand Up @@ -417,7 +398,6 @@ extraHostVolumeMounts: []
# hostPath: <hostPath>
# mountPath: <mountPath>
# readOnly: true|false
# type: "" (Default)|DirectoryOrCreate|Directory|FileOrCreate|File|Socket|CharDevice|BlockDevice
# mountPropagation: None|HostToContainer|Bidirectional


Expand Down

0 comments on commit 7f2f9a5

Please sign in to comment.