Skip to content

Conversation

@kharkevich
Copy link
Member

No description provided.

@kharkevich kharkevich requested a review from Copilot May 21, 2025 04:29
Copy link
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 a new Helm chart for managing application-level ingress, including configuration defaults, rendering templates, and basic documentation.

  • Define configurable fields in values.yaml for hosts, services, TLS, and rewrite rules.
  • Implement templates/ingress.yml to generate an Ingress resource per service with class-specific annotations.
  • Provide chart metadata in Chart.yaml and a minimal readme.md.

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

File Description
charts/application-ingress/values.yaml Introduce default values for ingressClass (commented), hosts, services, TLS settings
charts/application-ingress/templates/ingress.yml Render per-service Ingress resources with class-specific defaults and overrides
charts/application-ingress/Chart.yaml Add chart metadata, versioning, and dependency on common chart
charts/application-ingress/readme.md Add basic usage instructions
Comments suppressed due to low confidence (1)

charts/application-ingress/Chart.yaml:2

  • The chart name (ingress) does not match the directory name (application-ingress), which may confuse tooling and users. Consider renaming the chart to application-ingress for consistency.
name: ingress

kharkevich and others added 2 commits May 21, 2025 00:33
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@kharkevich kharkevich requested a review from Copilot May 21, 2025 04:34
Copy link
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 introduces a new Helm chart for managing application ingress resources, allowing per-service rules, host definitions, and optional TLS settings.

  • Add configurable defaults and examples in values.yaml for hosts, services, and TLS
  • Implement an ingress.yml template with class-specific annotations, path mappings, and TLS support
  • Provide basic chart metadata (Chart.yaml) and a minimal README

Reviewed Changes

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

File Description
charts/application-ingress/values.yaml Add default values and comments for ingress chart configuration
charts/application-ingress/templates/ingress.yml Implement Ingress resource templating with class-specific defaults
charts/application-ingress/readme.md Add placeholder documentation linking to values.yaml
charts/application-ingress/Chart.yaml Define chart metadata and dependencies
Comments suppressed due to low confidence (1)

charts/application-ingress/Chart.yaml:2

  • [nitpick] The chart folder is named application-ingress, but Chart.yaml uses name: ingress. Aligning these names improves clarity and consistency for consumers.
name: ingress

Comment on lines +47 to +48
{{- if $.Values.explicitTLS }}
secretName: {{ $.Values.explicitTLS }}
Copy link

Copilot AI May 21, 2025

Choose a reason for hiding this comment

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

The explicitTLS value is defined as a boolean but used as a secretName. Consider splitting the flag and secret name into separate values (e.g., tls.enabled and tls.secretName) or changing its type to a string.

Suggested change
{{- if $.Values.explicitTLS }}
secretName: {{ $.Values.explicitTLS }}
{{- if $.Values.tls.enabled }}
secretName: {{ $.Values.tls.secretName }}

Copilot uses AI. Check for mistakes.
Comment on lines +4 to +6
solution:
component: ingress

Copy link

Copilot AI May 21, 2025

Choose a reason for hiding this comment

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

[nitpick] The solution.component key is defined in values.yaml but not used in the ingress template. Remove unused values or document its purpose to avoid confusion.

Suggested change
solution:
component: ingress
# Removed unused solution.component key

Copilot uses AI. Check for mistakes.
@kharkevich kharkevich merged commit 6987736 into main May 21, 2025
4 checks passed
@kharkevich kharkevich deleted the ingress branch May 21, 2025 04:41
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