Skip to content

Refresh DV-Pod - #128

Merged
OisinKyne merged 10 commits into
mainfrom
oisin/podreview
Oct 9, 2025
Merged

OisinKyne merged 10 commits into
mainfrom
oisin/podreview

Conversation

@OisinKyne

@OisinKyne OisinKyne commented Sep 5, 2025 •

Copy link
Copy Markdown
Contributor

This PR changes the secret management for ENRs, particularly pre-created ones. It changes secret names and keys to match the default filename charon outputs, simplifying commands and removing gotchas. Also juggles the ordering of values.yaml to bring the most specific to this chart to the top, and updates some comments in the file.

@OisinKyne
OisinKyne requested a review from a team as a code owner September 5, 2025 00:09
OisinKyne and others added 9 commits September 5, 2025 01:22
Regenerate chart documentation with helm-docs to sync version badges with Chart.yaml files
Co-authored-by: obol-platform <139374357+obol-platform@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This merge integrates the targetConfigHash feature from feat/add-target-config-hash
into the restructured dv-pod chart from oisin/podreview.

Changes include:
- Added charon.dkgSidecar.targetConfigHash parameter for specifying target cluster config hash
- Added comprehensive validation for targetConfigHash format (0x + 64 hex chars)
- Added test coverage:
  - test-target-config-hash-set.yaml: Verifies env var is set correctly
  - Updated test-dkg-sidecar-fresh-state.yaml: Includes targetConfigHash in tests
- Added values-examples/with-target-config-hash.yaml: Usage example
- Updated documentation in README.md (auto-generated via helm-docs)

The merge resolved conflicts by:
1. Keeping the restructured values.yaml layout from oisin/podreview
2. Adding targetConfigHash to the existing charon.dkgSidecar section
3. Adding targetConfigHash test configuration
4. Regenerating all READMEs with helm-docs

All validation tests pass:
- Helm lint: ✓
- Pre-commit hooks: ✓
- Template rendering with valid hash: ✓
- Validation error handling: ✓
Resolved conflicts:
- charts/dv-pod/values.yaml: Removed duplicate targetConfigHash at line 555-557
  (kept the one at line 543-545 which was properly positioned after operatorAddress)
- charts/dv-pod/README.md: Kept our version, verified helm-docs generates correctly

Verification:
- helm lint: ✓
- pre-commit hooks: ✓
- README.md.gotmpl: ✓ (in sync, uses {{ template "chart.valuesSection" . }})
@OisinKyne
OisinKyne merged commit 92238fc into main Oct 9, 2025
3 checks passed
@OisinKyne
OisinKyne deleted the oisin/podreview branch October 9, 2025 16:56
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.

3 participants