Skip to content

Commit

Permalink
[src] Allow Network client run in specific namespace CON-20999 (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
shirbur authored Aug 5, 2024
1 parent ceaccec commit e9d43c1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
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

0 comments on commit e9d43c1

Please sign in to comment.