Skip to content

Commit

Permalink
add support for containerport protocol
Browse files Browse the repository at this point in the history
Signed-off-by: Nicole <[email protected]>
  • Loading branch information
nfrazier08 committed Feb 11, 2024
1 parent 94330ab commit f3eccca
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/prometheus-node-exporter/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ spec:
{{- if .Values.kubeRBACProxy.enableHostPort }}
hostPort: {{ .Values.service.port }}
{{- end }}
protocol: {{ .Values.kubeRBACProxy.portProtocol }}
- containerPort: 8888
name: "http-healthz"
readinessProbe:
Expand Down
2 changes: 2 additions & 0 deletions charts/prometheus-node-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ 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

resources: {}
# We usually recommend not to specify default resources and to leave this as a conscious
Expand Down

0 comments on commit f3eccca

Please sign in to comment.