Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redpanda: values.statefulSet.initContainers.tuning.extraVolumeMounts … #1405

Closed
wants to merge 1 commit into from

Conversation

jan-g
Copy link
Contributor

@jan-g jan-g commented Jul 3, 2024

…is now an array, not a string template

This begins a conversion of statefulset.yaml init-containers to go.

As a part of this, the values.yaml type for extraVolumeMounts is refined to take an explicit corev1.VolumeMount structure rather than a bare string that was interpreted as templated yaml.

Copy link
Contributor

@chrisseto chrisseto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM once the MustDecodeYamlInto question is resolved.

pkg/gotohelm/transpiler.go Outdated Show resolved Hide resolved
Copy link
Contributor

@RafalKorepta RafalKorepta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The TestConfigMap unit test should be removed.

2024-07-03T14:15:00.7872707Z >>> helm upgrade redpanda-zip5cxmbin charts/redpanda --namespace redpanda-zip5cxmbin --wait --values ct_previous_revision2253065169/charts/redpanda/ci/09-initcontainers-resources-values.yaml --timeout 600s --set=image.tag=
2024-07-03T14:15:00.8810463Z Error: UPGRADE FAILED: values don't meet the specifications of the schema(s) in the following chart(s):
2024-07-03T14:15:00.8816279Z redpanda:
2024-07-03T14:15:00.8817525Z - statefulset.initContainers.tuning.extraVolumeMounts: Invalid type. Expected: array, given: string

https://github.com/redpanda-data/helm-charts/actions/runs/9779237020/job/26998140273?pr=1405#step:18:21242

https://github.com/redpanda-data/helm-charts/actions/runs/9779237020/job/26998146712?pr=1405#step:18:19842

There was few errors that was not your fault:

Failed to pull image "docker.redpanda.com/redpandadata/redpanda:v23.1.21": failed to pull and unpack image "docker.redpanda.com/redpandadata/redpanda:v23.1.21": failed to copy: httpReadSeeker: failed open: unexpected status code https://docker.redpanda.com/v2/redpandadata/redpanda/manifests/sha256:d4fbc2abff8cda929b5c3328fcfb494720796bf8caa8a22ae0eac7fea807a11c: 429 Too Many Requests - Server message: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit

https://github.com/redpanda-data/helm-charts/actions/runs/9779237020/job/26998150552?pr=1405#step:18:180

Over all LGTM

@jan-g jan-g force-pushed the gotohelm-init-containers branch from 23dcc88 to 38c867b Compare July 4, 2024 12:16
…is now an array, not a string template

This begins a conversion of statefulset.yaml init-containers to go.

As a part of this, the `values.yaml` type for `extraVolumeMounts` is refined to
take an explicit `corev1.VolumeMount` structure rather than a bare string that
was interpreted as templated yaml.
@jan-g jan-g force-pushed the gotohelm-init-containers branch from 38c867b to 38f495d Compare July 4, 2024 12:27
@jan-g
Copy link
Contributor Author

jan-g commented Jul 5, 2024

I'm closing this in favour of #1408 which has all these changes collapsed into a single commit.

@jan-g jan-g closed this Jul 5, 2024
@RafalKorepta RafalKorepta deleted the gotohelm-init-containers branch August 6, 2024 22:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants