Charts CI
``` Updated: argo/argo-cd: - 6.7.17 redpanda/redpanda: - 5.8.0 ```pull/1015/head
parent
0277b487b2
commit
0628346c3d
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -1,7 +1,7 @@
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: added
|
||||||
description: Pre-set statusbadge.url to global.domain when statusbadge is enabled
|
description: JQ Path expression timeout
|
||||||
artifacthub.io/signKey: |
|
artifacthub.io/signKey: |
|
||||||
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
||||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||||
|
@ -11,7 +11,7 @@ annotations:
|
||||||
catalog.cattle.io/kube-version: '>=1.23.0-0'
|
catalog.cattle.io/kube-version: '>=1.23.0-0'
|
||||||
catalog.cattle.io/release-name: argo-cd
|
catalog.cattle.io/release-name: argo-cd
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: v2.10.7
|
appVersion: v2.10.8
|
||||||
dependencies:
|
dependencies:
|
||||||
- condition: redis-ha.enabled
|
- condition: redis-ha.enabled
|
||||||
name: redis-ha
|
name: redis-ha
|
||||||
|
@ -33,4 +33,4 @@ name: argo-cd
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/argoproj/argo-helm/tree/main/charts/argo-cd
|
- https://github.com/argoproj/argo-helm/tree/main/charts/argo-cd
|
||||||
- https://github.com/argoproj/argo-cd
|
- https://github.com/argoproj/argo-cd
|
||||||
version: 6.7.15
|
version: 6.7.17
|
||||||
|
|
|
@ -678,6 +678,7 @@ NAME: my-release
|
||||||
| configs.params."application.namespaces" | string | `""` | Enables [Applications in any namespace] |
|
| configs.params."application.namespaces" | string | `""` | Enables [Applications in any namespace] |
|
||||||
| configs.params."applicationsetcontroller.enable.progressive.syncs" | bool | `false` | Enables use of the Progressive Syncs capability |
|
| configs.params."applicationsetcontroller.enable.progressive.syncs" | bool | `false` | Enables use of the Progressive Syncs capability |
|
||||||
| configs.params."applicationsetcontroller.policy" | string | `"sync"` | Modify how application is synced between the generator and the cluster. One of: `sync`, `create-only`, `create-update`, `create-delete` |
|
| configs.params."applicationsetcontroller.policy" | string | `"sync"` | Modify how application is synced between the generator and the cluster. One of: `sync`, `create-only`, `create-update`, `create-delete` |
|
||||||
|
| configs.params."controller.ignore.normalizer.jq.timeout" | string | `"1s"` | JQ Path expression timeout |
|
||||||
| configs.params."controller.operation.processors" | int | `10` | Number of application operation processors |
|
| configs.params."controller.operation.processors" | int | `10` | Number of application operation processors |
|
||||||
| configs.params."controller.repo.server.timeout.seconds" | int | `60` | Repo server RPC call timeout seconds. |
|
| configs.params."controller.repo.server.timeout.seconds" | int | `60` | Repo server RPC call timeout seconds. |
|
||||||
| configs.params."controller.self.heal.timeout.seconds" | int | `5` | Specifies timeout between application self heal attempts |
|
| configs.params."controller.self.heal.timeout.seconds" | int | `5` | Specifies timeout between application self heal attempts |
|
||||||
|
|
|
@ -268,6 +268,12 @@ spec:
|
||||||
name: argocd-cmd-params-cm
|
name: argocd-cmd-params-cm
|
||||||
key: controller.diff.server.side
|
key: controller.diff.server.side
|
||||||
optional: true
|
optional: true
|
||||||
|
- name: ARGOCD_IGNORE_NORMALIZER_JQ_TIMEOUT
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: controller.ignore.normalizer.jq.timeout
|
||||||
|
optional: true
|
||||||
{{- with .Values.controller.envFrom }}
|
{{- with .Values.controller.envFrom }}
|
||||||
envFrom:
|
envFrom:
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
|
|
|
@ -267,6 +267,12 @@ spec:
|
||||||
name: argocd-cmd-params-cm
|
name: argocd-cmd-params-cm
|
||||||
key: controller.diff.server.side
|
key: controller.diff.server.side
|
||||||
optional: true
|
optional: true
|
||||||
|
- name: ARGOCD_IGNORE_NORMALIZER_JQ_TIMEOUT
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: argocd-cmd-params-cm
|
||||||
|
key: controller.ignore.normalizer.jq.timeout
|
||||||
|
optional: true
|
||||||
{{- with .Values.controller.envFrom }}
|
{{- with .Values.controller.envFrom }}
|
||||||
envFrom:
|
envFrom:
|
||||||
{{- toYaml . | nindent 10 }}
|
{{- toYaml . | nindent 10 }}
|
||||||
|
|
|
@ -272,6 +272,12 @@ configs:
|
||||||
## Set comma-separated list. (e.g. app-team-one, app-team-two)
|
## Set comma-separated list. (e.g. app-team-one, app-team-two)
|
||||||
application.namespaces: ""
|
application.namespaces: ""
|
||||||
|
|
||||||
|
# -- JQ Path expression timeout
|
||||||
|
## By default, the evaluation of a JQPathExpression is limited to one second.
|
||||||
|
## If you encounter a "JQ patch execution timed out" error message due to a complex JQPathExpression
|
||||||
|
## that requires more time to evaluate, you can extend the timeout period.
|
||||||
|
controller.ignore.normalizer.jq.timeout: "1s"
|
||||||
|
|
||||||
# Argo CD RBAC policy configuration
|
# Argo CD RBAC policy configuration
|
||||||
## Ref: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/rbac.md
|
## Ref: https://github.com/argoproj/argo-cd/blob/master/docs/operator-manual/rbac.md
|
||||||
rbac:
|
rbac:
|
||||||
|
|
|
@ -37,4 +37,4 @@ name: redpanda
|
||||||
sources:
|
sources:
|
||||||
- https://github.com/redpanda-data/helm-charts
|
- https://github.com/redpanda-data/helm-charts
|
||||||
type: application
|
type: application
|
||||||
version: 5.7.41
|
version: 5.8.0
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
description: Find the default values and descriptions of settings in the Redpanda Helm chart.
|
description: Find the default values and descriptions of settings in the Redpanda Helm chart.
|
||||||
---
|
---
|
||||||
|
|
||||||
![Version: 5.7.41](https://img.shields.io/badge/Version-5.7.41-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v23.3.11](https://img.shields.io/badge/AppVersion-v23.3.11-informational?style=flat-square)
|
![Version: 5.8.0](https://img.shields.io/badge/Version-5.8.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v23.3.11](https://img.shields.io/badge/AppVersion-v23.3.11-informational?style=flat-square)
|
||||||
|
|
||||||
This page describes the official Redpanda Helm Chart. In particular, this page describes the contents of the chart’s [`values.yaml` file](https://github.com/redpanda-data/helm-charts/blob/main/charts/redpanda/values.yaml). Each of the settings is listed and described on this page, along with any default values.
|
This page describes the official Redpanda Helm Chart. In particular, this page describes the contents of the chart’s [`values.yaml` file](https://github.com/redpanda-data/helm-charts/blob/main/charts/redpanda/values.yaml). Each of the settings is listed and described on this page, along with any default values.
|
||||||
|
|
||||||
|
@ -641,7 +641,7 @@ Memory resources For details, see the [Pod resources documentation](https://docs
|
||||||
|
|
||||||
### [resources.memory.container](https://artifacthub.io/packages/helm/redpanda-data/redpanda?modal=values&path=resources.memory.container)
|
### [resources.memory.container](https://artifacthub.io/packages/helm/redpanda-data/redpanda?modal=values&path=resources.memory.container)
|
||||||
|
|
||||||
Enables memory locking. For production, set to `true`. enable_memory_locking: false It is recommended to have at least 2Gi of memory per core for the Redpanda binary. This memory is taken from the total memory given to each container. The Helm chart allocates 80% of the container's memory to Redpanda, leaving the rest for the Seastar subsystem (reserveMemory) and other container processes. So at least 2.5Gi per core is recommended in order to ensure Redpanda has a full 2Gi. These values affect `--memory` and `--reserve-memory` flags passed to Redpanda and the memory requests/limits in the StatefulSet. Valid suffixes: B, K, M, G, Ki, Mi, and Gi To create `Guaranteed` Pod QoS for Redpanda brokers, provide both container max and min values for the container. For details, see https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/#create-a-pod-that-gets-assigned-a-qos-class-of-guaranteed * Every container in the Pod must have a memory limit and a memory request. * For every container in the Pod, the memory limit must equal the memory request.
|
Enables memory locking. For production, set to `true`. enable_memory_locking: false It is recommended to have at least 2Gi of memory per core for the Redpanda binary. This memory is taken from the total memory given to each container. The Helm chart allocates 80% of the container's memory to Redpanda, leaving the rest for the Seastar subsystem (reserveMemory) and other container processes. So at least 2.5Gi per core is recommended in order to ensure Redpanda has a full 2Gi. These values affect `--memory` and `--reserve-memory` flags passed to Redpanda and the memory requests/limits in the StatefulSet. Valid suffixes: k, M, G, T, P, Ki, Mi, Gi, Ti, Pi To create `Guaranteed` Pod QoS for Redpanda brokers, provide both container max and min values for the container. For details, see https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/#create-a-pod-that-gets-assigned-a-qos-class-of-guaranteed * Every container in the Pod must have a memory limit and a memory request. * For every container in the Pod, the memory limit must equal the memory request.
|
||||||
|
|
||||||
**Default:** `{"max":"2.5Gi"}`
|
**Default:** `{"max":"2.5Gi"}`
|
||||||
|
|
||||||
|
@ -685,6 +685,12 @@ Additional flags to pass to redpanda,
|
||||||
|
|
||||||
**Default:** `[]`
|
**Default:** `[]`
|
||||||
|
|
||||||
|
### [statefulset.additionalSelectorLabels](https://artifacthub.io/packages/helm/redpanda-data/redpanda?modal=values&path=statefulset.additionalSelectorLabels)
|
||||||
|
|
||||||
|
Additional labels to be added to statefulset label selector. For example, `my.k8s.service: redpanda`.
|
||||||
|
|
||||||
|
**Default:** `{}`
|
||||||
|
|
||||||
### [statefulset.annotations](https://artifacthub.io/packages/helm/redpanda-data/redpanda?modal=values&path=statefulset.annotations)
|
### [statefulset.annotations](https://artifacthub.io/packages/helm/redpanda-data/redpanda?modal=values&path=statefulset.annotations)
|
||||||
|
|
||||||
DEPRECATED Please use statefulset.podTemplate.annotations. Annotations are used only for `Statefulset.spec.template.metadata.annotations`. The StatefulSet does not have any dedicated annotation.
|
DEPRECATED Please use statefulset.podTemplate.annotations. Annotations are used only for `Statefulset.spec.template.metadata.annotations`. The StatefulSet does not have any dedicated annotation.
|
||||||
|
@ -849,6 +855,12 @@ Additional labels to apply to the Pods of this StatefulSet.
|
||||||
|
|
||||||
**Default:** `{}`
|
**Default:** `{}`
|
||||||
|
|
||||||
|
### [statefulset.podTemplate.spec](https://artifacthub.io/packages/helm/redpanda-data/redpanda?modal=values&path=statefulset.podTemplate.spec)
|
||||||
|
|
||||||
|
A subset of Kubernetes' PodSpec type that will be merged into the redpanda StatefulSet via a [strategic merge patch](https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch/#use-a-strategic-merge-patch-to-update-a-deployment).
|
||||||
|
|
||||||
|
**Default:** `{"containers":[]}`
|
||||||
|
|
||||||
### [statefulset.priorityClassName](https://artifacthub.io/packages/helm/redpanda-data/redpanda?modal=values&path=statefulset.priorityClassName)
|
### [statefulset.priorityClassName](https://artifacthub.io/packages/helm/redpanda-data/redpanda?modal=values&path=statefulset.priorityClassName)
|
||||||
|
|
||||||
PriorityClassName given to Pods of this StatefulSet. For details, see the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass).
|
PriorityClassName given to Pods of this StatefulSet. For details, see the [Kubernetes documentation](https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass).
|
||||||
|
|
|
@ -3,11 +3,9 @@
|
||||||
{{- define "redpanda.RedpandaAdditionalStartFlags" -}}
|
{{- define "redpanda.RedpandaAdditionalStartFlags" -}}
|
||||||
{{- $dot := (index .a 0) -}}
|
{{- $dot := (index .a 0) -}}
|
||||||
{{- $smp := (index .a 1) -}}
|
{{- $smp := (index .a 1) -}}
|
||||||
{{- $memory := (index .a 2) -}}
|
|
||||||
{{- $reserveMemory := (index .a 3) -}}
|
|
||||||
{{- range $_ := (list 1) -}}
|
{{- range $_ := (list 1) -}}
|
||||||
{{- $values := $dot.Values.AsMap -}}
|
{{- $values := $dot.Values.AsMap -}}
|
||||||
{{- $chartFlags := (dict "smp" $smp "memory" (printf "%sM" $memory) "reserve-memory" (printf "%sM" $reserveMemory) "default-log-level" $values.logging.logLevel ) -}}
|
{{- $chartFlags := (dict "smp" $smp "memory" (printf "%dM" (int (get (fromJson (include "redpanda.RedpandaMemory" (dict "a" (list $dot) ))) "r"))) "reserve-memory" (printf "%dM" (int (get (fromJson (include "redpanda.RedpandaReserveMemory" (dict "a" (list $dot) ))) "r"))) "default-log-level" $values.logging.logLevel ) -}}
|
||||||
{{- if (eq (index $values.config.node "developer_mode") true) -}}
|
{{- if (eq (index $values.config.node "developer_mode") true) -}}
|
||||||
{{- $_ := (unset $chartFlags "reserve-memory") -}}
|
{{- $_ := (unset $chartFlags "reserve-memory") -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -376,7 +376,11 @@ redpanda.yaml: |
|
||||||
{{- range $key, $element := $tieredStorageConfig }}
|
{{- range $key, $element := $tieredStorageConfig }}
|
||||||
{{- if or (eq (typeOf $element) "bool") $element }}
|
{{- if or (eq (typeOf $element) "bool") $element }}
|
||||||
{{- if eq $key "cloud_storage_cache_size" }}
|
{{- if eq $key "cloud_storage_cache_size" }}
|
||||||
{{- dict $key (include "SI-to-bytes" $element) | toYaml | nindent 2 -}}
|
{{- if typeIs "string" $element -}}
|
||||||
|
{{- dict $key ((get (fromJson (include "redpanda.SIToBytes" (dict "a" (list $element)) )) "r") | int64 | toString) | toYaml | nindent 2 -}}
|
||||||
|
{{- else }}
|
||||||
|
{{- dict $key ($element | int64 | toString )| toYaml | nindent 2 -}}
|
||||||
|
{{- end }}
|
||||||
{{- else }}
|
{{- else }}
|
||||||
{{- dict $key $element | toYaml | nindent 2 -}}
|
{{- dict $key $element | toYaml | nindent 2 -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -595,7 +599,7 @@ rpk:
|
||||||
overprovisioned: {{ dig "cpu" "overprovisioned" false .Values.resources }}
|
overprovisioned: {{ dig "cpu" "overprovisioned" false .Values.resources }}
|
||||||
enable_memory_locking: {{ dig "memory" "enable_memory_locking" false .Values.resources }}
|
enable_memory_locking: {{ dig "memory" "enable_memory_locking" false .Values.resources }}
|
||||||
additional_start_flags:
|
additional_start_flags:
|
||||||
{{- get ((include "redpanda.RedpandaAdditionalStartFlags" (dict "a" (list . (include "redpanda-smp" .) (include "redpanda-memory" .) (include "redpanda-reserve-memory" .)))) | fromJson) "r" | toYaml | nindent 4 }}
|
{{- get ((include "redpanda.RedpandaAdditionalStartFlags" (dict "a" (list . (include "redpanda-smp" .) ))) | fromJson) "r" | toYaml | nindent 4 }}
|
||||||
|
|
||||||
{{- with dig "config" "rpk" dict .Values.AsMap }}
|
{{- with dig "config" "rpk" dict .Values.AsMap }}
|
||||||
# config.rpk entries
|
# config.rpk entries
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
{{- define "redpanda.Name" -}}
|
{{- define "redpanda.Name" -}}
|
||||||
{{- $dot := (index .a 0) -}}
|
{{- $dot := (index .a 0) -}}
|
||||||
{{- range $_ := (list 1) -}}
|
{{- range $_ := (list 1) -}}
|
||||||
{{- $tmp_tuple_1 := (get (fromJson (include "_shims.compact" (dict "a" (list (get (fromJson (include "_shims.typetest" (dict "a" (list "string" (index $dot.Values "nameOverride")) ))) "r")) ))) "r") -}}
|
{{- $tmp_tuple_1 := (get (fromJson (include "_shims.compact" (dict "a" (list (get (fromJson (include "_shims.typetest" (dict "a" (list "string" (index $dot.Values "nameOverride") "") ))) "r")) ))) "r") -}}
|
||||||
{{- $ok_2 := $tmp_tuple_1.T2 -}}
|
{{- $ok_2 := $tmp_tuple_1.T2 -}}
|
||||||
{{- $override_1 := $tmp_tuple_1.T1 -}}
|
{{- $override_1 := $tmp_tuple_1.T1 -}}
|
||||||
{{- if (and $ok_2 (ne $override_1 "")) -}}
|
{{- if (and $ok_2 (ne $override_1 "")) -}}
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
{{- define "redpanda.Fullname" -}}
|
{{- define "redpanda.Fullname" -}}
|
||||||
{{- $dot := (index .a 0) -}}
|
{{- $dot := (index .a 0) -}}
|
||||||
{{- range $_ := (list 1) -}}
|
{{- range $_ := (list 1) -}}
|
||||||
{{- $tmp_tuple_2 := (get (fromJson (include "_shims.compact" (dict "a" (list (get (fromJson (include "_shims.typetest" (dict "a" (list "string" (index $dot.Values "fullnameOverride")) ))) "r")) ))) "r") -}}
|
{{- $tmp_tuple_2 := (get (fromJson (include "_shims.compact" (dict "a" (list (get (fromJson (include "_shims.typetest" (dict "a" (list "string" (index $dot.Values "fullnameOverride") "") ))) "r")) ))) "r") -}}
|
||||||
{{- $ok_4 := $tmp_tuple_2.T2 -}}
|
{{- $ok_4 := $tmp_tuple_2.T2 -}}
|
||||||
{{- $override_3 := $tmp_tuple_2.T1 -}}
|
{{- $override_3 := $tmp_tuple_2.T1 -}}
|
||||||
{{- if (and $ok_4 (ne $override_3 "")) -}}
|
{{- if (and $ok_4 (ne $override_3 "")) -}}
|
||||||
|
@ -54,35 +54,33 @@
|
||||||
|
|
||||||
{{- define "redpanda.StatefulSetPodLabelsSelector" -}}
|
{{- define "redpanda.StatefulSetPodLabelsSelector" -}}
|
||||||
{{- $dot := (index .a 0) -}}
|
{{- $dot := (index .a 0) -}}
|
||||||
{{- $statefulSet := (index .a 1) -}}
|
{{- $existing := (index .a 1) -}}
|
||||||
{{- range $_ := (list 1) -}}
|
{{- range $_ := (list 1) -}}
|
||||||
{{- if (and $dot.Release.IsUpgrade (ne $statefulSet (coalesce nil))) -}}
|
{{- if (and $dot.Release.IsUpgrade (ne $existing (coalesce nil))) -}}
|
||||||
{{- $existingStatefulSetLabelSelector := (dig "spec" "selector" "matchLabels" (coalesce nil) $statefulSet) -}}
|
{{- if (gt (int (get (fromJson (include "_shims.len" (dict "a" (list $existing.spec.selector.matchLabels) ))) "r")) 0) -}}
|
||||||
{{- if (ne $existingStatefulSetLabelSelector (coalesce nil)) -}}
|
{{- (dict "r" $existing.spec.selector.matchLabels) | toJson -}}
|
||||||
{{- (dict "r" $existingStatefulSetLabelSelector) | toJson -}}
|
|
||||||
{{- break -}}
|
{{- break -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- $values := $dot.Values.AsMap -}}
|
{{- $values := $dot.Values.AsMap -}}
|
||||||
{{- $commonLabels := (dict ) -}}
|
{{- $additionalSelectorLabels := (dict ) -}}
|
||||||
{{- if (ne $values.commonLabels (coalesce nil)) -}}
|
{{- if (ne $values.statefulset.additionalSelectorLabels (coalesce nil)) -}}
|
||||||
{{- $commonLabels = $values.commonLabels -}}
|
{{- $additionalSelectorLabels = $values.statefulset.additionalSelectorLabels -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- $component := (printf "%s-statefulset" (trimSuffix "-" (trunc 51 (get (fromJson (include "redpanda.Name" (dict "a" (list $dot) ))) "r")))) -}}
|
{{- $component := (printf "%s-statefulset" (trimSuffix "-" (trunc 51 (get (fromJson (include "redpanda.Name" (dict "a" (list $dot) ))) "r")))) -}}
|
||||||
{{- $defaults := (dict "app.kubernetes.io/component" $component "app.kubernetes.io/instance" $dot.Release.Name "app.kubernetes.io/name" (get (fromJson (include "redpanda.Name" (dict "a" (list $dot) ))) "r") ) -}}
|
{{- $defaults := (dict "app.kubernetes.io/component" $component "app.kubernetes.io/instance" $dot.Release.Name "app.kubernetes.io/name" (get (fromJson (include "redpanda.Name" (dict "a" (list $dot) ))) "r") ) -}}
|
||||||
{{- (dict "r" (merge (dict ) $commonLabels $defaults)) | toJson -}}
|
{{- (dict "r" (merge (dict ) $additionalSelectorLabels $defaults)) | toJson -}}
|
||||||
{{- break -}}
|
{{- break -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- define "redpanda.StatefulSetPodLabels" -}}
|
{{- define "redpanda.StatefulSetPodLabels" -}}
|
||||||
{{- $dot := (index .a 0) -}}
|
{{- $dot := (index .a 0) -}}
|
||||||
{{- $statefulSet := (index .a 1) -}}
|
{{- $existing := (index .a 1) -}}
|
||||||
{{- range $_ := (list 1) -}}
|
{{- range $_ := (list 1) -}}
|
||||||
{{- if (and $dot.Release.IsUpgrade (ne $statefulSet (coalesce nil))) -}}
|
{{- if (and $dot.Release.IsUpgrade (ne $existing (coalesce nil))) -}}
|
||||||
{{- $existingStatefulSetPodTemplateLabels := (dig "spec" "template" "metadata" "labels" (coalesce nil) $statefulSet) -}}
|
{{- if (gt (int (get (fromJson (include "_shims.len" (dict "a" (list $existing.spec.template.metadata.labels) ))) "r")) 0) -}}
|
||||||
{{- if (ne $existingStatefulSetPodTemplateLabels (coalesce nil)) -}}
|
{{- (dict "r" $existing.spec.template.metadata.labels) | toJson -}}
|
||||||
{{- (dict "r" $existingStatefulSetPodTemplateLabels) | toJson -}}
|
|
||||||
{{- break -}}
|
{{- break -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -91,8 +89,8 @@
|
||||||
{{- if (ne $values.statefulset.podTemplate.labels (coalesce nil)) -}}
|
{{- if (ne $values.statefulset.podTemplate.labels (coalesce nil)) -}}
|
||||||
{{- $statefulSetLabels = $values.statefulset.podTemplate.labels -}}
|
{{- $statefulSetLabels = $values.statefulset.podTemplate.labels -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- $defults := (dict "redpanda.com/poddisruptionbudget" (get (fromJson (include "redpanda.Fullname" (dict "a" (list $dot) ))) "r") ) -}}
|
{{- $defaults := (dict "redpanda.com/poddisruptionbudget" (get (fromJson (include "redpanda.Fullname" (dict "a" (list $dot) ))) "r") ) -}}
|
||||||
{{- (dict "r" (merge (dict ) $statefulSetLabels (get (fromJson (include "redpanda.StatefulSetPodLabelsSelector" (dict "a" (list $dot (coalesce nil)) ))) "r") $defults)) | toJson -}}
|
{{- (dict "r" (merge (dict ) $statefulSetLabels (get (fromJson (include "redpanda.StatefulSetPodLabelsSelector" (dict "a" (list $dot $existing) ))) "r") $defaults)) | toJson -}}
|
||||||
{{- break -}}
|
{{- break -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -196,7 +194,7 @@
|
||||||
{{- if (empty $external) -}}
|
{{- if (empty $external) -}}
|
||||||
{{- continue -}}
|
{{- continue -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- $keys := (keys $external) -}}
|
{{- $keys := (keys (get (fromJson (include "_shims.typeassertion" (dict "a" (list (printf "map[%s]%s" "string" "interface {}") $external) ))) "r")) -}}
|
||||||
{{- range $_, $key := $keys -}}
|
{{- range $_, $key := $keys -}}
|
||||||
{{- $enabled := (dig "listeners" $listener "external" $key "enabled" false $dot.Values.AsMap) -}}
|
{{- $enabled := (dig "listeners" $listener "external" $key "enabled" false $dot.Values.AsMap) -}}
|
||||||
{{- $tlsCert := (dig "listeners" $listener "external" $key "tls" "cert" false $dot.Values.AsMap) -}}
|
{{- $tlsCert := (dig "listeners" $listener "external" $key "tls" "cert" false $dot.Values.AsMap) -}}
|
||||||
|
|
|
@ -145,66 +145,6 @@ Use AppVersion if image.tag is not set
|
||||||
{{- toJson (dict "bool" (dig "enabled" false .Values.auth.sasl)) -}}
|
{{- toJson (dict "bool" (dig "enabled" false .Values.auth.sasl)) -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- define "SI-to-bytes" -}}
|
|
||||||
{{/*
|
|
||||||
This template converts the incoming SI value to whole number bytes.
|
|
||||||
Input can be: b | B | k | K | m | M | g | G | Ki | Mi | Gi
|
|
||||||
Or number without suffix
|
|
||||||
*/}}
|
|
||||||
{{- $si := . -}}
|
|
||||||
{{- if not (typeIs "string" . ) -}}
|
|
||||||
{{- $si = int64 $si | toString -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- $bytes := 0 -}}
|
|
||||||
{{- if or (hasSuffix "B" $si) (hasSuffix "b" $si) -}}
|
|
||||||
{{- $bytes = $si | trimSuffix "B" | trimSuffix "b" | float64 | floor -}}
|
|
||||||
{{- else if or (hasSuffix "K" $si) (hasSuffix "k" $si) -}}
|
|
||||||
{{- $raw := $si | trimSuffix "K" | trimSuffix "k" | float64 -}}
|
|
||||||
{{- $bytes = mulf $raw (mul 1000) | floor -}}
|
|
||||||
{{- else if or (hasSuffix "M" $si) (hasSuffix "m" $si) -}}
|
|
||||||
{{- $raw := $si | trimSuffix "M" | trimSuffix "m" | float64 -}}
|
|
||||||
{{- $bytes = mulf $raw (mul 1000 1000) | floor -}}
|
|
||||||
{{- else if or (hasSuffix "G" $si) (hasSuffix "g" $si) -}}
|
|
||||||
{{- $raw := $si | trimSuffix "G" | trimSuffix "g" | float64 -}}
|
|
||||||
{{- $bytes = mulf $raw (mul 1000 1000 1000) | floor -}}
|
|
||||||
{{- else if hasSuffix "Ki" $si -}}
|
|
||||||
{{- $raw := $si | trimSuffix "Ki" | float64 -}}
|
|
||||||
{{- $bytes = mulf $raw (mul 1024) | floor -}}
|
|
||||||
{{- else if hasSuffix "Mi" $si -}}
|
|
||||||
{{- $raw := $si | trimSuffix "Mi" | float64 -}}
|
|
||||||
{{- $bytes = mulf $raw (mul 1024 1024) | floor -}}
|
|
||||||
{{- else if hasSuffix "Gi" $si -}}
|
|
||||||
{{- $raw := $si | trimSuffix "Gi" | float64 -}}
|
|
||||||
{{- $bytes = mulf $raw (mul 1024 1024 1024) | floor -}}
|
|
||||||
{{- else if (mustRegexMatch "^[0-9]+$" $si) -}}
|
|
||||||
{{- $bytes = $si -}}
|
|
||||||
{{- else -}}
|
|
||||||
{{- printf "\n%s is invalid SI quantity\nSuffixes can be: b | B | k | K | m | M | g | G | Ki | Mi | Gi or without any Suffixes" $si | fail -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- $bytes | int64 -}}
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{/* Resource variables */}}
|
|
||||||
{{- define "redpanda-memoryToMi" -}}
|
|
||||||
{{/*
|
|
||||||
This template converts the incoming memory value to whole number mebibytes.
|
|
||||||
*/}}
|
|
||||||
{{- div (include "SI-to-bytes" .) (mul 1024 1024) -}}
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{- define "container-memory" -}}
|
|
||||||
{{- $result := "" -}}
|
|
||||||
{{- if (hasKey .Values.resources.memory.container "min") -}}
|
|
||||||
{{- $result = .Values.resources.memory.container.min | include "redpanda-memoryToMi" -}}
|
|
||||||
{{- else -}}
|
|
||||||
{{- $result = .Values.resources.memory.container.max | include "redpanda-memoryToMi" -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- if eq $result "" -}}
|
|
||||||
{{- "unable to get memory value from container" | fail -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- $result -}}
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{- define "external-loadbalancer-enabled" -}}
|
{{- define "external-loadbalancer-enabled" -}}
|
||||||
{{- $values := .Values -}}
|
{{- $values := .Values -}}
|
||||||
{{- $enabled := and .Values.external.enabled (eq .Values.external.type "LoadBalancer") -}}
|
{{- $enabled := and .Values.external.enabled (eq .Values.external.type "LoadBalancer") -}}
|
||||||
|
@ -218,63 +158,6 @@ Use AppVersion if image.tag is not set
|
||||||
{{- toJson (dict "bool" $enabled) -}}
|
{{- toJson (dict "bool" $enabled) -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- define "redpanda-reserve-memory" -}}
|
|
||||||
{{/*
|
|
||||||
Determines the value of --reserve-memory flag (in mebibytes with M suffix, per Seastar).
|
|
||||||
This template looks at all locations where memory could be set.
|
|
||||||
These locations, in order of priority, are:
|
|
||||||
- .Values.resources.memory.redpanda.reserveMemory (commented out by default, users could uncomment)
|
|
||||||
- .Values.resources.memory.container.min (commented out by default, users could uncomment and
|
|
||||||
change to something lower than .Values.resources.memory.container.max)
|
|
||||||
- .Values.resources.memory.container.max (set by default)
|
|
||||||
*/}}
|
|
||||||
{{- $result := 0 -}}
|
|
||||||
{{- if (hasKey .Values.resources.memory "redpanda") -}}
|
|
||||||
{{- $result = .Values.resources.memory.redpanda.reserveMemory | include "redpanda-memoryToMi" | int64 -}}
|
|
||||||
{{- else if (hasKey .Values.resources.memory.container "min") -}}
|
|
||||||
{{- $result = add (mulf (include "container-memory" .) 0.002) 200 -}}
|
|
||||||
{{- if gt $result 1000 -}}
|
|
||||||
{{- $result = 1000 -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- else -}}
|
|
||||||
{{- $result = add (mulf (include "container-memory" .) 0.002) 200 -}}
|
|
||||||
{{- if gt $result 1000 -}}
|
|
||||||
{{- $result = 1000 -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- $result -}}
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{- define "redpanda-memory" -}}
|
|
||||||
{{/*
|
|
||||||
Determines the value of --memory flag (in mebibytes with M suffix, per Seastar).
|
|
||||||
This template looks at all locations where memory could be set.
|
|
||||||
These locations, in order of priority, are:
|
|
||||||
- .Values.resources.memory.redpanda.memory (commented out by default, users could uncomment)
|
|
||||||
- .Values.resources.memory.container.min (commented out by default, users could uncomment and
|
|
||||||
change to something lower than .Values.resources.memory.container.max)
|
|
||||||
- .Values.resources.memory.container.max (set by default)
|
|
||||||
*/}}
|
|
||||||
{{- $result := 0 -}}
|
|
||||||
{{- if (hasKey .Values.resources.memory "redpanda") -}}
|
|
||||||
{{- $result = .Values.resources.memory.redpanda.memory | include "redpanda-memoryToMi" | int64 -}}
|
|
||||||
{{- else -}}
|
|
||||||
{{- $result = mulf (include "container-memory" .) 0.8 | int64 -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- if eq $result 0 -}}
|
|
||||||
{{- "unable to get memory value redpanda-memory" | fail -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- if lt $result 256 -}}
|
|
||||||
{{- printf "\n%d is below the minimum value for Redpanda" $result | fail -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- if not .Values.config.node.developer_mode }}
|
|
||||||
{{- if gt (add $result (include "redpanda-reserve-memory" .)) (include "container-memory" . | int64) -}}
|
|
||||||
{{- printf "\nNot enough container memory for Redpanda memory values\nredpanda: %d, reserve: %d, container: %d" $result (include "redpanda-reserve-memory" . | int64) (include "container-memory" . | int64) | fail -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- $result -}}
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
Returns the value of "resources.cpu.cores" in millicores. And ensures CPU units
|
Returns the value of "resources.cpu.cores" in millicores. And ensures CPU units
|
||||||
are using known suffix (really only "m") or no suffix at all.
|
are using known suffix (really only "m") or no suffix at all.
|
||||||
|
@ -323,7 +206,11 @@ than 1 core.
|
||||||
{{- define "storage-min-free-bytes" -}}
|
{{- define "storage-min-free-bytes" -}}
|
||||||
{{- $fiveGiB := 5368709120 -}}
|
{{- $fiveGiB := 5368709120 -}}
|
||||||
{{- if dig "enabled" false .Values.storage.persistentVolume -}}
|
{{- if dig "enabled" false .Values.storage.persistentVolume -}}
|
||||||
{{- min $fiveGiB (mulf (include "SI-to-bytes" .Values.storage.persistentVolume.size) 0.05 | int64) -}}
|
{{- if typeIs "string" .Values.storage.persistentVolume.size -}}
|
||||||
|
{{- min $fiveGiB (mulf (get ((include "redpanda.SIToBytes" (dict "a" (list .Values.storage.persistentVolume.size))) | fromJson) "r" ) 0.05 | int64) -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- min $fiveGiB (mulf .Values.storage.persistentVolume.size 0.05 | int64) -}}
|
||||||
|
{{- end -}}
|
||||||
{{- else -}}
|
{{- else -}}
|
||||||
{{- $fiveGiB -}}
|
{{- $fiveGiB -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -490,7 +377,7 @@ advertised-host returns a json string with the data needed for configuring the a
|
||||||
*/}}
|
*/}}
|
||||||
{{- define "warnings" -}}
|
{{- define "warnings" -}}
|
||||||
{{- $result := list -}}
|
{{- $result := list -}}
|
||||||
{{- $warnings := list "redpanda-memory-warning" "redpanda-cpu-warning" -}}
|
{{- $warnings := list "redpanda-cpu-warning" -}}
|
||||||
{{- range $t := $warnings -}}
|
{{- range $t := $warnings -}}
|
||||||
{{- $warning := include $t $ -}}
|
{{- $warning := include $t $ -}}
|
||||||
{{- if $warning -}}
|
{{- if $warning -}}
|
||||||
|
@ -501,16 +388,6 @@ advertised-host returns a json string with the data needed for configuring the a
|
||||||
{{- toJson (dict "result" $result) -}}
|
{{- toJson (dict "result" $result) -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{/*
|
|
||||||
return a warning if the chart is configured with insufficient memory
|
|
||||||
*/}}
|
|
||||||
{{- define "redpanda-memory-warning" -}}
|
|
||||||
{{- $result := (include "redpanda-memory" .) | int -}}
|
|
||||||
{{- if lt $result 2000 -}}
|
|
||||||
{{- printf "%d is below the minimum recommended value for Redpanda" $result -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{/*
|
{{/*
|
||||||
return a warning if the chart is configured with insufficient CPU
|
return a warning if the chart is configured with insufficient CPU
|
||||||
*/}}
|
*/}}
|
||||||
|
@ -802,80 +679,3 @@ REDPANDA_SASL_USERNAME REDPANDA_SASL_PASSWORD REDPANDA_SASL_MECHANISM
|
||||||
{{- $requireClientAuth := get ((include "redpanda.ClientAuthRequired" (dict "a" (list .))) | fromJson) "r" }}
|
{{- $requireClientAuth := get ((include "redpanda.ClientAuthRequired" (dict "a" (list .))) | fromJson) "r" }}
|
||||||
{{- toJson (dict "bool" $requireClientAuth) -}}
|
{{- toJson (dict "bool" $requireClientAuth) -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{/* secret-ref-or-value
|
|
||||||
in: {Value: string?, SecretKey: string?, SecretName: string?}
|
|
||||||
out: corev1.Envvar | nil
|
|
||||||
secret-ref-or-value converts a set of values into a structure suitable for
|
|
||||||
use as an environment variable or nil.
|
|
||||||
*/}}
|
|
||||||
{{- define "secret-ref-or-value" -}}
|
|
||||||
{{- if and (empty .Value) (or (empty .SecretName) (empty .SecretKey)) -}}
|
|
||||||
{{- mustToJson nil -}}
|
|
||||||
{{- else -}}
|
|
||||||
{{- $out := (dict
|
|
||||||
"name" .Name
|
|
||||||
"value" .Value
|
|
||||||
"valueFrom" (dict
|
|
||||||
"secretKeyRef" (dict
|
|
||||||
"name" .SecretName
|
|
||||||
"key" .SecretKey
|
|
||||||
)
|
|
||||||
)
|
|
||||||
) -}}
|
|
||||||
{{- if empty .Value -}}
|
|
||||||
{{- $_ := unset $out "value" -}}
|
|
||||||
{{- else -}}
|
|
||||||
{{- $_ := unset $out "valueFrom" -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- mustToJson $out -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
{{- define "tiered-storage-env-vars" -}}
|
|
||||||
{{- $config := (include "storage-tiered-config" . | fromJson) -}}
|
|
||||||
[
|
|
||||||
{{- if dig "cloud_storage_enabled" false $config -}}
|
|
||||||
{{include "secret-ref-or-value" (dict
|
|
||||||
"Name" "RPK_CLOUD_STORAGE_SECRET_KEY"
|
|
||||||
"Value" (dig "cloud_storage_secret_key" nil $config)
|
|
||||||
"SecretName" (dig "tiered" "credentialsSecretRef" "secretKey" "name" nil .Values.storage)
|
|
||||||
"SecretKey" (dig "tiered" "credentialsSecretRef" "secretKey" "key" nil .Values.storage)
|
|
||||||
)}}
|
|
||||||
,
|
|
||||||
{{include "secret-ref-or-value" (dict
|
|
||||||
"Name" "RPK_CLOUD_STORAGE_ACCESS_KEY"
|
|
||||||
"Value" (dig "cloud_storage_access_key" nil $config)
|
|
||||||
"SecretName" (dig "tiered" "credentialsSecretRef" "accessKey" "name" nil .Values.storage)
|
|
||||||
"SecretKey" (dig "tiered" "credentialsSecretRef" "accessKey" "key" nil .Values.storage)
|
|
||||||
)}}
|
|
||||||
|
|
||||||
{{/* Because these keys can be set via secrets, they're special
|
|
||||||
cased above. Remove them so they don't get duplicated. */}}
|
|
||||||
{{- $_ := unset $config "cloud_storage_access_key" -}}
|
|
||||||
{{- $_ := unset $config "cloud_storage_secret_key" -}}
|
|
||||||
|
|
||||||
{{/* iterate over the sorted keys of $config for deterministic output */}}
|
|
||||||
{{- range $i, $key := ($config | keys | sortAlpha) -}}
|
|
||||||
{{- $value := (get $config $key) -}}
|
|
||||||
|
|
||||||
{{/* Special case for cache size */}}
|
|
||||||
{{- if eq $key "cloud_storage_cache_size" -}}
|
|
||||||
{{- $value = (include "SI-to-bytes" $value | int64) -}}
|
|
||||||
{{- end -}}
|
|
||||||
|
|
||||||
,
|
|
||||||
|
|
||||||
{{/* Only include values that are truthy OR that are booleans */}}
|
|
||||||
{{- if or (eq (typeOf $value) "bool") $value -}}
|
|
||||||
{{include "secret-ref-or-value" (dict
|
|
||||||
"Name" (printf "RPK_%s" ($key | upper))
|
|
||||||
"Value" ($value | toJson)
|
|
||||||
)}}
|
|
||||||
{{- else -}}
|
|
||||||
null
|
|
||||||
{{- end -}}
|
|
||||||
{{- end -}}
|
|
||||||
{{- end -}}
|
|
||||||
]
|
|
||||||
{{- end -}}
|
|
||||||
|
|
|
@ -0,0 +1,171 @@
|
||||||
|
{{- /* Generated from "post_install_upgrade_job.tpl.go" */ -}}
|
||||||
|
|
||||||
|
{{- define "redpanda.PostInstallUpgradeEnvironmentVariables" -}}
|
||||||
|
{{- $dot := (index .a 0) -}}
|
||||||
|
{{- range $_ := (list 1) -}}
|
||||||
|
{{- $values := $dot.Values.AsMap -}}
|
||||||
|
{{- $envars := (list ) -}}
|
||||||
|
{{- $license_1 := (get (fromJson (include "redpanda.GetLicenseLiteral" (dict "a" (list $dot) ))) "r") -}}
|
||||||
|
{{- $secretReference_2 := (get (fromJson (include "redpanda.GetLicenseSecretReference" (dict "a" (list $dot) ))) "r") -}}
|
||||||
|
{{- if (ne $license_1 "") -}}
|
||||||
|
{{- $envars = (mustAppend $envars (mustMergeOverwrite (dict "name" "" ) (dict "name" "REDPANDA_LICENSE" "value" $license_1 ))) -}}
|
||||||
|
{{- else -}}{{- if (ne $secretReference_2 (coalesce nil)) -}}
|
||||||
|
{{- $envars = (mustAppend $envars (mustMergeOverwrite (dict "name" "" ) (dict "name" "REDPANDA_LICENSE" "valueFrom" (mustMergeOverwrite (dict ) (dict "secretKeyRef" $secretReference_2 )) ))) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $tieredStorageConfig := $values.storage.tiered.config -}}
|
||||||
|
{{- if (gt (int (get (fromJson (include "_shims.len" (dict "a" (list $values.storage.tieredConfig) ))) "r")) 0) -}}
|
||||||
|
{{- $tieredStorageConfig = $values.storage.tieredConfig -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if (not (get (fromJson (include "redpanda.IsTieredStorageEnabled" (dict "a" (list $tieredStorageConfig) ))) "r")) -}}
|
||||||
|
{{- (dict "r" $envars) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $tmp_tuple_1 := (get (fromJson (include "_shims.compact" (dict "a" (list (get (fromJson (include "_shims.dicttest" (dict "a" (list $tieredStorageConfig "cloud_storage_azure_container" (coalesce nil)) ))) "r")) ))) "r") -}}
|
||||||
|
{{- $azureContainerExists := $tmp_tuple_1.T2 -}}
|
||||||
|
{{- $ac := $tmp_tuple_1.T1 -}}
|
||||||
|
{{- $tmp_tuple_2 := (get (fromJson (include "_shims.compact" (dict "a" (list (get (fromJson (include "_shims.dicttest" (dict "a" (list $tieredStorageConfig "cloud_storage_azure_storage_account" (coalesce nil)) ))) "r")) ))) "r") -}}
|
||||||
|
{{- $azureStorageAccountExists := $tmp_tuple_2.T2 -}}
|
||||||
|
{{- $asa := $tmp_tuple_2.T1 -}}
|
||||||
|
{{- if (and (and (and $azureContainerExists (ne $ac (coalesce nil))) $azureStorageAccountExists) (ne $asa (coalesce nil))) -}}
|
||||||
|
{{- $envars = (concat $envars (get (fromJson (include "redpanda.addAzureSharedKey" (dict "a" (list $tieredStorageConfig $values) ))) "r")) -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- $envars = (concat $envars (get (fromJson (include "redpanda.addCloudStorageSecretKey" (dict "a" (list $tieredStorageConfig $values) ))) "r")) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $envars = (concat $envars (get (fromJson (include "redpanda.addCloudStorageAccessKey" (dict "a" (list $tieredStorageConfig $values) ))) "r")) -}}
|
||||||
|
{{- range $k, $v := $tieredStorageConfig -}}
|
||||||
|
{{- if (or (or (eq $k "cloud_storage_access_key") (eq $k "cloud_storage_secret_key")) (eq $k "cloud_storage_azure_shared_key")) -}}
|
||||||
|
{{- continue -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if (or (eq $v (coalesce nil)) (empty $v)) -}}
|
||||||
|
{{- continue -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $tmp_tuple_3 := (get (fromJson (include "_shims.compact" (dict "a" (list (get (fromJson (include "_shims.typetest" (dict "a" (list "string" $v "") ))) "r")) ))) "r") -}}
|
||||||
|
{{- $isStr_4 := $tmp_tuple_3.T2 -}}
|
||||||
|
{{- $asStr_3 := $tmp_tuple_3.T1 -}}
|
||||||
|
{{- if (and (and (eq $k "cloud_storage_cache_size") $isStr_4) (ne $asStr_3 "")) -}}
|
||||||
|
{{- $envars = (mustAppend $envars (mustMergeOverwrite (dict "name" "" ) (dict "name" (printf "RPK_%s" (upper $k)) "value" (toJson (get (fromJson (include "redpanda.SIToBytes" (dict "a" (list (get (fromJson (include "_shims.typeassertion" (dict "a" (list "string" $v) ))) "r")) ))) "r")) ))) -}}
|
||||||
|
{{- continue -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $tmp_tuple_4 := (get (fromJson (include "_shims.compact" (dict "a" (list (get (fromJson (include "_shims.typetest" (dict "a" (list "string" $v "") ))) "r")) ))) "r") -}}
|
||||||
|
{{- $ok_6 := $tmp_tuple_4.T2 -}}
|
||||||
|
{{- $str_5 := $tmp_tuple_4.T1 -}}
|
||||||
|
{{- if $ok_6 -}}
|
||||||
|
{{- $envars = (mustAppend $envars (mustMergeOverwrite (dict "name" "" ) (dict "name" (printf "RPK_%s" (upper $k)) "value" $str_5 ))) -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- $envars = (mustAppend $envars (mustMergeOverwrite (dict "name" "" ) (dict "name" (printf "RPK_%s" (upper $k)) "value" (mustToJson $v) ))) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- (dict "r" $envars) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "redpanda.addCloudStorageAccessKey" -}}
|
||||||
|
{{- $tieredStorageConfig := (index .a 0) -}}
|
||||||
|
{{- $values := (index .a 1) -}}
|
||||||
|
{{- range $_ := (list 1) -}}
|
||||||
|
{{- $tmp_tuple_5 := (get (fromJson (include "_shims.compact" (dict "a" (list (get (fromJson (include "_shims.dicttest" (dict "a" (list $tieredStorageConfig "cloud_storage_access_key" (coalesce nil)) ))) "r")) ))) "r") -}}
|
||||||
|
{{- $ok_8 := $tmp_tuple_5.T2 -}}
|
||||||
|
{{- $v_7 := $tmp_tuple_5.T1 -}}
|
||||||
|
{{- $ak_9 := $values.storage.tiered.credentialsSecretRef.accessKey -}}
|
||||||
|
{{- if (and $ok_8 (ne $v_7 "")) -}}
|
||||||
|
{{- (dict "r" (list (mustMergeOverwrite (dict "name" "" ) (dict "name" "RPK_CLOUD_STORAGE_ACCESS_KEY" "value" (get (fromJson (include "_shims.typeassertion" (dict "a" (list "string" $v_7) ))) "r") )))) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- else -}}{{- if (and (and (ne $ak_9 (coalesce nil)) (not (empty $ak_9.name))) (not (empty $ak_9.key))) -}}
|
||||||
|
{{- (dict "r" (list (mustMergeOverwrite (dict "name" "" ) (dict "name" "RPK_CLOUD_STORAGE_ACCESS_KEY" "valueFrom" (mustMergeOverwrite (dict ) (dict "secretKeyRef" (mustMergeOverwrite (mustMergeOverwrite (dict ) (dict "key" "" )) (mustMergeOverwrite (dict ) (dict "name" $ak_9.name )) (dict "key" $ak_9.key )) )) )))) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- (dict "r" (list )) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "redpanda.addCloudStorageSecretKey" -}}
|
||||||
|
{{- $tieredStorageConfig := (index .a 0) -}}
|
||||||
|
{{- $values := (index .a 1) -}}
|
||||||
|
{{- range $_ := (list 1) -}}
|
||||||
|
{{- $tmp_tuple_6 := (get (fromJson (include "_shims.compact" (dict "a" (list (get (fromJson (include "_shims.dicttest" (dict "a" (list $tieredStorageConfig "cloud_storage_secret_key" (coalesce nil)) ))) "r")) ))) "r") -}}
|
||||||
|
{{- $ok_11 := $tmp_tuple_6.T2 -}}
|
||||||
|
{{- $v_10 := $tmp_tuple_6.T1 -}}
|
||||||
|
{{- $sk_12 := $values.storage.tiered.credentialsSecretRef.secretKey -}}
|
||||||
|
{{- if (and $ok_11 (ne $v_10 "")) -}}
|
||||||
|
{{- (dict "r" (list (mustMergeOverwrite (dict "name" "" ) (dict "name" "RPK_CLOUD_STORAGE_SECRET_KEY" "value" (get (fromJson (include "_shims.typeassertion" (dict "a" (list "string" $v_10) ))) "r") )))) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- else -}}{{- if (and (and (ne $sk_12 (coalesce nil)) (not (empty $sk_12.name))) (not (empty $sk_12.key))) -}}
|
||||||
|
{{- (dict "r" (list (mustMergeOverwrite (dict "name" "" ) (dict "name" "RPK_CLOUD_STORAGE_SECRET_KEY" "valueFrom" (mustMergeOverwrite (dict ) (dict "secretKeyRef" (mustMergeOverwrite (mustMergeOverwrite (dict ) (dict "key" "" )) (mustMergeOverwrite (dict ) (dict "name" $sk_12.name )) (dict "key" $sk_12.key )) )) )))) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- (dict "r" (list )) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "redpanda.addAzureSharedKey" -}}
|
||||||
|
{{- $tieredStorageConfig := (index .a 0) -}}
|
||||||
|
{{- $values := (index .a 1) -}}
|
||||||
|
{{- range $_ := (list 1) -}}
|
||||||
|
{{- $tmp_tuple_7 := (get (fromJson (include "_shims.compact" (dict "a" (list (get (fromJson (include "_shims.dicttest" (dict "a" (list $tieredStorageConfig "cloud_storage_azure_shared_key" (coalesce nil)) ))) "r")) ))) "r") -}}
|
||||||
|
{{- $ok_14 := $tmp_tuple_7.T2 -}}
|
||||||
|
{{- $v_13 := $tmp_tuple_7.T1 -}}
|
||||||
|
{{- $sk_15 := $values.storage.tiered.credentialsSecretRef.secretKey -}}
|
||||||
|
{{- if (and $ok_14 (ne $v_13 "")) -}}
|
||||||
|
{{- (dict "r" (list (mustMergeOverwrite (dict "name" "" ) (dict "name" "RPK_CLOUD_STORAGE_AZURE_SHARED_KEY" "value" (get (fromJson (include "_shims.typeassertion" (dict "a" (list "string" $v_13) ))) "r") )))) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- else -}}{{- if (and (and (ne $sk_15 (coalesce nil)) (not (empty $sk_15.name))) (not (empty $sk_15.key))) -}}
|
||||||
|
{{- (dict "r" (list (mustMergeOverwrite (dict "name" "" ) (dict "name" "RPK_CLOUD_STORAGE_AZURE_SHARED_KEY" "valueFrom" (mustMergeOverwrite (dict ) (dict "secretKeyRef" (mustMergeOverwrite (mustMergeOverwrite (dict ) (dict "key" "" )) (mustMergeOverwrite (dict ) (dict "name" $sk_15.name )) (dict "key" $sk_15.key )) )) )))) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- (dict "r" (list )) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "redpanda.GetLicenseLiteral" -}}
|
||||||
|
{{- $dot := (index .a 0) -}}
|
||||||
|
{{- range $_ := (list 1) -}}
|
||||||
|
{{- $values := $dot.Values.AsMap -}}
|
||||||
|
{{- if (ne $values.enterprise.license "") -}}
|
||||||
|
{{- (dict "r" $values.enterprise.license) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- (dict "r" $values.license_key) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "redpanda.GetLicenseSecretReference" -}}
|
||||||
|
{{- $dot := (index .a 0) -}}
|
||||||
|
{{- range $_ := (list 1) -}}
|
||||||
|
{{- $values := $dot.Values.AsMap -}}
|
||||||
|
{{- if (not (empty $values.enterprise.licenseSecretRef)) -}}
|
||||||
|
{{- (dict "r" (mustMergeOverwrite (mustMergeOverwrite (dict ) (dict "key" "" )) (mustMergeOverwrite (dict ) (dict "name" $values.enterprise.licenseSecretRef.name )) (dict "key" $values.enterprise.licenseSecretRef.key ))) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- else -}}{{- if (not (empty $values.license_secret_ref)) -}}
|
||||||
|
{{- (dict "r" (mustMergeOverwrite (mustMergeOverwrite (dict ) (dict "key" "" )) (mustMergeOverwrite (dict ) (dict "name" $values.license_secret_ref.secret_name )) (dict "key" $values.license_secret_ref.secret_key ))) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- (dict "r" (coalesce nil)) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "redpanda.IsTieredStorageEnabled" -}}
|
||||||
|
{{- $tieredStorageConfig := (index .a 0) -}}
|
||||||
|
{{- range $_ := (list 1) -}}
|
||||||
|
{{- $tmp_tuple_8 := (get (fromJson (include "_shims.compact" (dict "a" (list (get (fromJson (include "_shims.dicttest" (dict "a" (list $tieredStorageConfig "cloud_storage_enabled" (coalesce nil)) ))) "r")) ))) "r") -}}
|
||||||
|
{{- $ok_17 := $tmp_tuple_8.T2 -}}
|
||||||
|
{{- $b_16 := $tmp_tuple_8.T1 -}}
|
||||||
|
{{- if (and $ok_17 (get (fromJson (include "_shims.typeassertion" (dict "a" (list "bool" $b_16) ))) "r")) -}}
|
||||||
|
{{- (dict "r" true) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- (dict "r" false) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
|
@ -1,34 +1,77 @@
|
||||||
{{- /* Generated from "" */ -}}
|
{{- /* Generated from "_shims.go" */ -}}
|
||||||
|
|
||||||
{{- define "_shims.typetest" -}}
|
{{- define "_shims.typetest" -}}
|
||||||
{{- $type := (index .a 0) -}}
|
{{- $typ := (index .a 0) -}}
|
||||||
{{- $value := (index .a 1) -}}
|
{{- $value := (index .a 1) -}}
|
||||||
{{- dict "r" (list $value (typeIs $type $value)) | toJson -}}
|
{{- $zero := (index .a 2) -}}
|
||||||
|
{{- range $_ := (list 1) -}}
|
||||||
|
{{- if (typeIs $typ $value) -}}
|
||||||
|
{{- (dict "r" (list $value true)) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
{{- (dict "r" (list $zero false)) | toJson -}}
|
||||||
{{- define "_shims.dicttest" -}}
|
{{- break -}}
|
||||||
{{- $dict := (index .a 0) -}}
|
|
||||||
{{- $key := (index .a 1) -}}
|
|
||||||
{{- if (hasKey $dict $key) -}}
|
|
||||||
{{- (dict "r" (list (index $dict $key) true)) | toJson -}}
|
|
||||||
{{- else -}}
|
|
||||||
{{- (dict "r" (list "" false)) | toJson -}}
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- define "_shims.typeassertion" -}}
|
{{- define "_shims.typeassertion" -}}
|
||||||
{{- $type := (index .a 0) -}}
|
{{- $typ := (index .a 0) -}}
|
||||||
{{- $value := (index .a 1) -}}
|
{{- $value := (index .a 1) -}}
|
||||||
{{- if (not (typeIs $type $value)) -}}
|
{{- range $_ := (list 1) -}}
|
||||||
{{- (fail "TODO MAKE THIS A NICE MESSAGE") -}}
|
{{- if (not (typeIs $typ $value)) -}}
|
||||||
|
{{- $_ := (fail (printf "expected type of %q got: %T" $typ $value)) -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- (dict "r" $value) | toJson -}}
|
{{- (dict "r" $value) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "_shims.dicttest" -}}
|
||||||
|
{{- $m := (index .a 0) -}}
|
||||||
|
{{- $key := (index .a 1) -}}
|
||||||
|
{{- $zero := (index .a 2) -}}
|
||||||
|
{{- range $_ := (list 1) -}}
|
||||||
|
{{- if (hasKey $m $key) -}}
|
||||||
|
{{- (dict "r" (list (index $m $key) true)) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- (dict "r" (list $zero false)) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
{{- define "_shims.compact" -}}
|
{{- define "_shims.compact" -}}
|
||||||
{{- $out := (dict) -}}
|
{{- $args := (index .a 0) -}}
|
||||||
{{- range $i, $e := (index .a 0) }}
|
{{- range $_ := (list 1) -}}
|
||||||
{{- $_ := (set $out (printf "T%d" (add1 $i)) $e) -}}
|
{{- $out := (dict ) -}}
|
||||||
|
{{- range $i, $e := $args -}}
|
||||||
|
{{- $_ := (set $out (printf "T%d" (int (add 1 $i))) $e) -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- (dict "r" $out) | toJson -}}
|
{{- (dict "r" $out) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "_shims.deref" -}}
|
||||||
|
{{- $ptr := (index .a 0) -}}
|
||||||
|
{{- range $_ := (list 1) -}}
|
||||||
|
{{- if (eq $ptr (coalesce nil)) -}}
|
||||||
|
{{- $_ := (fail "nil dereference") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- (dict "r" $ptr) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "_shims.len" -}}
|
||||||
|
{{- $m := (index .a 0) -}}
|
||||||
|
{{- range $_ := (list 1) -}}
|
||||||
|
{{- if (eq $m (coalesce nil)) -}}
|
||||||
|
{{- (dict "r" 0) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- (dict "r" (len $m)) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
{{- /* Generated from "statefulset.go" */ -}}
|
||||||
|
|
||||||
|
{{- define "redpanda.StatefulSetRedpandaEnv" -}}
|
||||||
|
{{- $dot := (index .a 0) -}}
|
||||||
|
{{- range $_ := (list 1) -}}
|
||||||
|
{{- $values := $dot.Values.AsMap -}}
|
||||||
|
{{- $userEnv := (list ) -}}
|
||||||
|
{{- range $_, $container := $values.statefulset.podTemplate.spec.containers -}}
|
||||||
|
{{- if (eq $container.name "redpanda") -}}
|
||||||
|
{{- $userEnv = $container.env -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- (dict "r" (concat (list (mustMergeOverwrite (dict "name" "" ) (dict "name" "SERVICE_NAME" "valueFrom" (mustMergeOverwrite (dict ) (dict "fieldRef" (mustMergeOverwrite (dict "fieldPath" "" ) (dict "fieldPath" "metadata.name" )) )) )) (mustMergeOverwrite (dict "name" "" ) (dict "name" "POD_IP" "valueFrom" (mustMergeOverwrite (dict ) (dict "fieldRef" (mustMergeOverwrite (dict "fieldPath" "" ) (dict "fieldPath" "status.podIP" )) )) )) (mustMergeOverwrite (dict "name" "" ) (dict "name" "HOST_IP" "valueFrom" (mustMergeOverwrite (dict ) (dict "fieldRef" (mustMergeOverwrite (dict "fieldPath" "" ) (dict "fieldPath" "status.hostIP" )) )) ))) $userEnv)) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
|
@ -0,0 +1,152 @@
|
||||||
|
{{- /* Generated from "memory.go" */ -}}
|
||||||
|
|
||||||
|
{{- define "redpanda.RedpandaReserveMemory" -}}
|
||||||
|
{{- $dot := (index .a 0) -}}
|
||||||
|
{{- range $_ := (list 1) -}}
|
||||||
|
{{- $values := $dot.Values.AsMap -}}
|
||||||
|
{{- $rpMem_1 := $values.resources.memory.redpanda -}}
|
||||||
|
{{- if (and (ne $rpMem_1 (coalesce nil)) (ne $rpMem_1.reserveMemory (coalesce nil))) -}}
|
||||||
|
{{- if (kindIs "string" $rpMem_1.reserveMemory) -}}
|
||||||
|
{{- (dict "r" (get (fromJson (include "redpanda.RedpandaMemoryToMi" (dict "a" (list $rpMem_1.reserveMemory) ))) "r")) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $_ := (fail (printf "Redpanda.ReserveMemory (%v) is not type of string" $rpMem_1.reserveMemory)) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- (dict "r" (int (add (int (float64 (mulf (float64 (get (fromJson (include "redpanda.ContainerMemory" (dict "a" (list $dot) ))) "r")) 0.002))) 200))) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "redpanda.RedpandaMemory" -}}
|
||||||
|
{{- $dot := (index .a 0) -}}
|
||||||
|
{{- range $_ := (list 1) -}}
|
||||||
|
{{- $values := $dot.Values.AsMap -}}
|
||||||
|
{{- $memory := 0 -}}
|
||||||
|
{{- $containerMemory := (get (fromJson (include "redpanda.ContainerMemory" (dict "a" (list $dot) ))) "r") -}}
|
||||||
|
{{- $rpMem_2 := $values.resources.memory.redpanda -}}
|
||||||
|
{{- if (and (ne $rpMem_2 (coalesce nil)) (ne $rpMem_2.memory (coalesce nil))) -}}
|
||||||
|
{{- if (kindIs "string" $rpMem_2.memory) -}}
|
||||||
|
{{- $memory = (int (get (fromJson (include "redpanda.RedpandaMemoryToMi" (dict "a" (list $rpMem_2.memory) ))) "r")) -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- $_ := (fail (printf "Redpanda.Memory (%v) is not type of string" $rpMem_2.reserveMemory)) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- $memory = (int (float64 (mulf (float64 $containerMemory) 0.8))) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if (eq $memory 0) -}}
|
||||||
|
{{- $_ := (fail "unable to get memory value redpanda-memory") -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if (lt $memory 256) -}}
|
||||||
|
{{- $_ := (fail (printf "%d is below the minimum value for Redpanda" $memory)) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if (gt (int (add $memory (int (get (fromJson (include "redpanda.RedpandaReserveMemory" (dict "a" (list $dot) ))) "r")))) (int $containerMemory)) -}}
|
||||||
|
{{- $_ := (fail (printf "Not enough container memory for Redpanda memory values where Redpanda: %d, reserve: %d, container: %d" $memory (get (fromJson (include "redpanda.RedpandaReserveMemory" (dict "a" (list $dot) ))) "r") $containerMemory)) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- (dict "r" $memory) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "redpanda.SIToBytes" -}}
|
||||||
|
{{- $amount := (index .a 0) -}}
|
||||||
|
{{- range $_ := (list 1) -}}
|
||||||
|
{{- $matched := (regexMatch `^[0-9]+(\.[0-9]){0,1}(k|M|G|T|P|Ki|Mi|Gi|Ti|Pi)?$` $amount) -}}
|
||||||
|
{{- if (not $matched) -}}
|
||||||
|
{{- $_ := (fail (printf "amount (%s) does not match regex" $amount)) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $unit := (substr (int (sub (int (get (fromJson (include "_shims.len" (dict "a" (list $amount) ))) "r")) 1)) -1 $amount) -}}
|
||||||
|
{{- $amount = (substr 0 (int (sub (int (get (fromJson (include "_shims.len" (dict "a" (list $amount) ))) "r")) 1)) $amount) -}}
|
||||||
|
{{- if (eq $unit "i") -}}
|
||||||
|
{{- $unit = (printf "%s%s" (substr (int (sub (int (get (fromJson (include "_shims.len" (dict "a" (list $amount) ))) "r")) 1)) -1 $amount) $unit) -}}
|
||||||
|
{{- $amount = (substr 0 (int (sub (int (get (fromJson (include "_shims.len" (dict "a" (list $amount) ))) "r")) 1)) $amount) -}}
|
||||||
|
{{- else -}}{{- if (regexMatch `\d` $unit) -}}
|
||||||
|
{{- $amount = (printf "%s%s" $amount $unit) -}}
|
||||||
|
{{- $unit = "" -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- $k := 1000 -}}
|
||||||
|
{{- $m := (int (mul $k $k)) -}}
|
||||||
|
{{- $g := (int (mul (int (mul $k $k)) $k)) -}}
|
||||||
|
{{- $t := (int (mul (int (mul (int (mul $k $k)) $k)) $k)) -}}
|
||||||
|
{{- $p := (int (mul (int (mul (int (mul (int (mul $k $k)) $k)) $k)) $k)) -}}
|
||||||
|
{{- $ki := 1024 -}}
|
||||||
|
{{- $mi := (int (mul $ki $ki)) -}}
|
||||||
|
{{- $gi := (int (mul (int (mul $ki $ki)) $ki)) -}}
|
||||||
|
{{- $ti := (int (mul (int (mul (int (mul $ki $ki)) $ki)) $ki)) -}}
|
||||||
|
{{- $pi := (int (mul (int (mul (int (mul (int (mul $ki $ki)) $ki)) $ki)) $ki)) -}}
|
||||||
|
{{- $tmp_tuple_1 := (get (fromJson (include "_shims.compact" (dict "a" (list (list (float64 $amount) nil)) ))) "r") -}}
|
||||||
|
{{- $err := $tmp_tuple_1.T2 -}}
|
||||||
|
{{- $amountFloat := $tmp_tuple_1.T1 -}}
|
||||||
|
{{- if (ne $err (coalesce nil)) -}}
|
||||||
|
{{- $_ := (fail (printf "SI to bytes conversion : %v" $err)) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- if (eq $unit "") -}}
|
||||||
|
{{- (dict "r" (int $amountFloat)) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- else -}}{{- if (eq $unit "k") -}}
|
||||||
|
{{- (dict "r" (int (float64 (mulf $amountFloat (float64 $k))))) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- else -}}{{- if (eq $unit "M") -}}
|
||||||
|
{{- (dict "r" (int (float64 (mulf $amountFloat (float64 $m))))) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- else -}}{{- if (eq $unit "G") -}}
|
||||||
|
{{- (dict "r" (int (float64 (mulf $amountFloat (float64 $g))))) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- else -}}{{- if (eq $unit "T") -}}
|
||||||
|
{{- (dict "r" (int (float64 (mulf $amountFloat (float64 $t))))) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- else -}}{{- if (eq $unit "P") -}}
|
||||||
|
{{- (dict "r" (int (float64 (mulf $amountFloat (float64 $p))))) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- else -}}{{- if (eq $unit "Ki") -}}
|
||||||
|
{{- (dict "r" (int (float64 (mulf $amountFloat (float64 $ki))))) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- else -}}{{- if (eq $unit "Mi") -}}
|
||||||
|
{{- (dict "r" (int (float64 (mulf $amountFloat (float64 $mi))))) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- else -}}{{- if (eq $unit "Gi") -}}
|
||||||
|
{{- (dict "r" (int (float64 (mulf $amountFloat (float64 $gi))))) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- else -}}{{- if (eq $unit "Ti") -}}
|
||||||
|
{{- (dict "r" (int (float64 (mulf $amountFloat (float64 $ti))))) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- else -}}{{- if (eq $unit "Pi") -}}
|
||||||
|
{{- (dict "r" (int (float64 (mulf $amountFloat (float64 $pi))))) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- else -}}
|
||||||
|
{{- $_ := (fail (printf "unknown unit: %q" $unit)) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "redpanda.RedpandaMemoryToMi" -}}
|
||||||
|
{{- $amount := (index .a 0) -}}
|
||||||
|
{{- range $_ := (list 1) -}}
|
||||||
|
{{- (dict "r" (int (div (get (fromJson (include "redpanda.SIToBytes" (dict "a" (list (toString $amount)) ))) "r") ((mul 1024 1024))))) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
||||||
|
{{- define "redpanda.ContainerMemory" -}}
|
||||||
|
{{- $dot := (index .a 0) -}}
|
||||||
|
{{- range $_ := (list 1) -}}
|
||||||
|
{{- $values := $dot.Values.AsMap -}}
|
||||||
|
{{- if (ne $values.resources.memory.container.min (coalesce nil)) -}}
|
||||||
|
{{- (dict "r" (get (fromJson (include "redpanda.RedpandaMemoryToMi" (dict "a" (list $values.resources.memory.container.min) ))) "r")) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- (dict "r" (get (fromJson (include "redpanda.RedpandaMemoryToMi" (dict "a" (list $values.resources.memory.container.max) ))) "r")) | toJson -}}
|
||||||
|
{{- break -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- end -}}
|
||||||
|
|
|
@ -68,15 +68,7 @@ spec:
|
||||||
containers:
|
containers:
|
||||||
- name: {{ template "redpanda.name" . }}-post-install
|
- name: {{ template "redpanda.name" . }}-post-install
|
||||||
image: {{ .Values.image.repository }}:{{ template "redpanda.tag" . }}
|
image: {{ .Values.image.repository }}:{{ template "redpanda.tag" . }}
|
||||||
{{ (dict "env" (prepend
|
{{ (dict "env" (get ((include "redpanda.PostInstallUpgradeEnvironmentVariables" (dict "a" (list .))) | fromJson) "r")) | toYaml | nindent 8 }}
|
||||||
(include "tiered-storage-env-vars" . | fromJsonArray)
|
|
||||||
(include "secret-ref-or-value" (dict
|
|
||||||
"Name" "REDPANDA_LICENSE"
|
|
||||||
"Value" (include "enterprise-license" .)
|
|
||||||
"SecretName" (include "enterprise-secret-name" .)
|
|
||||||
"SecretKey" (include "enterprise-secret-key" .)
|
|
||||||
) | fromJson)
|
|
||||||
| compact)) | toYaml | nindent 8 }}
|
|
||||||
command: ["bash","-c"]
|
command: ["bash","-c"]
|
||||||
args:
|
args:
|
||||||
- |
|
- |
|
||||||
|
|
|
@ -37,7 +37,11 @@
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- $ports = (mustAppend $ports (mustMergeOverwrite (dict "port" 0 "targetPort" 0 ) (dict "name" (printf "schema-%s" $name) "protocol" "TCP" "port" $listener.port "nodePort" (index $listener.advertisedPorts 0) ))) -}}
|
{{- $ports = (mustAppend $ports (mustMergeOverwrite (dict "port" 0 "targetPort" 0 ) (dict "name" (printf "schema-%s" $name) "protocol" "TCP" "port" $listener.port "nodePort" (index $listener.advertisedPorts 0) ))) -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- (dict "r" (mustMergeOverwrite (mustMergeOverwrite (dict ) (dict "metadata" (dict "creationTimestamp" (coalesce nil) ) "spec" (dict ) "status" (dict "loadBalancer" (dict ) ) )) (mustMergeOverwrite (dict ) (dict "apiVersion" "v1" "kind" "Service" )) (dict "metadata" (mustMergeOverwrite (dict "creationTimestamp" (coalesce nil) ) (dict "name" (printf "%s-external" (get (fromJson (include "redpanda.ServiceName" (dict "a" (list $dot) ))) "r")) "namespace" $dot.Release.Namespace "labels" (get (fromJson (include "redpanda.FullLabels" (dict "a" (list $dot) ))) "r") "annotations" (default (dict ) $values.external.annotations) )) "spec" (mustMergeOverwrite (dict ) (dict "externalTrafficPolicy" "Local" "ports" $ports "publishNotReadyAddresses" true "selector" (get (fromJson (include "redpanda.StatefulSetPodLabelsSelector" (dict "a" (list $dot (coalesce nil)) ))) "r") "sessionAffinity" "None" "type" "NodePort" )) ))) | toJson -}}
|
{{- $annotations := $values.external.annotations -}}
|
||||||
|
{{- if (eq $annotations (coalesce nil)) -}}
|
||||||
|
{{- $annotations = (dict ) -}}
|
||||||
|
{{- end -}}
|
||||||
|
{{- (dict "r" (mustMergeOverwrite (mustMergeOverwrite (dict ) (dict "metadata" (dict "creationTimestamp" (coalesce nil) ) "spec" (dict ) "status" (dict "loadBalancer" (dict ) ) )) (mustMergeOverwrite (dict ) (dict "apiVersion" "v1" "kind" "Service" )) (dict "metadata" (mustMergeOverwrite (dict "creationTimestamp" (coalesce nil) ) (dict "name" (printf "%s-external" (get (fromJson (include "redpanda.ServiceName" (dict "a" (list $dot) ))) "r")) "namespace" $dot.Release.Namespace "labels" (get (fromJson (include "redpanda.FullLabels" (dict "a" (list $dot) ))) "r") "annotations" $annotations )) "spec" (mustMergeOverwrite (dict ) (dict "externalTrafficPolicy" "Local" "ports" $ports "publishNotReadyAddresses" true "selector" (get (fromJson (include "redpanda.StatefulSetPodLabelsSelector" (dict "a" (list $dot (coalesce nil)) ))) "r") "sessionAffinity" "None" "type" "NodePort" )) ))) | toJson -}}
|
||||||
{{- break -}}
|
{{- break -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -178,19 +178,7 @@ spec:
|
||||||
containers:
|
containers:
|
||||||
- name: {{ template "redpanda.name" . }}
|
- name: {{ template "redpanda.name" . }}
|
||||||
image: {{ .Values.image.repository }}:{{ template "redpanda.tag" . }}
|
image: {{ .Values.image.repository }}:{{ template "redpanda.tag" . }}
|
||||||
env:
|
env: {{ get ((include "redpanda.StatefulSetRedpandaEnv" (dict "a" (list .))) | fromJson) "r" | toYaml | nindent 12 }}
|
||||||
- name: SERVICE_NAME
|
|
||||||
valueFrom:
|
|
||||||
fieldRef:
|
|
||||||
fieldPath: metadata.name
|
|
||||||
- name: POD_IP
|
|
||||||
valueFrom:
|
|
||||||
fieldRef:
|
|
||||||
fieldPath: status.podIP
|
|
||||||
- name: HOST_IP
|
|
||||||
valueFrom:
|
|
||||||
fieldRef:
|
|
||||||
fieldPath: status.hostIP
|
|
||||||
# finish the lifecycle scripts with "true" to prevent them from terminating the pod prematurely
|
# finish the lifecycle scripts with "true" to prevent them from terminating the pod prematurely
|
||||||
lifecycle:
|
lifecycle:
|
||||||
postStart:
|
postStart:
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
{
|
{
|
||||||
"$schema": "http://json-schema.org/schema#",
|
"$id": "https://github.com/redpanda-data/helm-charts/charts/redpanda/values",
|
||||||
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||||
|
"description": "DO NOT EDIT!. This file was generated by ./cmd/genschema/genschema.go",
|
||||||
"properties": {
|
"properties": {
|
||||||
"affinity": {
|
"affinity": {
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -24,30 +26,42 @@
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
"enabledEventTypes": {
|
"enabledEventTypes": {
|
||||||
"items": {
|
"oneOf": [
|
||||||
"type": "string"
|
{
|
||||||
},
|
"items": {
|
||||||
"type": [
|
"type": "string"
|
||||||
"array",
|
},
|
||||||
"null"
|
"type": "array"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"excludedPrincipals": {
|
"excludedPrincipals": {
|
||||||
"items": {
|
"oneOf": [
|
||||||
"type": "string"
|
{
|
||||||
},
|
"items": {
|
||||||
"type": [
|
"type": "string"
|
||||||
"array",
|
},
|
||||||
"null"
|
"type": "array"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"excludedTopics": {
|
"excludedTopics": {
|
||||||
"items": {
|
"oneOf": [
|
||||||
"type": "string"
|
{
|
||||||
},
|
"items": {
|
||||||
"type": [
|
"type": "string"
|
||||||
"array",
|
},
|
||||||
"null"
|
"type": "array"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"listener": {
|
"listener": {
|
||||||
|
@ -63,9 +77,13 @@
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
"replicationFactor": {
|
"replicationFactor": {
|
||||||
"type": [
|
"oneOf": [
|
||||||
"integer",
|
{
|
||||||
"null"
|
"type": "integer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -258,7 +276,6 @@
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
"domain": {
|
"domain": {
|
||||||
"format": "idn-hostname",
|
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"enabled": {
|
"enabled": {
|
||||||
|
@ -411,10 +428,17 @@
|
||||||
"http": {
|
"http": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"authenticationMethod": {
|
"authenticationMethod": {
|
||||||
"pattern": "http_basic|none",
|
"oneOf": [
|
||||||
"type": [
|
{
|
||||||
"string",
|
"enum": [
|
||||||
"null"
|
"none",
|
||||||
|
"http_basic"
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"enabled": {
|
"enabled": {
|
||||||
|
@ -433,10 +457,17 @@
|
||||||
"type": "array"
|
"type": "array"
|
||||||
},
|
},
|
||||||
"authenticationMethod": {
|
"authenticationMethod": {
|
||||||
"pattern": "http_basic|none",
|
"oneOf": [
|
||||||
"type": [
|
{
|
||||||
"string",
|
"enum": [
|
||||||
"null"
|
"none",
|
||||||
|
"http_basic"
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"enabled": {
|
"enabled": {
|
||||||
|
@ -460,7 +491,6 @@
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [],
|
|
||||||
"type": "object"
|
"type": "object"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -509,10 +539,18 @@
|
||||||
"kafka": {
|
"kafka": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"authenticationMethod": {
|
"authenticationMethod": {
|
||||||
"pattern": "sasl|none|mtls_identity",
|
"oneOf": [
|
||||||
"type": [
|
{
|
||||||
"string",
|
"enum": [
|
||||||
"null"
|
"sasl",
|
||||||
|
"none",
|
||||||
|
"mtls_identity"
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"external": {
|
"external": {
|
||||||
|
@ -528,10 +566,18 @@
|
||||||
"type": "array"
|
"type": "array"
|
||||||
},
|
},
|
||||||
"authenticationMethod": {
|
"authenticationMethod": {
|
||||||
"pattern": "sasl|none|mtls_identity",
|
"oneOf": [
|
||||||
"type": [
|
{
|
||||||
"string",
|
"enum": [
|
||||||
"null"
|
"sasl",
|
||||||
|
"none",
|
||||||
|
"mtls_identity"
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"enabled": {
|
"enabled": {
|
||||||
|
@ -613,10 +659,17 @@
|
||||||
"schemaRegistry": {
|
"schemaRegistry": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"authenticationMethod": {
|
"authenticationMethod": {
|
||||||
"pattern": "http_basic|none",
|
"oneOf": [
|
||||||
"type": [
|
{
|
||||||
"string",
|
"enum": [
|
||||||
"null"
|
"none",
|
||||||
|
"http_basic"
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"enabled": {
|
"enabled": {
|
||||||
|
@ -635,10 +688,17 @@
|
||||||
"type": "array"
|
"type": "array"
|
||||||
},
|
},
|
||||||
"authenticationMethod": {
|
"authenticationMethod": {
|
||||||
"pattern": "http_basic|none",
|
"oneOf": [
|
||||||
"type": [
|
{
|
||||||
"string",
|
"enum": [
|
||||||
"null"
|
"none",
|
||||||
|
"http_basic"
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"enabled": {
|
"enabled": {
|
||||||
|
@ -659,7 +719,6 @@
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [],
|
|
||||||
"type": "object"
|
"type": "object"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -780,13 +839,17 @@
|
||||||
"limits": {
|
"limits": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"type": [
|
"oneOf": [
|
||||||
"integer",
|
{
|
||||||
"string"
|
"type": "integer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"pattern": "^[0-9]+(\\.[0-9]){0,1}(k|M|G|Ki|Mi|Gi)$",
|
"pattern": "^[0-9]+(\\.[0-9]){0,1}(k|M|G|T|P|Ki|Mi|Gi|Ti|Pi)?$",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -795,13 +858,17 @@
|
||||||
"requests": {
|
"requests": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"type": [
|
"oneOf": [
|
||||||
"integer",
|
{
|
||||||
"string"
|
"type": "integer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"pattern": "^[0-9]+(\\.[0-9]){0,1}(k|M|G|Ki|Mi|Gi)$",
|
"pattern": "^[0-9]+(\\.[0-9]){0,1}(k|M|G|T|P|Ki|Mi|Gi|Ti|Pi)?$",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -819,15 +886,23 @@
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
"extraEnv": {
|
"extraEnv": {
|
||||||
"type": [
|
"oneOf": [
|
||||||
"array",
|
{
|
||||||
"string"
|
"type": "array"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"extraEnvFrom": {
|
"extraEnvFrom": {
|
||||||
"type": [
|
"oneOf": [
|
||||||
"array",
|
{
|
||||||
"string"
|
"type": "array"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"resources": {
|
"resources": {
|
||||||
|
@ -835,13 +910,17 @@
|
||||||
"limits": {
|
"limits": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"type": [
|
"oneOf": [
|
||||||
"integer",
|
{
|
||||||
"string"
|
"type": "integer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"pattern": "^[0-9]+(\\.[0-9]){0,1}(k|M|G|Ki|Mi|Gi)$",
|
"pattern": "^[0-9]+(\\.[0-9]){0,1}(k|M|G|T|P|Ki|Mi|Gi|Ti|Pi)?$",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -850,13 +929,17 @@
|
||||||
"requests": {
|
"requests": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"type": [
|
"oneOf": [
|
||||||
"integer",
|
{
|
||||||
"string"
|
"type": "integer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"memory": {
|
"memory": {
|
||||||
"pattern": "^[0-9]+(\\.[0-9]){0,1}(k|M|G|Ki|Mi|Gi)$",
|
"pattern": "^[0-9]+(\\.[0-9]){0,1}(k|M|G|T|P|Ki|Mi|Gi|Ti|Pi)?$",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -906,9 +989,13 @@
|
||||||
"cpu": {
|
"cpu": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"cores": {
|
"cores": {
|
||||||
"type": [
|
"oneOf": [
|
||||||
"integer",
|
{
|
||||||
"string"
|
"type": "integer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"overprovisioned": {
|
"overprovisioned": {
|
||||||
|
@ -925,11 +1012,11 @@
|
||||||
"container": {
|
"container": {
|
||||||
"properties": {
|
"properties": {
|
||||||
"max": {
|
"max": {
|
||||||
"pattern": "^[0-9]+(\\.[0-9]){0,1}(k|M|G|Ki|Mi|Gi)$",
|
"pattern": "^[0-9]+(\\.[0-9]){0,1}(k|M|G|T|P|Ki|Mi|Gi|Ti|Pi)?$",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"min": {
|
"min": {
|
||||||
"pattern": "^[0-9]+(\\.[0-9]){0,1}(k|M|G|Ki|Mi|Gi)$",
|
"pattern": "^[0-9]+(\\.[0-9]){0,1}(k|M|G|T|P|Ki|Mi|Gi|Ti|Pi)?$",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -940,6 +1027,33 @@
|
||||||
},
|
},
|
||||||
"enable_memory_locking": {
|
"enable_memory_locking": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
"redpanda": {
|
||||||
|
"properties": {
|
||||||
|
"memory": {
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"pattern": "^[0-9]+(\\.[0-9]){0,1}(k|M|G|T|P|Ki|Mi|Gi|Ti|Pi)?$"
|
||||||
|
},
|
||||||
|
"reserveMemory": {
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"pattern": "^[0-9]+(\\.[0-9]){0,1}(k|M|G|T|P|Ki|Mi|Gi|Ti|Pi)?$"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "object"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
@ -1003,6 +1117,12 @@
|
||||||
},
|
},
|
||||||
"type": "array"
|
"type": "array"
|
||||||
},
|
},
|
||||||
|
"additionalSelectorLabels": {
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
"annotations": {
|
"annotations": {
|
||||||
"additionalProperties": {
|
"additionalProperties": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
@ -1165,10 +1285,115 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"type": "object"
|
"type": "object"
|
||||||
|
},
|
||||||
|
"spec": {
|
||||||
|
"properties": {
|
||||||
|
"containers": {
|
||||||
|
"items": {
|
||||||
|
"properties": {
|
||||||
|
"env": {
|
||||||
|
"items": {
|
||||||
|
"properties": {
|
||||||
|
"name": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"value": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"valueFrom": {
|
||||||
|
"properties": {
|
||||||
|
"configMapKeyRef": {
|
||||||
|
"properties": {
|
||||||
|
"key": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"optional": {
|
||||||
|
"type": "boolean"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
"fieldRef": {
|
||||||
|
"properties": {
|
||||||
|
"apiVersion": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"fieldPath": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
"resourceFieldRef": {
|
||||||
|
"properties": {
|
||||||
|
"containerName": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"divisor": {
|
||||||
|
"properties": {
|
||||||
|
"Format": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
"resource": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
"secretKeyRef": {
|
||||||
|
"properties": {
|
||||||
|
"key": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"optional": {
|
||||||
|
"type": "boolean"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "object"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "object"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
"type": "array"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"enum": [
|
||||||
|
"redpanda"
|
||||||
|
],
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"name",
|
||||||
|
"env"
|
||||||
|
],
|
||||||
|
"type": "object"
|
||||||
|
},
|
||||||
|
"type": "array"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"containers"
|
||||||
|
],
|
||||||
|
"type": "object"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
"annotations"
|
"labels",
|
||||||
|
"annotations",
|
||||||
|
"spec"
|
||||||
],
|
],
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
|
@ -1326,8 +1551,10 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
"additionalSelectorLabels",
|
||||||
"replicas",
|
"replicas",
|
||||||
"updateStrategy",
|
"updateStrategy",
|
||||||
|
"podTemplate",
|
||||||
"budget",
|
"budget",
|
||||||
"startupProbe",
|
"startupProbe",
|
||||||
"livenessProbe",
|
"livenessProbe",
|
||||||
|
@ -1367,7 +1594,7 @@
|
||||||
"type": "object"
|
"type": "object"
|
||||||
},
|
},
|
||||||
"size": {
|
"size": {
|
||||||
"pattern": "^[0-9]+(\\.[0-9]){0,1}(k|M|G|Ki|Mi|Gi)$",
|
"pattern": "^[0-9]+(\\.[0-9]){0,1}(k|M|G|T|P|Ki|Mi|Gi|Ti|Pi)?$",
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"storageClass": {
|
"storageClass": {
|
||||||
|
@ -1387,6 +1614,9 @@
|
||||||
"properties": {
|
"properties": {
|
||||||
"config": {
|
"config": {
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"cloud_storage_access_key": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"cloud_storage_api_endpoint": {
|
"cloud_storage_api_endpoint": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
@ -1409,9 +1639,13 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"cloud_storage_cache_size": {
|
"cloud_storage_cache_size": {
|
||||||
"type": [
|
"oneOf": [
|
||||||
"integer",
|
{
|
||||||
"string"
|
"type": "integer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"cloud_storage_credentials_source": {
|
"cloud_storage_credentials_source": {
|
||||||
|
@ -1427,6 +1661,9 @@
|
||||||
"cloud_storage_enable_remote_write": {
|
"cloud_storage_enable_remote_write": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
|
"cloud_storage_enabled": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
"cloud_storage_initial_backoff_ms": {
|
"cloud_storage_initial_backoff_ms": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
|
@ -1445,6 +1682,9 @@
|
||||||
"cloud_storage_region": {
|
"cloud_storage_region": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"cloud_storage_secret_key": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"cloud_storage_segment_max_upload_interval_sec": {
|
"cloud_storage_segment_max_upload_interval_sec": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
|
@ -1572,6 +1812,9 @@
|
||||||
"tieredConfig": {
|
"tieredConfig": {
|
||||||
"deprecated": true,
|
"deprecated": true,
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"cloud_storage_access_key": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"cloud_storage_api_endpoint": {
|
"cloud_storage_api_endpoint": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
@ -1594,7 +1837,14 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"cloud_storage_cache_size": {
|
"cloud_storage_cache_size": {
|
||||||
"type": "integer"
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"type": "integer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"cloud_storage_credentials_source": {
|
"cloud_storage_credentials_source": {
|
||||||
"pattern": "^(config_file|aws_instance_metadata|sts|gcp_instance_metadata)$",
|
"pattern": "^(config_file|aws_instance_metadata|sts|gcp_instance_metadata)$",
|
||||||
|
@ -1609,6 +1859,9 @@
|
||||||
"cloud_storage_enable_remote_write": {
|
"cloud_storage_enable_remote_write": {
|
||||||
"type": "boolean"
|
"type": "boolean"
|
||||||
},
|
},
|
||||||
|
"cloud_storage_enabled": {
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
"cloud_storage_initial_backoff_ms": {
|
"cloud_storage_initial_backoff_ms": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
|
@ -1627,6 +1880,9 @@
|
||||||
"cloud_storage_region": {
|
"cloud_storage_region": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"cloud_storage_secret_key": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
"cloud_storage_segment_max_upload_interval_sec": {
|
"cloud_storage_segment_max_upload_interval_sec": {
|
||||||
"type": "integer"
|
"type": "integer"
|
||||||
},
|
},
|
||||||
|
|
|
@ -375,7 +375,7 @@ resources:
|
||||||
#
|
#
|
||||||
# These values affect `--memory` and `--reserve-memory` flags passed to Redpanda and the memory
|
# These values affect `--memory` and `--reserve-memory` flags passed to Redpanda and the memory
|
||||||
# requests/limits in the StatefulSet.
|
# requests/limits in the StatefulSet.
|
||||||
# Valid suffixes: B, K, M, G, Ki, Mi, and Gi
|
# Valid suffixes: k, M, G, T, P, Ki, Mi, Gi, Ti, Pi
|
||||||
# To create `Guaranteed` Pod QoS for Redpanda brokers, provide both container max and min values for the container.
|
# To create `Guaranteed` Pod QoS for Redpanda brokers, provide both container max and min values for the container.
|
||||||
# For details, see
|
# For details, see
|
||||||
# https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/#create-a-pod-that-gets-assigned-a-qos-class-of-guaranteed
|
# https://kubernetes.io/docs/tasks/configure-pod-container/quality-service-pod/#create-a-pod-that-gets-assigned-a-qos-class-of-guaranteed
|
||||||
|
@ -640,11 +640,21 @@ statefulset:
|
||||||
# Annotations are used only for `Statefulset.spec.template.metadata.annotations`. The StatefulSet does not have
|
# Annotations are used only for `Statefulset.spec.template.metadata.annotations`. The StatefulSet does not have
|
||||||
# any dedicated annotation.
|
# any dedicated annotation.
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
# -- Additional labels to be added to statefulset label selector.
|
||||||
|
# For example, `my.k8s.service: redpanda`.
|
||||||
|
additionalSelectorLabels: {}
|
||||||
podTemplate:
|
podTemplate:
|
||||||
# -- Additional labels to apply to the Pods of this StatefulSet.
|
# -- Additional labels to apply to the Pods of this StatefulSet.
|
||||||
labels: {}
|
labels: {}
|
||||||
# -- Additional annotations to apply to the Pods of this StatefulSet.
|
# -- Additional annotations to apply to the Pods of this StatefulSet.
|
||||||
annotations: {}
|
annotations: {}
|
||||||
|
# -- A subset of Kubernetes' PodSpec type that will be merged into the redpanda StatefulSet via a [strategic merge patch](https://kubernetes.io/docs/tasks/manage-kubernetes-objects/update-api-object-kubectl-patch/#use-a-strategic-merge-patch-to-update-a-deployment).
|
||||||
|
spec:
|
||||||
|
containers: []
|
||||||
|
# - name: redpanda
|
||||||
|
# env:
|
||||||
|
# - name: EXTRA_ENV_VAR
|
||||||
|
# value: THIS_IS_AN_EXAMPLE
|
||||||
# -- Adjust the period for your probes to meet your needs.
|
# -- Adjust the period for your probes to meet your needs.
|
||||||
# For details,
|
# For details,
|
||||||
# see the [Kubernetes documentation](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes).
|
# see the [Kubernetes documentation](https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes).
|
||||||
|
|
93
index.yaml
93
index.yaml
|
@ -243,8 +243,8 @@ entries:
|
||||||
argo-cd:
|
argo-cd:
|
||||||
- annotations:
|
- annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- kind: changed
|
- kind: added
|
||||||
description: Pre-set statusbadge.url to global.domain when statusbadge is enabled
|
description: JQ Path expression timeout
|
||||||
artifacthub.io/signKey: |
|
artifacthub.io/signKey: |
|
||||||
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
||||||
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||||
|
@ -254,8 +254,8 @@ entries:
|
||||||
catalog.cattle.io/kube-version: '>=1.23.0-0'
|
catalog.cattle.io/kube-version: '>=1.23.0-0'
|
||||||
catalog.cattle.io/release-name: argo-cd
|
catalog.cattle.io/release-name: argo-cd
|
||||||
apiVersion: v2
|
apiVersion: v2
|
||||||
appVersion: v2.10.7
|
appVersion: v2.10.8
|
||||||
created: "2024-04-25T00:54:43.508852756Z"
|
created: "2024-04-27T00:51:55.399879733Z"
|
||||||
dependencies:
|
dependencies:
|
||||||
- condition: redis-ha.enabled
|
- condition: redis-ha.enabled
|
||||||
name: redis-ha
|
name: redis-ha
|
||||||
|
@ -263,7 +263,46 @@ entries:
|
||||||
version: 4.26.1
|
version: 4.26.1
|
||||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery
|
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery
|
||||||
tool for Kubernetes.
|
tool for Kubernetes.
|
||||||
digest: b8f9dda0377b93951705b12176a117d6fca72c8d6726229159b09c122989040e
|
digest: 7d1017a20eebe91bcb7daad6af4f985877abfa269decf2e505bfa1c6b8aa82fe
|
||||||
|
home: https://github.com/argoproj/argo-helm
|
||||||
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
|
keywords:
|
||||||
|
- argoproj
|
||||||
|
- argocd
|
||||||
|
- gitops
|
||||||
|
kubeVersion: '>=1.23.0-0'
|
||||||
|
maintainers:
|
||||||
|
- name: argoproj
|
||||||
|
url: https://argoproj.github.io/
|
||||||
|
name: argo-cd
|
||||||
|
sources:
|
||||||
|
- https://github.com/argoproj/argo-helm/tree/main/charts/argo-cd
|
||||||
|
- https://github.com/argoproj/argo-cd
|
||||||
|
urls:
|
||||||
|
- assets/argo/argo-cd-6.7.17.tgz
|
||||||
|
version: 6.7.17
|
||||||
|
- annotations:
|
||||||
|
artifacthub.io/changes: |
|
||||||
|
- kind: changed
|
||||||
|
description: Pre-set statusbadge.url to global.domain when statusbadge is enabled
|
||||||
|
artifacthub.io/signKey: |
|
||||||
|
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
|
||||||
|
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
|
||||||
|
catalog.cattle.io/certified: partner
|
||||||
|
catalog.cattle.io/display-name: Argo CD
|
||||||
|
catalog.cattle.io/kube-version: '>=1.23.0-0'
|
||||||
|
catalog.cattle.io/release-name: argo-cd
|
||||||
|
apiVersion: v2
|
||||||
|
appVersion: v2.10.7
|
||||||
|
created: "2024-04-27T00:51:46.921171453Z"
|
||||||
|
dependencies:
|
||||||
|
- condition: redis-ha.enabled
|
||||||
|
name: redis-ha
|
||||||
|
repository: file://./charts/redis-ha
|
||||||
|
version: 4.26.1
|
||||||
|
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery
|
||||||
|
tool for Kubernetes.
|
||||||
|
digest: eefb39bb2698df028df3d57dcc9fa59fe1690dce7a199095c8d0aca79fafd65d
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
keywords:
|
keywords:
|
||||||
|
@ -44521,6 +44560,50 @@ entries:
|
||||||
- assets/quobyte/quobyte-cluster-0.1.5.tgz
|
- assets/quobyte/quobyte-cluster-0.1.5.tgz
|
||||||
version: 0.1.5
|
version: 0.1.5
|
||||||
redpanda:
|
redpanda:
|
||||||
|
- annotations:
|
||||||
|
artifacthub.io/images: |
|
||||||
|
- name: redpanda
|
||||||
|
image: docker.redpanda.com/redpandadata/redpanda:v23.3.11
|
||||||
|
- name: busybox
|
||||||
|
image: busybox:latest
|
||||||
|
- name: mintel/docker-alpine-bash-curl-jq
|
||||||
|
image: mintel/docker-alpine-bash-curl-jq:latest
|
||||||
|
artifacthub.io/license: Apache-2.0
|
||||||
|
artifacthub.io/links: |
|
||||||
|
- name: Documentation
|
||||||
|
url: https://docs.redpanda.com
|
||||||
|
- name: "Helm (>= 3.10.0)"
|
||||||
|
url: https://helm.sh/docs/intro/install/
|
||||||
|
catalog.cattle.io/certified: partner
|
||||||
|
catalog.cattle.io/display-name: Redpanda
|
||||||
|
catalog.cattle.io/kube-version: '>=1.21-0'
|
||||||
|
catalog.cattle.io/release-name: redpanda
|
||||||
|
apiVersion: v2
|
||||||
|
appVersion: v23.3.11
|
||||||
|
created: "2024-04-27T00:52:00.921164354Z"
|
||||||
|
dependencies:
|
||||||
|
- condition: console.enabled
|
||||||
|
name: console
|
||||||
|
repository: file://./charts/console
|
||||||
|
version: '>=0.5 <1.0'
|
||||||
|
- condition: connectors.enabled
|
||||||
|
name: connectors
|
||||||
|
repository: file://./charts/connectors
|
||||||
|
version: '>=0.1.2 <1.0'
|
||||||
|
description: Redpanda is the real-time engine for modern apps.
|
||||||
|
digest: ee1af73f5d59e24ea2f9c472c181a1ff2ca91908853a0763585dd51d130593a7
|
||||||
|
icon: https://images.ctfassets.net/paqvtpyf8rwu/3cYHw5UzhXCbKuR24GDFGO/73fb682e6157d11c10d5b2b5da1d5af0/skate-stand-panda.svg
|
||||||
|
kubeVersion: '>=1.21-0'
|
||||||
|
maintainers:
|
||||||
|
- name: redpanda-data
|
||||||
|
url: https://github.com/orgs/redpanda-data/people
|
||||||
|
name: redpanda
|
||||||
|
sources:
|
||||||
|
- https://github.com/redpanda-data/helm-charts
|
||||||
|
type: application
|
||||||
|
urls:
|
||||||
|
- assets/redpanda/redpanda-5.8.0.tgz
|
||||||
|
version: 5.8.0
|
||||||
- annotations:
|
- annotations:
|
||||||
artifacthub.io/images: |
|
artifacthub.io/images: |
|
||||||
- name: redpanda
|
- name: redpanda
|
||||||
|
|
Loading…
Reference in New Issue