Skip to content

Fix corrupted splunk-operator-3.0.0.tgz causing Helm test failures#1863

Merged
gabrielm-splunk merged 1 commit intodevelopfrom
fix-corrupted-helm-operator-3.0.0-tgz
Apr 24, 2026
Merged

Fix corrupted splunk-operator-3.0.0.tgz causing Helm test failures#1863
gabrielm-splunk merged 1 commit intodevelopfrom
fix-corrupted-helm-operator-3.0.0-tgz

Conversation

@gabrielm-splunk
Copy link
Copy Markdown
Collaborator

@gabrielm-splunk gabrielm-splunk commented Apr 21, 2026

Problem

After merging PR #1832 to restore helm support for 3.0.0, helm-tests are failing with:

Error: INSTALLATION FAILED: template: splunk-enterprise/charts/splunk-enterprise/templates/enterprise_v4_ingestorcluster.yaml:1:14: 
executing "splunk-enterprise/charts/splunk-enterprise/templates/enterprise_v4_ingestorcluster.yaml" at <.Values.ingestorCluster.enabled>: 
nil pointer evaluating interface {}.enabled

Root Cause

The splunk-operator-3.0.0.tgz file was corrupted - it contained the full splunk-enterprise chart package (4.5MB) instead of just the splunk-operator chart (5.8KB). This caused Helm to load a stale splunk-enterprise as a subchart within the operator chart, leading to nested template path errors.

File size comparison:

  • Corrupted: splunk-operator-3.0.0.tgz = 4.5MB (contains full splunk-enterprise chart)
  • Correct: splunk-operator-3.0.0.tgz = 5.8KB (contains only operator chart)
  • Reference: splunk-operator-3.1.0.tgz = 6.7KB (correct structure)

The corruption happened in multiple "Restore helm chart version 3.0.0 to repository index" commits (b9766dd and related).

Solution

Restored correct tgz file by extracting the good version from git history (commit a3737ba).
The file now contains only splunk-operator chart content, not nested splunk-enterprise.

Testing

  • ✅ File structure validated: starts with splunk-operator/ directory (not splunk-enterprise/)
  • ✅ File size verified: 5.8KB (correct for operator-only chart)

Future Work

Validation tooling (CI/CD workflow and validation script) has been saved to branch helm-validation-tooling-future for a separate PR.

Files Changed

  • helm-chart/splunk-enterprise/charts/splunk-operator-3.0.0.tgz - Restored correct 5.8KB version

Related Issues

Fixes the helm test error reported after PR #1832 merge.

Comment thread tools/validate-helm-charts.sh Outdated
Comment thread .github/workflows/validate-helm-charts.yml Outdated
Comment thread .github/workflows/validate-helm-charts.yml Outdated
Comment thread .github/workflows/validate-helm-charts.yml Outdated
Comment thread helm-chart/splunk-enterprise/charts/splunk-operator-3.0.0.tgz
Restores the correct splunk-operator-3.0.0.tgz (5.8KB) that contains
only the operator chart, not the full splunk-enterprise chart (4.5MB).

The corrupted file was causing Helm test failures with nil pointer errors.
Extracted correct version from commit a3737ba.

Related to PR #1832 helm test failures.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@gabrielm-splunk gabrielm-splunk force-pushed the fix-corrupted-helm-operator-3.0.0-tgz branch from 8d2b05c to 0f09f24 Compare April 23, 2026 05:21
@gabrielm-splunk gabrielm-splunk merged commit d64c9dd into develop Apr 24, 2026
61 of 62 checks passed
@gabrielm-splunk gabrielm-splunk deleted the fix-corrupted-helm-operator-3.0.0-tgz branch April 24, 2026 03:16
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

helm splunk operator helm chart

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants