Skip to content

Commit

Permalink
Integrate flag in helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
antonincms committed Aug 2, 2024
1 parent ebb5b13 commit aa1b5cf
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions helm/kubestitute/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
name: kubestitute
type: application
version: 3.0.0
appVersion: "2.2.0"
version: 3.1.0-rc.0
appVersion: "2.3.0-rc.0"
description: Kubestitute is an event based instances lifecycle manager for Kubernetes.
home: https://github.com/quortex/kubestitute
sources:
Expand Down
3 changes: 2 additions & 1 deletion helm/kubestitute/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# kubestitute

![Version: 3.0.0](https://img.shields.io/badge/Version-3.0.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.2.0](https://img.shields.io/badge/AppVersion-2.2.0-informational?style=flat-square)
![Version: 3.1.0-rc.0](https://img.shields.io/badge/Version-3.1.0--rc.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 2.3.0-rc.0](https://img.shields.io/badge/AppVersion-2.3.0--rc.0-informational?style=flat-square)

Kubestitute is an event based instances lifecycle manager for Kubernetes.

Expand Down Expand Up @@ -72,6 +72,7 @@ helm install kubestitute kubestitute/kubestitute -n kubestitute-system
| aws.secretAccessKey | string | `""` | The secret access key of a user with necessary permissions. |
| manager.clusterAutoscaler.namespace | string | `"kube-system"` | The Cluster Autoscaler namespace. |
| manager.clusterAutoscaler.name | string | `"cluster-autoscaler-status"` | The Cluster Autoscaler status configmap name. |
| manager.clusterAutoscaler.legacyFormat | bool | `false` | Whether to parse the Cluster Autoscaler status configmap in legacy format, used by cluster-autoscaler up to version 1.29. |
| manager.priorityExpander.enabled | bool | `false` | |
| manager.priorityExpander.name | string | `"priority-expander-default"` | Name of the Priority Expander object. |
| manager.priorityExpander.namespace | string | `"kubestitute-system"` | Namespace of the Priority Expander object. |
Expand Down
3 changes: 3 additions & 0 deletions helm/kubestitute/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ spec:
- --leader-elect
- --clusterautoscaler-namespace={{ .clusterAutoscaler.namespace }}
- --clusterautoscaler-status-name={{ .clusterAutoscaler.name }}
{{- if .clusterAutoscaler.legacyFormat }}
- --clusterautoscaler-status-legacy-format
{{- end }}
{{- if .priorityExpander.enabled }}
- --priority-expander-namespace={{ .priorityExpander.namespace }}
- --priority-expander-name={{ .priorityExpander.name }}
Expand Down
2 changes: 2 additions & 0 deletions helm/kubestitute/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ manager:
namespace: kube-system
# -- The Cluster Autoscaler status configmap name.
name: cluster-autoscaler-status
# -- Whether to parse the Cluster Autoscaler status configmap in legacy format, used by cluster-autoscaler up to version 1.29.
legacyFormat: false

priorityExpander:
enabled: false
Expand Down

0 comments on commit aa1b5cf

Please sign in to comment.