Skip to content

Commit

Permalink
feat: add tolerations on etcd sts (#387)
Browse files Browse the repository at this point in the history
  • Loading branch information
EBMBA authored Nov 21, 2023
1 parent ac06447 commit 289bad5
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/kamaji/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ name: kamaji
sources:
- https://github.com/clastix/kamaji
type: application
version: 0.12.9
version: 0.13.0
annotations:
catalog.cattle.io/certified: partner
catalog.cattle.io/release-name: kamaji
Expand Down
3 changes: 2 additions & 1 deletion charts/kamaji/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# kamaji

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

Kamaji is a Kubernetes Control Plane Manager.

Expand Down Expand Up @@ -105,6 +105,7 @@ Here the values you can override:
| etcd.port | int | `2379` | The client request port. |
| etcd.serviceAccount.create | bool | `true` | Create a ServiceAccount, required to install and provision the etcd backing storage (default: true) |
| etcd.serviceAccount.name | string | `""` | Define the ServiceAccount name to use during the setup and provision of the etcd backing storage (default: "") |
| etcd.tolerations | list | `[]` | (array) Kubernetes affinity rules to apply to Kamaji etcd pods |
| extraArgs | list | `[]` | A list of extra arguments to add to the kamaji controller default ones |
| fullnameOverride | string | `""` | |
| healthProbeBindAddress | string | `":8081"` | The address the probe endpoint binds to. (default ":8081") |
Expand Down
4 changes: 4 additions & 0 deletions charts/kamaji/templates/etcd_sts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ spec:
- name: certs
secret:
secretName: {{ include "etcd.caSecretName" . }}
{{- with .Values.etcd.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- name: etcd
image: {{ .Values.etcd.image.repository }}:{{ .Values.etcd.image.tag | default "v3.5.4" }}
Expand Down
3 changes: 3 additions & 0 deletions charts/kamaji/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ etcd:
# -- The custom annotations to add to the PVC
customAnnotations: {}
# volumeType: local

# -- (array) Kubernetes affinity rules to apply to Kamaji etcd pods
tolerations: []

overrides:
caSecret:
Expand Down

0 comments on commit 289bad5

Please sign in to comment.