Skip to content

Commit

Permalink
Bump flux to fix helm controller templating
Browse files Browse the repository at this point in the history
During helm controller reconiciliation the older version would trow the
following error:
```
template: redpanda/templates/console/configmap-and-deployment.yaml:66:4: executing \"redpanda/templates/console/configmap-and-deployment.yaml\" at <include \"_shims.render-manifest\" (list \"console.ConfigMap\" $wrappedSecretValues)>: error calling include: template: redpanda/templates/_shims.tpl:279:25: executing \"_shims.render-manifest\" at <include $tpl (dict \"a\" (list $dot))>: error calling include: template: redpanda/charts/console/templates/_configmap.go.tpl:13:80: executing \"console.ConfigMap\" at <tpl (toYaml $values.console.config) $dot>: error calling tpl: cannot retrieve Template.Basepath from values inside tpl function:
kafka:
  brokers:
  - redpanda-0.redpanda.redpanda.svc.cluster.local.:9093
  - redpanda-1.redpanda.redpanda.svc.cluster.local.:9093
  - redpanda-2.redpanda.redpanda.svc.cluster.local.:9093
  sasl:
    enabled: false
  schemaRegistry:
    enabled: true
    tls:
      caFilepath: /mnt/cert/schemaregistry/default/ca.crt
      certFilepath: \"\"
      enabled: true
      insecureSkipTlsVerify: false
      keyFilepath: \"\"
    urls:
    - https://redpanda-0.redpanda.redpanda.svc.cluster.local.:8081
    - https://redpanda-1.redpanda.redpanda.svc.cluster.local.:8081
    - https://redpanda-2.redpanda.redpanda.svc.cluster.local.:8081
  tls:
    caFilepath: /mnt/cert/kafka/default/ca.crt
    certFilepath: \"\"
    enabled: true
    insecureSkipTlsVerify: false
    keyFilepath: \"\"
redpanda:
  adminApi:
    enabled: true
    tls:
      caFilepath: /mnt/cert/adminapi/default/ca.crt
      certFilepath: \"\"
      enabled: true
      insecureSkipTlsVerify: false
      keyFilepath: \"\"
    urls:
    - https://redpanda.redpanda.svc.cluster.local.:9644

\"BasePath\" is not a value
```
  • Loading branch information
RafalKorepta committed Aug 30, 2024
1 parent 9e090a5 commit 8b473cc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- command: kubectl apply --server-side -f https://github.com/fluxcd/flux2/releases/download/v2.2.2/install.yaml
- command: kubectl apply --server-side -f https://github.com/fluxcd/flux2/releases/download/v2.3.0/install.yaml
assert:
- 01-assert-install-flux.yaml

0 comments on commit 8b473cc

Please sign in to comment.