Skip to content

[gateway] add tests for gateway chart#251

Merged
DanielRaapDev merged 8 commits intomainfrom
gateway_tests
Feb 5, 2026
Merged

[gateway] add tests for gateway chart#251
DanielRaapDev merged 8 commits intomainfrom
gateway_tests

Conversation

@DanielRaapDev
Copy link
Copy Markdown
Member

No description provided.

@DanielRaapDev DanielRaapDev marked this pull request as draft January 23, 2026 12:37
@DanielRaapDev DanielRaapDev marked this pull request as ready for review January 23, 2026 13:18
@DanielRaapDev DanielRaapDev merged commit 97b0be9 into main Feb 5, 2026
2 checks passed
@DanielRaapDev DanielRaapDev deleted the gateway_tests branch February 5, 2026 19:56
@DanielRaapDev DanielRaapDev requested a review from Copilot February 5, 2026 20:29
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds comprehensive unit tests for the gateway Helm chart using the helm-unittest framework. The tests verify that the chart correctly renders Gateway resources with both minimal and complete configuration options.

Changes:

  • Added test suite with basic and full configuration test cases
  • Created test value files for different gateway configuration scenarios
  • Updated chart version to 1.0.7 with changelog entry for new unit tests

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
charts/gateway/tests/gateway_test.yaml Adds test suite with assertions for basic and full gateway configurations, including API version handling
charts/gateway/tests/values/basic.yaml Provides minimal test values with single HTTPS host configuration
charts/gateway/tests/values/full.yaml Provides comprehensive test values covering all gateway configuration options
charts/gateway/Chart.yaml Bumps version to 1.0.7 and documents addition of unit tests

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

mode: Terminate
certificateRefs:
- name: other-certificate
namspace: secret-ns
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling of 'namspace' to 'namespace'.

Suggested change
namspace: secret-ns
namespace: secret-ns

Copilot uses AI. Check for mistakes.
- group: foo.example.com
kind: SpecialSecret
name: other-certificate
namspace: secret-ns
Copy link

Copilot AI Feb 5, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling of 'namspace' to 'namespace'.

Suggested change
namspace: secret-ns
namespace: secret-ns

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants