Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
project: charts/redpanda
kind: Removed
body: Removed regex validation of all image tags.
time: 2025-04-10T13:32:44.183762-04:00
6 changes: 5 additions & 1 deletion Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,8 @@ tasks:
# In integration tests, the operator itself will be run from the go test process.
- build:image
cmds:
- task: charts:kind-cluster
- kind load docker-image localhost/redpanda-operator:dev
- task: test:unit
vars:
GO_TEST_RUNNER:
Expand All @@ -170,11 +172,13 @@ tasks:

test:acceptance:
desc: "Run all acceptance tests (~90m)"
deps:
- build:image
vars:
GO_TEST_RUNNER: '{{default "go test" .GO_TEST_RUNNER}}'
CLI_ARGS: '{{.CLI_ARGS}} -tags=acceptance -run "^TestAcceptance" -timeout 20m -v'
cmds:
- task: build:image
- task: charts:kind-cluster
- kind load docker-image localhost/redpanda-operator:dev
- task: test:unit
vars:
Expand Down
4 changes: 4 additions & 0 deletions charts/redpanda/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and is generated by [Changie](https://github.com/miniscruff/changie).


## Unreleased
### Removed
* Removed regex validation of all image tags.

## v5.9.24 - 2025-05-27
### Changed
* Bump Redpanda operator side car container tag to `v2.3.11-24.3.14`.
Expand Down
8 changes: 1 addition & 7 deletions charts/redpanda/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -322,15 +322,9 @@ Redpanda Docker image settings.
**Default:**

```
{"pullPolicy":"IfNotPresent","repository":"docker.redpanda.com/redpandadata/redpanda","tag":""}
{"repository":"docker.redpanda.com/redpandadata/redpanda","tag":""}
```

### [image.pullPolicy](https://artifacthub.io/packages/helm/redpanda-data/redpanda?modal=values&path=image.pullPolicy)

The imagePullPolicy. If `image.tag` is 'latest', the default is `Always`.

**Default:** `"IfNotPresent"`

### [image.repository](https://artifacthub.io/packages/helm/redpanda-data/redpanda?modal=values&path=image.repository)

Docker repository from which to pull the Redpanda Docker image.
Expand Down
26 changes: 13 additions & 13 deletions charts/redpanda/chart_template_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,48 +319,48 @@ func VersionGoldenTestsCases(t *testing.T) []txtar.File {
ErrMsg *string
}{
{
Image: redpanda.PartialImage{Tag: ptr.To(redpanda.ImageTag("v22.1.0"))},
Image: redpanda.PartialImage{Tag: ptr.To("v22.1.0")},
ErrMsg: ptr.To("no longer supported"),
},
{
Image: redpanda.PartialImage{Tag: ptr.To(redpanda.ImageTag("v22.2.0"))},
Image: redpanda.PartialImage{Tag: ptr.To("v22.2.0")},
ErrMsg: ptr.To("does not support TLS on the RPC port. Please upgrade. See technical service bulletin 2023-01."),
},
{
Image: redpanda.PartialImage{Tag: ptr.To(redpanda.ImageTag("v22.3.0"))},
Image: redpanda.PartialImage{Tag: ptr.To("v22.3.0")},
ErrMsg: ptr.To("does not support TLS on the RPC port. Please upgrade. See technical service bulletin 2023-01."),
},
{
Image: redpanda.PartialImage{Tag: ptr.To(redpanda.ImageTag("v22.3.14"))},
Image: redpanda.PartialImage{Tag: ptr.To("v22.3.14")},
},
{
Image: redpanda.PartialImage{Tag: ptr.To(redpanda.ImageTag("v22.4.0"))},
Image: redpanda.PartialImage{Tag: ptr.To("v22.4.0")},
ErrMsg: ptr.To("does not support TLS on the RPC port. Please upgrade. See technical service bulletin 2023-01."),
},
{
Image: redpanda.PartialImage{Tag: ptr.To(redpanda.ImageTag("v23.1.1"))},
Image: redpanda.PartialImage{Tag: ptr.To("v23.1.1")},
ErrMsg: ptr.To("does not support TLS on the RPC port. Please upgrade. See technical service bulletin 2023-01."),
},
{
Image: redpanda.PartialImage{Tag: ptr.To(redpanda.ImageTag("v23.1.2"))},
Image: redpanda.PartialImage{Tag: ptr.To("v23.1.2")},
},
{
Image: redpanda.PartialImage{Tag: ptr.To(redpanda.ImageTag("v23.1.3"))},
Image: redpanda.PartialImage{Tag: ptr.To("v23.1.3")},
},
{
Image: redpanda.PartialImage{Tag: ptr.To(redpanda.ImageTag("v23.2.1"))},
Image: redpanda.PartialImage{Tag: ptr.To("v23.2.1")},
},
{
Image: redpanda.PartialImage{Tag: ptr.To(redpanda.ImageTag("v23.3.0"))},
Image: redpanda.PartialImage{Tag: ptr.To("v23.3.0")},
},
{
Image: redpanda.PartialImage{Tag: ptr.To(redpanda.ImageTag("v24.1.0"))},
Image: redpanda.PartialImage{Tag: ptr.To("v24.1.0")},
},
{
Image: redpanda.PartialImage{Repository: ptr.To("somecustomrepo"), Tag: ptr.To(redpanda.ImageTag("v24.1.0"))},
Image: redpanda.PartialImage{Repository: ptr.To("somecustomrepo"), Tag: ptr.To("v24.1.0")},
},
{
Image: redpanda.PartialImage{Repository: ptr.To("somecustomrepo"), Tag: ptr.To(redpanda.ImageTag("v23.2.8"))},
Image: redpanda.PartialImage{Repository: ptr.To("somecustomrepo"), Tag: ptr.To("v23.2.8")},
},
}

Expand Down
20 changes: 5 additions & 15 deletions charts/redpanda/chart_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -850,7 +850,6 @@ func mTLSValuesWithProvidedCerts(serverTLSSecretName, clientTLSSecretName string
}

func minimalValues(partials ...*redpanda.PartialValues) *redpanda.PartialValues {
devTag := redpanda.ImageTag("dev")
final := &redpanda.PartialValues{
Console: &console.PartialValues{
Enabled: ptr.To(false),
Expand All @@ -861,18 +860,12 @@ func minimalValues(partials ...*redpanda.PartialValues) *redpanda.PartialValues
Spec: applycorev1.PodSpec().WithTerminationGracePeriodSeconds(10),
},
SideCars: &redpanda.PartialSidecars{
Image: &struct {
Tag *redpanda.ImageTag "json:\"tag,omitempty\" jsonschema:\"required,default=Chart.appVersion\""
Repository *string "json:\"repository,omitempty\" jsonschema:\"required,default=docker.redpanda.com/redpandadata/redpanda-operator\""
}{
Image: &redpanda.PartialImage{
Repository: ptr.To("localhost/redpanda-operator"),
Tag: &devTag,
Tag: ptr.To("dev"),
},
Controllers: &struct {
Image *struct {
Tag *redpanda.ImageTag "json:\"tag,omitempty\" jsonschema:\"required,default=Chart.appVersion\""
Repository *string "json:\"repository,omitempty\" jsonschema:\"required,default=docker.redpanda.com/redpandadata/redpanda-operator\""
} "json:\"image,omitempty\""
Image *redpanda.PartialImage "json:\"image,omitempty\""
Enabled *bool "json:\"enabled,omitempty\""
CreateRBAC *bool "json:\"createRBAC,omitempty\""
Resources any "json:\"resources,omitempty\""
Expand All @@ -882,12 +875,9 @@ func minimalValues(partials ...*redpanda.PartialValues) *redpanda.PartialValues
PprofAddress *string "json:\"pprofAddress,omitempty\""
Run []string "json:\"run,omitempty\""
}{
Image: &struct {
Tag *redpanda.ImageTag "json:\"tag,omitempty\" jsonschema:\"required,default=Chart.appVersion\""
Repository *string "json:\"repository,omitempty\" jsonschema:\"required,default=docker.redpanda.com/redpandadata/redpanda-operator\""
}{
Image: &redpanda.PartialImage{
Repository: ptr.To("localhost/redpanda-operator"),
Tag: &devTag,
Tag: ptr.To("dev"),
},
},
},
Expand Down
120 changes: 60 additions & 60 deletions charts/redpanda/templates/_values.go.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -151,13 +151,13 @@
{{- range $_ := (list 1) -}}
{{- $_is_returning := false -}}
{{- if (and (ne (toJson $rr.limits) "null") (ne (toJson $rr.requests) "null")) -}}
{{- $_451_cpuReq_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list ($rr.requests) "cpu" "0")))) "r") -}}
{{- $cpuReq := (index $_451_cpuReq_ok 0) -}}
{{- $ok := (index $_451_cpuReq_ok 1) -}}
{{- $_450_cpuReq_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list ($rr.requests) "cpu" "0")))) "r") -}}
{{- $cpuReq := (index $_450_cpuReq_ok 0) -}}
{{- $ok := (index $_450_cpuReq_ok 1) -}}
{{- if (not $ok) -}}
{{- $_453_cpuReq_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list ($rr.limits) "cpu" "0")))) "r") -}}
{{- $cpuReq = (index $_453_cpuReq_ok 0) -}}
{{- $ok = (index $_453_cpuReq_ok 1) -}}
{{- $_452_cpuReq_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list ($rr.limits) "cpu" "0")))) "r") -}}
{{- $cpuReq = (index $_452_cpuReq_ok 0) -}}
{{- $ok = (index $_452_cpuReq_ok 1) -}}
{{- end -}}
{{- if (and $ok (lt ((get (fromJson (include "_shims.resource_MilliValue" (dict "a" (list $cpuReq)))) "r") | int64) (1000 | int64))) -}}
{{- $_is_returning = true -}}
Expand All @@ -184,13 +184,13 @@
{{- range $_ := (list 1) -}}
{{- $_is_returning := false -}}
{{- if (and (ne (toJson $rr.limits) "null") (ne (toJson $rr.requests) "null")) -}}
{{- $_477_cpuReq_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list ($rr.requests) "cpu" "0")))) "r") -}}
{{- $cpuReq := (index $_477_cpuReq_ok 0) -}}
{{- $ok := (index $_477_cpuReq_ok 1) -}}
{{- $_476_cpuReq_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list ($rr.requests) "cpu" "0")))) "r") -}}
{{- $cpuReq := (index $_476_cpuReq_ok 0) -}}
{{- $ok := (index $_476_cpuReq_ok 1) -}}
{{- if (not $ok) -}}
{{- $_479_cpuReq_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list ($rr.limits) "cpu" "0")))) "r") -}}
{{- $cpuReq = (index $_479_cpuReq_ok 0) -}}
{{- $ok = (index $_479_cpuReq_ok 1) -}}
{{- $_478_cpuReq_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list ($rr.limits) "cpu" "0")))) "r") -}}
{{- $cpuReq = (index $_478_cpuReq_ok 0) -}}
{{- $ok = (index $_478_cpuReq_ok 1) -}}
{{- end -}}
{{- if (not $ok) -}}
{{- $_is_returning = true -}}
Expand Down Expand Up @@ -222,13 +222,13 @@
{{- range $_ := (list 1) -}}
{{- $_is_returning := false -}}
{{- if (and (ne (toJson $rr.limits) "null") (ne (toJson $rr.requests) "null")) -}}
{{- $_536_memReq_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list ($rr.requests) "memory" "0")))) "r") -}}
{{- $memReq := (index $_536_memReq_ok 0) -}}
{{- $ok := (index $_536_memReq_ok 1) -}}
{{- $_535_memReq_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list ($rr.requests) "memory" "0")))) "r") -}}
{{- $memReq := (index $_535_memReq_ok 0) -}}
{{- $ok := (index $_535_memReq_ok 1) -}}
{{- if (not $ok) -}}
{{- $_538_memReq_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list ($rr.limits) "memory" "0")))) "r") -}}
{{- $memReq = (index $_538_memReq_ok 0) -}}
{{- $ok = (index $_538_memReq_ok 1) -}}
{{- $_537_memReq_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list ($rr.limits) "memory" "0")))) "r") -}}
{{- $memReq = (index $_537_memReq_ok 0) -}}
{{- $ok = (index $_537_memReq_ok 1) -}}
{{- end -}}
{{- if (not $ok) -}}
{{- $_is_returning = true -}}
Expand Down Expand Up @@ -304,9 +304,9 @@
{{- range $_ := (list 1) -}}
{{- $_is_returning := false -}}
{{- $conf := (get (fromJson (include "redpanda.Storage.GetTieredStorageConfig" (dict "a" (list $s)))) "r") -}}
{{- $_656_b_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list $conf "cloud_storage_enabled" (coalesce nil))))) "r") -}}
{{- $b := (index $_656_b_ok 0) -}}
{{- $ok := (index $_656_b_ok 1) -}}
{{- $_655_b_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list $conf "cloud_storage_enabled" (coalesce nil))))) "r") -}}
{{- $b := (index $_655_b_ok 0) -}}
{{- $ok := (index $_655_b_ok 1) -}}
{{- $_is_returning = true -}}
{{- (dict "r" (and $ok (get (fromJson (include "_shims.typeassertion" (dict "a" (list "bool" $b)))) "r"))) | toJson -}}
{{- break -}}
Expand Down Expand Up @@ -351,18 +351,18 @@
{{- range $_ := (list 1) -}}
{{- $_is_returning := false -}}
{{- $values := $dot.Values.AsMap -}}
{{- $_685_dir_7_ok_8 := (get (fromJson (include "_shims.typetest" (dict "a" (list "string" (index $values.config.node "cloud_storage_cache_directory") "")))) "r") -}}
{{- $dir_7 := (index $_685_dir_7_ok_8 0) -}}
{{- $ok_8 := (index $_685_dir_7_ok_8 1) -}}
{{- $_684_dir_7_ok_8 := (get (fromJson (include "_shims.typetest" (dict "a" (list "string" (index $values.config.node "cloud_storage_cache_directory") "")))) "r") -}}
{{- $dir_7 := (index $_684_dir_7_ok_8 0) -}}
{{- $ok_8 := (index $_684_dir_7_ok_8 1) -}}
{{- if $ok_8 -}}
{{- $_is_returning = true -}}
{{- (dict "r" $dir_7) | toJson -}}
{{- break -}}
{{- end -}}
{{- $tieredConfig := (get (fromJson (include "redpanda.Storage.GetTieredStorageConfig" (dict "a" (list $values.storage)))) "r") -}}
{{- $_694_dir_9_ok_10 := (get (fromJson (include "_shims.typetest" (dict "a" (list "string" (index $tieredConfig "cloud_storage_cache_directory") "")))) "r") -}}
{{- $dir_9 := (index $_694_dir_9_ok_10 0) -}}
{{- $ok_10 := (index $_694_dir_9_ok_10 1) -}}
{{- $_693_dir_9_ok_10 := (get (fromJson (include "_shims.typetest" (dict "a" (list "string" (index $tieredConfig "cloud_storage_cache_directory") "")))) "r") -}}
{{- $dir_9 := (index $_693_dir_9_ok_10 0) -}}
{{- $ok_10 := (index $_693_dir_9_ok_10 1) -}}
{{- if $ok_10 -}}
{{- $_is_returning = true -}}
{{- (dict "r" $dir_9) | toJson -}}
Expand Down Expand Up @@ -462,9 +462,9 @@
{{- $result := (dict) -}}
{{- $s := (toJson $t) -}}
{{- $tune := (fromJson $s) -}}
{{- $_905_m_ok := (get (fromJson (include "_shims.typetest" (dict "a" (list (printf "map[%s]%s" "string" "interface {}") $tune (coalesce nil))))) "r") -}}
{{- $m := (index $_905_m_ok 0) -}}
{{- $ok := (index $_905_m_ok 1) -}}
{{- $_904_m_ok := (get (fromJson (include "_shims.typetest" (dict "a" (list (printf "map[%s]%s" "string" "interface {}") $tune (coalesce nil))))) "r") -}}
{{- $m := (index $_904_m_ok 0) -}}
{{- $ok := (index $_904_m_ok 1) -}}
{{- if (not $ok) -}}
{{- $_is_returning = true -}}
{{- (dict "r" (dict)) | toJson -}}
Expand Down Expand Up @@ -620,9 +620,9 @@
{{- $seen := (dict) -}}
{{- $deduped := (coalesce nil) -}}
{{- range $_, $item := $items -}}
{{- $_1069___ok_11 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $seen $item.key false)))) "r") -}}
{{- $_ := (index $_1069___ok_11 0) -}}
{{- $ok_11 := (index $_1069___ok_11 1) -}}
{{- $_1062___ok_11 := (get (fromJson (include "_shims.dicttest" (dict "a" (list $seen $item.key false)))) "r") -}}
{{- $_ := (index $_1062___ok_11 0) -}}
{{- $ok_11 := (index $_1062___ok_11 1) -}}
{{- if $ok_11 -}}
{{- continue -}}
{{- end -}}
Expand Down Expand Up @@ -734,9 +734,9 @@
{{- $name := (index .a 1) -}}
{{- range $_ := (list 1) -}}
{{- $_is_returning := false -}}
{{- $_1290_cert_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list $m $name (dict "enabled" (coalesce nil) "caEnabled" false "applyInternalDNSNames" (coalesce nil) "duration" "" "issuerRef" (coalesce nil) "secretRef" (coalesce nil) "clientSecretRef" (coalesce nil)))))) "r") -}}
{{- $cert := (index $_1290_cert_ok 0) -}}
{{- $ok := (index $_1290_cert_ok 1) -}}
{{- $_1283_cert_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list $m $name (dict "enabled" (coalesce nil) "caEnabled" false "applyInternalDNSNames" (coalesce nil) "duration" "" "issuerRef" (coalesce nil) "secretRef" (coalesce nil) "clientSecretRef" (coalesce nil)))))) "r") -}}
{{- $cert := (index $_1283_cert_ok 0) -}}
{{- $ok := (index $_1283_cert_ok 1) -}}
{{- if (not $ok) -}}
{{- $_ := (fail (printf "Certificate %q referenced, but not found in the tls.certs map" $name)) -}}
{{- end -}}
Expand Down Expand Up @@ -1482,9 +1482,9 @@
{{- $result := (dict) -}}
{{- range $k, $v := $c -}}
{{- if (not (empty $v)) -}}
{{- $_2126___ok_18 := (get (fromJson (include "_shims.asnumeric" (dict "a" (list $v)))) "r") -}}
{{- $_ := ((index $_2126___ok_18 0) | float64) -}}
{{- $ok_18 := (index $_2126___ok_18 1) -}}
{{- $_2119___ok_18 := (get (fromJson (include "_shims.asnumeric" (dict "a" (list $v)))) "r") -}}
{{- $_ := ((index $_2119___ok_18 0) | float64) -}}
{{- $ok_18 := (index $_2119___ok_18 1) -}}
{{- if $ok_18 -}}
{{- $_ := (set $result $k $v) -}}
{{- else -}}{{- if (kindIs "bool" $v) -}}
Expand All @@ -1510,9 +1510,9 @@
{{- $_is_returning := false -}}
{{- $result := (dict) -}}
{{- range $k, $v := $c -}}
{{- $_2146_b_19_ok_20 := (get (fromJson (include "_shims.typetest" (dict "a" (list "bool" $v false)))) "r") -}}
{{- $b_19 := (index $_2146_b_19_ok_20 0) -}}
{{- $ok_20 := (index $_2146_b_19_ok_20 1) -}}
{{- $_2139_b_19_ok_20 := (get (fromJson (include "_shims.typetest" (dict "a" (list "bool" $v false)))) "r") -}}
{{- $b_19 := (index $_2139_b_19_ok_20 0) -}}
{{- $ok_20 := (index $_2139_b_19_ok_20 1) -}}
{{- if $ok_20 -}}
{{- $_ := (set $result $k $b_19) -}}
{{- continue -}}
Expand Down Expand Up @@ -1555,15 +1555,15 @@
{{- $config := (index .a 1) -}}
{{- range $_ := (list 1) -}}
{{- $_is_returning := false -}}
{{- $_2191___hasAccessKey := (get (fromJson (include "_shims.dicttest" (dict "a" (list $config "cloud_storage_access_key" (coalesce nil))))) "r") -}}
{{- $_ := (index $_2191___hasAccessKey 0) -}}
{{- $hasAccessKey := (index $_2191___hasAccessKey 1) -}}
{{- $_2192___hasSecretKey := (get (fromJson (include "_shims.dicttest" (dict "a" (list $config "cloud_storage_secret_key" (coalesce nil))))) "r") -}}
{{- $_ := (index $_2192___hasSecretKey 0) -}}
{{- $hasSecretKey := (index $_2192___hasSecretKey 1) -}}
{{- $_2193___hasSharedKey := (get (fromJson (include "_shims.dicttest" (dict "a" (list $config "cloud_storage_azure_shared_key" (coalesce nil))))) "r") -}}
{{- $_ := (index $_2193___hasSharedKey 0) -}}
{{- $hasSharedKey := (index $_2193___hasSharedKey 1) -}}
{{- $_2184___hasAccessKey := (get (fromJson (include "_shims.dicttest" (dict "a" (list $config "cloud_storage_access_key" (coalesce nil))))) "r") -}}
{{- $_ := (index $_2184___hasAccessKey 0) -}}
{{- $hasAccessKey := (index $_2184___hasAccessKey 1) -}}
{{- $_2185___hasSecretKey := (get (fromJson (include "_shims.dicttest" (dict "a" (list $config "cloud_storage_secret_key" (coalesce nil))))) "r") -}}
{{- $_ := (index $_2185___hasSecretKey 0) -}}
{{- $hasSecretKey := (index $_2185___hasSecretKey 1) -}}
{{- $_2186___hasSharedKey := (get (fromJson (include "_shims.dicttest" (dict "a" (list $config "cloud_storage_azure_shared_key" (coalesce nil))))) "r") -}}
{{- $_ := (index $_2186___hasSharedKey 0) -}}
{{- $hasSharedKey := (index $_2186___hasSharedKey 1) -}}
{{- $envvars := (coalesce nil) -}}
{{- if (and (not $hasAccessKey) (get (fromJson (include "redpanda.SecretRef.IsValid" (dict "a" (list $tsc.accessKey)))) "r")) -}}
{{- $envvars = (concat (default (list) $envvars) (list (mustMergeOverwrite (dict "name" "") (dict "name" "REDPANDA_CLOUD_STORAGE_ACCESS_KEY" "valueFrom" (get (fromJson (include "redpanda.SecretRef.AsSource" (dict "a" (list $tsc.accessKey)))) "r"))))) -}}
Expand All @@ -1586,12 +1586,12 @@
{{- $c := (index .a 0) -}}
{{- range $_ := (list 1) -}}
{{- $_is_returning := false -}}
{{- $_2229___containerExists := (get (fromJson (include "_shims.dicttest" (dict "a" (list $c "cloud_storage_azure_container" (coalesce nil))))) "r") -}}
{{- $_ := (index $_2229___containerExists 0) -}}
{{- $containerExists := (index $_2229___containerExists 1) -}}
{{- $_2230___accountExists := (get (fromJson (include "_shims.dicttest" (dict "a" (list $c "cloud_storage_azure_storage_account" (coalesce nil))))) "r") -}}
{{- $_ := (index $_2230___accountExists 0) -}}
{{- $accountExists := (index $_2230___accountExists 1) -}}
{{- $_2222___containerExists := (get (fromJson (include "_shims.dicttest" (dict "a" (list $c "cloud_storage_azure_container" (coalesce nil))))) "r") -}}
{{- $_ := (index $_2222___containerExists 0) -}}
{{- $containerExists := (index $_2222___containerExists 1) -}}
{{- $_2223___accountExists := (get (fromJson (include "_shims.dicttest" (dict "a" (list $c "cloud_storage_azure_storage_account" (coalesce nil))))) "r") -}}
{{- $_ := (index $_2223___accountExists 0) -}}
{{- $accountExists := (index $_2223___accountExists 1) -}}
{{- $_is_returning = true -}}
{{- (dict "r" (and $containerExists $accountExists)) | toJson -}}
{{- break -}}
Expand All @@ -1602,9 +1602,9 @@
{{- $c := (index .a 0) -}}
{{- range $_ := (list 1) -}}
{{- $_is_returning := false -}}
{{- $_2235_value_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list $c `cloud_storage_cache_size` (coalesce nil))))) "r") -}}
{{- $value := (index $_2235_value_ok 0) -}}
{{- $ok := (index $_2235_value_ok 1) -}}
{{- $_2228_value_ok := (get (fromJson (include "_shims.dicttest" (dict "a" (list $c `cloud_storage_cache_size` (coalesce nil))))) "r") -}}
{{- $value := (index $_2228_value_ok 0) -}}
{{- $ok := (index $_2228_value_ok 1) -}}
{{- if (not $ok) -}}
{{- $_is_returning = true -}}
{{- (dict "r" (coalesce nil)) | toJson -}}
Expand Down
Loading
Loading