Skip to content

Commit

Permalink
Merge pull request #324 from jkugiya/SPIC-1016/statefulset4akka
Browse files Browse the repository at this point in the history
Enables to spicify annotations to statefulset.
  • Loading branch information
hanayo04 authored Nov 15, 2024
2 parents 416369b + 85c29b3 commit 98ee5e0
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion akka/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type: application

# 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.
version: 0.2.21
version: 0.2.22

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
Expand Down
3 changes: 2 additions & 1 deletion akka/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ The following table lists the configurable parameters of the akka chart and thei
| `rollout.revisionHistoryLimit` | The number of old ReplicaSets to retain to allow rollback for the rollout | `10` |
| `rollout.strategy` | Specifies the strategy used to replace old pods by new ones for the rollout | `{}` |
| `deployment.enabled` | Specifies whether to create a deployment resource | `true` |
| `statefulset.enabled` | Specifies whether to create a statefulset resource | `false` |
| `statefulSet.annotations` | Annotations to be added to statefulset | {} |
| `statefulSet.enabled` | Specifies whether to create a statefulset resource | `false` |
| `statefulSet.updateStrategy` | Specifies the strategy used to replace old pods by new ones for the StatefulSet | `{}` |
| `statefulSet.podManagementPolicy` | statefulset allows you to relax its ordering guarantees while preserving its uniqueness and identity guarantees | `Parallel` |
| `statefulSet.env` | Extra environment variables that will be passed onto pods for StatefulSet. If not set it will be fallback to `env`.| `[]` |
Expand Down
2 changes: 1 addition & 1 deletion akka/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ apiVersion: apps/v1
kind: StatefulSet
metadata:
annotations:
{{- with .Values.annotations }}
{{- with .Values.statefulSet.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
Expand Down
1 change: 1 addition & 0 deletions akka/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -433,6 +433,7 @@ deployment:
enabled: true

statefulSet:
annotations: {}
enabled: false
env: []
podManagementPolicy: Parallel
Expand Down

0 comments on commit 98ee5e0

Please sign in to comment.