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:
Alejandro Moreno
2019-08-21 16:28:19 +02:00
committed by GitHub
4 changed files with 14 additions and 1 deletions
+1 -1
View File
@@ -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:
+1
View File
@@ -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 }}
+9
View File
@@ -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