diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0bcefe2..9419d53 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: check-latest: true - name: Set up chart-testing - uses: helm/chart-testing-action@v2.4.0 + uses: helm/chart-testing-action@v2.6.1 - name: Run chart-testing (list-changed) id: list-changed diff --git a/charts/aerospike/Chart.yaml b/charts/aerospike/Chart.yaml index 7afd839..8dcff30 100644 --- a/charts/aerospike/Chart.yaml +++ b/charts/aerospike/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 name: aerospike description: Aerospike helm chart -version: 1.0.0 -appVersion: "5.6.0.15" +version: 1.1.0 +appVersion: "6.3.0.4" keywords: - aerospike dependencies: diff --git a/charts/aerospike/README.md b/charts/aerospike/README.md index 306c596..f71703b 100644 --- a/charts/aerospike/README.md +++ b/charts/aerospike/README.md @@ -80,6 +80,7 @@ The command removes all the Kubernetes components associated with the chart and | Name | Description | Value | | ------------------------------------ | ------------------------------------------------ | --------------- | | `replicaCount` | Number of Aerospike replicas | `1` | +| `tolerations ` | Toleration for pod | `[]` | | `nodeSelector` | Node labels for pod assignment | `{}` | | `updateStrategy.type` | updateStrategy for Aerospike statefulset | `RollingUpdate` | | `podManagementPolicy` | StatefulSet pod management policy | `OrderedReady` | diff --git a/charts/aerospike/templates/statefulset.yml b/charts/aerospike/templates/statefulset.yml index d5223a7..6a78b64 100644 --- a/charts/aerospike/templates/statefulset.yml +++ b/charts/aerospike/templates/statefulset.yml @@ -30,6 +30,9 @@ spec: {{- end }} {{- end }} spec: + {{- if .Values.tolerations }} + tolerations: {{- include "common.tplvalues.render" (dict "value" .Values.tolerations "context" $) | nindent 8 }} + {{- end }} nodeSelector: {{- include "common.tplvalues.render" (dict "value" .Values.nodeSelector "context" $) | nindent 8 }} {{- include "aerospike.imagePullSecrets" . | nindent 6 }} serviceAccountName: {{ template "aerospike.serviceAccountName" . }} diff --git a/charts/aerospike/values.yaml b/charts/aerospike/values.yaml index 421f26d..f17950e 100644 --- a/charts/aerospike/values.yaml +++ b/charts/aerospike/values.yaml @@ -128,6 +128,17 @@ replicaCount: 1 ## nodeSelector: {} +## @param tolerations Toleration for pod +## For example: +## tolerations: +## - key: "key1" +## operator: "Equal" +## value: "value1" +## effect: "NoSchedule" +## ref: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ +## +tolerations: [] + ## @param updateStrategy.type updateStrategy for Aerospike statefulset ## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies ##