Skip to content

[CP 1329] Fix helm e2e test for remediation workflow ConfigMapImage field#520

Open
ci-penbot-01 wants to merge 1 commit intoROCm:mainfrom
ci-penbot-01:CP.O2O.pensando.gpu-operator.1329.rocm.gpu-operator.main
Open

[CP 1329] Fix helm e2e test for remediation workflow ConfigMapImage field#520
ci-penbot-01 wants to merge 1 commit intoROCm:mainfrom
ci-penbot-01:CP.O2O.pensando.gpu-operator.1329.rocm.gpu-operator.main

Conversation

@ci-penbot-01
Copy link
Copy Markdown
Contributor

cp of pensando/gpu-operator#1329


Source PR Description (pensando/gpu-operator#1329):

The test "upgrade with rendering spec.remediationWorkflow" was failing because it didn't expect the ConfigMapImage field in the DeviceConfigSpec. The helm chart sets a default value for configMapImage in values.yaml, which gets rendered into the DeviceConfig CR.

Updated the expected spec to include the ConfigMapImage field with the default value from the helm chart.

Also added E2E_ANR_CONFIGMAP_IMAGE to the e2e test Makefile for consistency with other configurable image variables.

Cherrypick triggered by: ACP-Automation

The test "upgrade with rendering spec.remediationWorkflow" was failing
because it didn't expect the ConfigMapImage field in the DeviceConfigSpec.
The helm chart sets a default value for configMapImage in values.yaml,
which gets rendered into the DeviceConfig CR.

Updated the expected spec to include the ConfigMapImage field with the
default value from the helm chart.

Also added E2E_ANR_CONFIGMAP_IMAGE to the e2e test Makefile for
consistency with other configurable image variables.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
(cherry picked from commit d24f89f246581892a281bc689d9107a0917438f2)
@ci-penbot-01
Copy link
Copy Markdown
Contributor Author

AI-Assisted Cherry-Pick

Source PR: #1329
Target Branch: main

The cherry-pick operation encountered merge conflicts which were resolved automatically using AI assistance.

Files with conflicts (resolved by AI):

  • hack/k8s-patch/metadata-patch/values.yaml:303-307
  • helm-charts-k8s/README.md:126-130
  • helm-charts-k8s/README.md:259-262
  • helm-charts-k8s/values.yaml:303-307
Original conflict in hack/k8s-patch/metadata-patch/values.yaml
<<<<<<< HEAD
=======
      # -- Container image used to create the remediation ConfigMap. This image contains the default remediation ConfigMap configmap.yaml file.
      configMapImage: ""
>>>>>>> d24f89f2
Original conflict in helm-charts-k8s/README.md
<<<<<<< HEAD
## gpu-operator-charts

=======
>>>>>>> d24f89f2
Original conflict in helm-charts-k8s/README.md
<<<<<<< HEAD
=======
| deviceConfig.spec.remediationWorkflow.configMapImage | string | `""` | Container image used to create the remediation ConfigMap. This image contains the default remediation ConfigMap configmap.yaml file. |
>>>>>>> d24f89f2
Original conflict in helm-charts-k8s/values.yaml
<<<<<<< HEAD
=======
      # -- Container image used to create the remediation ConfigMap. This image contains the default remediation ConfigMap configmap.yaml file.
      configMapImage: ""
>>>>>>> d24f89f2

Cherry-pick triggered by: ACP-Automation

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.

2 participants