Skip to content

Commit

Permalink
Merge pull request #863 from stevehipwell/helm-chart-v0-5-1
Browse files Browse the repository at this point in the history
Update Helm chart image to v0.5.1
  • Loading branch information
k8s-ci-robot authored Oct 18, 2021
2 parents 872ebcc + 34f2972 commit d40d352
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
8 changes: 5 additions & 3 deletions charts/metrics-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: metrics-server
description: Metrics Server is a scalable, efficient source of container resource metrics for Kubernetes built-in autoscaling pipelines.
type: application
version: 3.5.0
appVersion: 0.5.0
version: 3.6.0
appVersion: 0.5.1
keywords:
- kubernetes
- metrics-server
Expand All @@ -22,4 +22,6 @@ maintainers:
annotations:
artifacthub.io/changes: |
- kind: added
description: "Initial release from official repo."
description: "New defaultArgs value to enable overriding the default arguments."
- kind: changed
description: "Update Metrics Server image to v0.5.1."
1 change: 1 addition & 0 deletions charts/metrics-server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ The following table lists the configurable parameters of the _Metrics Server_ ch
| `podDisruptionBudget.enabled` | If `true`, create `PodDisruptionBudget` resource. | `{}` |
| `podDisruptionBudget.minAvailable` | Set the `PodDisruptionBugdet` minimum available pods. | `nil` |
| `podDisruptionBudget.maxUnavailable` | Set the `PodDisruptionBugdet` maximum unavailable pods. | `nil` |
| `defaultArgs` | Default arguments to pass to the _metrics-server_ command. | See _values.yaml_ |
| `args` | Additional arguments to pass to the _metrics-server_ command. | `[]` |
| `livenessProbe` | Liveness probe. | See _values.yaml_ |
| `readinessProbe` | Readiness probe. | See _values.yaml_ |
Expand Down
6 changes: 3 additions & 3 deletions charts/metrics-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ spec:
image: {{ include "metrics-server.image" . }}
imagePullPolicy: {{ .Values.image.pullPolicy }}
args:
- --cert-dir=/tmp
- {{ printf "--secure-port=%d" (int .Values.containerPort) }}
- --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname
- --kubelet-use-node-status-port
{{- range .Values.defaultArgs }}
- {{ . }}
{{- end }}
{{- range .Values.args }}
- {{ . }}
{{- end }}
Expand Down
7 changes: 6 additions & 1 deletion charts/metrics-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,14 @@ podDisruptionBudget:
minAvailable:
maxUnavailable:

args:
defaultArgs:
- --cert-dir=/tmp
- --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname
- --kubelet-use-node-status-port
- --metric-resolution=15s

args: []

livenessProbe:
httpGet:
path: /livez
Expand Down

0 comments on commit d40d352

Please sign in to comment.