Skip to content

Commit

Permalink
[src] adding the ability to perform CRUD operations over HPAs from co…
Browse files Browse the repository at this point in the history
…ntroller-v2 as part of the automatic rightsizing feature (#147)

* [src] adding the ability to perform CRUD operations over HPAs from controller-v2 as part of the automatic rightsizing feature

* bump version

* revert unnecessary changes

* bump controller v2.0.65 & fixed adding args to controller deployment

---------

Co-authored-by: Roi Kramer <roik@netapp.com>
  • Loading branch information
IdanShohamNetApp and rkrmr33 authored Aug 1, 2024
1 parent 3b40153 commit 22f24ab
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions charts/ocean-kubernetes-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: ocean-kubernetes-controller
description: A Helm chart for Ocean Kubernetes Controller
type: application
version: 0.1.50
appVersion: 2.0.64
version: 0.1.51
appVersion: 2.0.65
kubeVersion: ">=1.20.0-0"
maintainers:
- name: spotinst
Expand Down
2 changes: 1 addition & 1 deletion charts/ocean-kubernetes-controller/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ocean-kubernetes-controller

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

A Helm chart for Ocean Kubernetes Controller.

Expand Down
3 changes: 3 additions & 0 deletions charts/ocean-kubernetes-controller/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ rules:
- apiGroups: ["autoscaling.k8s.io"]
resources: ["verticalpodautoscalers", "verticalpodautoscalers/status"]
verbs: ["get", "list", "watch", "patch", "update", "create", "delete"]
- apiGroups: ["autoscaling.k8s.io"]
resources: ["horizontalpodautoscalers", "horizontalpodautoscalers/status"]
verbs: ["patch", "update"]
{{- end }}
# ---------------------------------------------------------------------------
# feature: controller/leader-election (high-availability)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
args:
{{- range .Values.args }}
- {{ . }}
- {{ . }}
{{- end }}
{{- if eq (include "ocean-kubernetes-controller.logShipping.enabled" .) "true" }}
- --log_to_file
Expand Down

0 comments on commit 22f24ab

Please sign in to comment.