You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Now checks if entries array has items
* Fix helm lint
* Upgrade CI Helm version and revert unnecessary template changes
The helm lint failures in CI were caused by using outdated Helm 3.3.4 (from 2020).
The template syntax `ne .Values.server.enabled false` works correctly with modern Helm versions.
Changes:
- Upgraded CI Helm version from 3.3.4 to 3.19.0 (latest stable)
- Reverted commit b82a8f2 template changes (not needed with modern Helm)
Testing confirmed:
- All helm lint tests pass with Helm 3.14+ and 3.19.0
- Customer issue (empty dataConfigSources entries) remains fixed
- Original template syntax is compatible with modern Helm
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Upgrade k3d-action and k3s version to fix CI cluster startup
The k3d cluster startup was failing due to using outdated versions:
- k3d-action v1.4.0 (from 2021) → v2.4.0 (latest, Jan 2024)
- k3s v1.18.18 (from 2021) → v1.28.8 (modern, stable)
- k3d config API v1alpha2 → v1alpha4 (current)
Changes:
- Upgraded k3d-action from v1.4.0 to v2.4.0
- Updated k3d config API version from v1alpha2 to v1alpha4
- Upgraded k3s image from v1.18.18-k3s1 to v1.28.8-k3s1
This should resolve the "server is currently unable to handle the request"
errors seen during cluster startup in CI.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Fix k3d config schema for v1alpha4 compatibility
The k3d v1alpha4 schema requires different structure:
- name field must be under metadata
- extraServerArgs changed to extraArgs with arg/nodeFilters structure
- Each disable flag must be a separate arg entry
Changes:
- Moved name under metadata wrapper
- Changed extraServerArgs to extraArgs
- Split --disable flags into separate arg entries with nodeFilters
- Each arg targets server:* nodes
This fixes the schema validation errors:
- "Additional property name is not allowed"
- "Additional property extraServerArgs is not allowed"
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Fix e2e test service names to match Helm naming convention
The e2e tests were using incorrect service names that didn't match
the actual services created by Helm.
Issue: When release name != chart name, Helm generates service names as:
{release-name}-{chart-name}-{component}
In this case:
- Release: myopal
- Chart: opal
- Generated names: myopal-opal-server, myopal-opal-client
But tests were looking for: myopal-server, myopal-client
Changes:
- deploy.sh: myopal-server → myopal-opal-server
- test.sh: myopal-client → myopal-opal-client
- test.sh: myopal-server → myopal-opal-server
This fixes the "service not found" error in CI e2e tests.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Fix e2e test to use external curl pod instead of exec into client
The OPAL client container doesn't have curl installed, causing the test
to fail when trying to exec curl commands inside the container.
Error: exec: "curl": executable file not found in $PATH
Solution:
- Use kubectl run with curlimages/curl image to query OPA from outside
- Changed DATA_URL from localhost:8181 to service name myopal-opal-client:8181
- This matches the pattern used in templates/tests/e2e.yaml
Changes:
- Replaced kubectl exec with kubectl run --rm for curl commands
- Updated URL to use service name instead of localhost
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Fix bash test syntax by quoting command substitutions
* Improve e2e test debugging with echo statements
* Fix e2e test to match actual OPA response format
* Fix e2e test empty data check to match OPA behavior
* Filter out kubectl pod deletion messages from curl output
---------
Co-authored-by: Claude <noreply@anthropic.com>
{{- if or .Values.server.dataConfigSources.config .Values.server.dataConfigSources.external_source_url }}
127
+
{{- if or .Values.server.dataConfigSources.external_source_url (and .Values.server.dataConfigSources.config .Values.server.dataConfigSources.config.entries) }}
0 commit comments