Skip to content

Commit

Permalink
Merge pull request #212 from RafalKorepta/rk/fix/storage_min_free_byt…
Browse files Browse the repository at this point in the history
…es-avaailable-from-22-2-x

Set storage_min_free_bytes in atleast 22.2.x
  • Loading branch information
Rafal Korepta authored Nov 23, 2022
2 parents 2d68e85 + 2937f2c commit e4beb9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/redpanda/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ type: application
# The chart version and the app version are not the same and will not track
# together. The chart version is a semver representation of changes to this
# chart.
version: 2.3.3
version: 2.3.4
# The app version is the default version of Redpanda to install.
appVersion: v22.3.3
# kubeVersion must be suffixed with "-0" to be able to match cloud providers
Expand Down
2 changes: 1 addition & 1 deletion charts/redpanda/templates/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ data:
{{- with (dig "tunable" dict .Values.config) }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- if not (hasKey .Values.config.cluster "storage_min_free_bytes") }}
{{- if and (not (hasKey .Values.config.cluster "storage_min_free_bytes")) ((include "redpanda-atleast-22-2-0" . | fromJson).bool) }}
storage_min_free_bytes: {{ include "storage-min-free-bytes" . }}
{{- end }}
{{- end }}
Expand Down

0 comments on commit e4beb9c

Please sign in to comment.