Skip to content

Partially revert EAI-5893: Remove valuesFiles from single-source apps#708

Merged
Q-Dub merged 5 commits intomainfrom
revert-EAI-5893-selective
May 8, 2026
Merged

Partially revert EAI-5893: Remove valuesFiles from single-source apps#708
Q-Dub merged 5 commits intomainfrom
revert-EAI-5893-selective

Conversation

@Q-Dub
Copy link
Copy Markdown
Contributor

@Q-Dub Q-Dub commented May 8, 2026

Summary

Selectively reverts parts of #692 (EAI-5893) that added support for multiple helm value files.

What's Being Reverted/Modified

  • ✅ Removed valuesFiles support from single-source app definitions in cluster-apps.yaml
  • ✅ Modified bootstrap.sh render_actual_helm_manifests() function to use valuesFile (singular) instead of valuesFiles array
  • ✅ Reverted SBOM validation script to pre-EAI-5893 version
  • ✅ Removed sources/kaiwo/values.yaml

What's Being Kept (NOT Reverted)

  • root/values.yaml - kaiwo OCI configuration (newer changes depend on this)
  • sbom/components.yaml - kaiwo component metadata (current state is correct)
  • sbom/generate-compare-components.sh - already has OCI support added in commit 089da0c
  • ✅ OCI multi-source support in cluster-apps.yaml - valuesFiles is retained here as it's required for OCI functionality added in commit 3061487
  • render_actual_helm_manifests() function in bootstrap.sh (modified to remove valuesFiles array, but kept the function itself)

Rationale

The valuesFiles array feature from EAI-5893 is no longer needed for single-source apps, but cannot be fully removed because:

  1. Commit 3061487 (feat: switch to oci images) added OCI multi-source support that depends on valuesFiles
  2. No apps currently use valuesFiles in single-source mode
  3. The SBOM scripts no longer need to track multiple values files
  4. The bootstrap.sh function is still useful, but can work with just valuesFile (singular)

This commit selectively reverts parts of PR #692 (EAI-5893) that added
support for multiple helm value files.

Changes:
- Removed valuesFiles support from single-source app definitions in cluster-apps.yaml
- Modified bootstrap.sh render_actual_helm_manifests() to use valuesFile (singular) instead of valuesFiles
- Reverted SBOM validation script to pre-EAI-5893 version
- Removed sources/kaiwo/values.yaml

Kept unchanged:
- root/values.yaml (kaiwo OCI configuration - newer functionality depends on this)
- sbom/components.yaml (current kaiwo metadata is correct)
- sbom/generate-compare-components.sh (already updated for OCI support in commit 089da0c)
- OCI multi-source support in cluster-apps.yaml (valuesFiles retained for OCI functionality)
- bootstrap.sh render_actual_helm_manifests() function (modified to remove valuesFiles, kept the function)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Q-Dub Q-Dub force-pushed the revert-EAI-5893-selective branch from 4575966 to ec16062 Compare May 8, 2026 09:23
OCI-based apps like kaiwo use repoURL instead of path. The validation
script needs to check for app existence (not just non-null path) and
normalize empty/null values for proper comparison.

This fixes the CI failure where kaiwo showed as:
  cluster-configs='' vs components.yaml='null'
@Q-Dub Q-Dub requested a review from a team May 8, 2026 09:28
@Q-Dub Q-Dub marked this pull request as ready for review May 8, 2026 09:28
@Q-Dub Q-Dub marked this pull request as draft May 8, 2026 09:29
Q-Dub and others added 3 commits May 8, 2026 15:15
Replace the chart field with path for OCI repositories in ArgoCD Application specs, aligning with modern ArgoCD OCI support. Defaults to "." when path is not explicitly defined.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@Q-Dub Q-Dub marked this pull request as ready for review May 8, 2026 12:34
@Q-Dub Q-Dub enabled auto-merge May 8, 2026 12:34
@Q-Dub Q-Dub merged commit ec7f59c into main May 8, 2026
15 checks passed
@Q-Dub Q-Dub deleted the revert-EAI-5893-selective branch May 8, 2026 12:48
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