mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-22 03:25:53 +10:00
Merge pull request #1370 from georgefintechstudioscom/feat/metrics-server/extra-arguments
[bitnami/metrics-server] Specify extra arguments to metrics-server using declarative configuration
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: metrics-server
|
||||
version: 3.0.1
|
||||
version: 3.1.0
|
||||
appVersion: 0.3.3
|
||||
description: Metrics Server is a cluster-wide aggregator of resource usage data. Metrics Server collects metrics from the Summary API, exposed by Kubelet on each node.
|
||||
keywords:
|
||||
|
||||
@@ -58,6 +58,7 @@ The following tables lists the configurable parameters of the Metrics Server cha
|
||||
| `nameOverride` | String to partially override metrics-server.fullname template with a string (will prepend the release name) | `nil` |
|
||||
| `fullnameOverride` | String to fully override metrics-server.fullname template with a string | `nil` |
|
||||
| `securePort` | Port where metrics-server will be running | `8443` |
|
||||
| `extraArgs` | Extra arguments to pass to metrics-server on start up | {} |
|
||||
| `service.type` | Kubernetes Service type | `ClusterIP` |
|
||||
| `service.port` | Kubernetes Service port | `443` |
|
||||
| `service.annotations` | Annotations for the Service | {} |
|
||||
|
||||
@@ -36,3 +36,6 @@ spec:
|
||||
command:
|
||||
- metrics-server
|
||||
- --secure-port={{ .Values.securePort }}
|
||||
{{- range $key, $value := .Values.extraArgs }}
|
||||
- --{{ $key }}={{ $value }}
|
||||
{{- end }}
|
||||
|
||||
@@ -57,6 +57,15 @@ apiService:
|
||||
##
|
||||
securePort: 8443
|
||||
|
||||
## Extra arguments to pass to the metrics-server
|
||||
## ref: https://github.com/kubernetes-incubator/metrics-server/blob/master/README.md#flags
|
||||
##
|
||||
## extraArgs:
|
||||
## kubelet-insecure-tls: true
|
||||
## kubelet-preferred-address-types: InternalIP
|
||||
##
|
||||
extraArgs: {}
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 443
|
||||
|
||||
Reference in New Issue
Block a user