Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[src] Allow Network client run in specific namespace CON-20999 #151

2 changes: 1 addition & 1 deletion charts/ocean-vpa/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ maintainers:
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.0
version: 1.0.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
3 changes: 2 additions & 1 deletion charts/ocean-vpa/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ocean-vpa

![Version: 1.0.0](https://img.shields.io/badge/Version-1.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)
![Version: 1.0.1](https://img.shields.io/badge/Version-1.0.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 1.0.0](https://img.shields.io/badge/AppVersion-1.0.0-informational?style=flat-square)

A Helm chart for Kubernetes.

Expand Down Expand Up @@ -62,6 +62,7 @@ helm install my-release spot/ocean-vpa
| serviceAccount.name | string | `""` | The base name of the service account to use (appended with the component). If not set and create is true, a name is generated using the fullname template and appended for each component |
| updater.affinity | object | `{}` | |
| updater.evictionTolerance | float | `0.25` | |
| updater.extraArgs.min-replicas | int | `1` | |
| updater.image.pullPolicy | string | `"Always"` | The pull policy for the updater image. Recommend not changing this |
| updater.image.repository | string | `"registry.k8s.io/autoscaling/vpa-updater"` | The location of the updater image |
| updater.image.tag | string | `""` | Overrides the image tag whose default is the chart appVersion |
Expand Down
3 changes: 3 additions & 0 deletions charts/ocean-vpa/templates/vpa-updater-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ spec:
imagePullPolicy: {{ .Values.updater.image.pullPolicy }}
args:
- --eviction-tolerance={{ .Values.updater.evictionTolerance }}
{{- range $key, $value := .Values.updater.extraArgs }}
- --{{ $key }}={{ $value }}
{{- end }}
env:
- name: NAMESPACE
valueFrom:
Expand Down
2 changes: 2 additions & 0 deletions charts/ocean-vpa/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ updater:
nodeSelector: {}
tolerations: []
affinity: {}
extraArgs:
min-replicas: 1

admissionController:
# admissionController.generateCertificate -- If true and admissionController is enabled, a pre-install hook will run to create the certificate for the webhook
Expand Down
Loading