Skip to content

DM-55959: add CertManager support to Helm chart - #1096

Merged
fritzm merged 1 commit into
mainfrom
tickets/DM-55959
Sep 4, 2026
Merged

DM-55959: add CertManager support to Helm chart#1096
fritzm merged 1 commit into
mainfrom
tickets/DM-55959

Conversation

@fritzm

@fritzm fritzm commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Adds chart support for optional per-deployment use of CertManager to manage frontend SSL cert

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The new cert-manager templates should be aligned with chart conventions (labels and czar enablement gating) and avoid a createIssuer/issuerRef.kind mismatch that can produce an invalid issuer reference.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds optional cert-manager integration to the Qserv Helm chart so deployments can have cert-manager manage the TLS secret used by the czar HTTP frontend / SSL proxy.

Changes:

  • Introduces certManager configuration in values.yaml (enablement, issuer reference, dnsNames).
  • Adds a templated Issuer (optional) and Certificate (creates czar-cert secret when enabled).
File summaries
File Description
deploy/helm/values.yaml Adds certManager values used to enable/parameterize cert-manager resources.
deploy/helm/templates/czar-issuer.yaml New template to optionally create a self-signed namespaced Issuer.
deploy/helm/templates/czar-certificate.yaml New template to create a Certificate targeting the czar-cert secret.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 2
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread deploy/helm/templates/czar-certificate.yaml Outdated
Comment thread deploy/helm/templates/czar-issuer.yaml Outdated
@fritzm
fritzm force-pushed the tickets/DM-55959 branch 2 times, most recently from 3d46b45 to 82b8f6f Compare September 4, 2026 03:17
@fritzm
fritzm requested a lite review from Copilot September 4, 2026 03:19

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Enabling cert-manager with the provided defaults can render an invalid Certificate (empty dnsNames) and can render an invalid issuerRef when bring-your-own issuer is selected without a required name, so the chart should fail-fast with clear validation.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 2
  • Review effort level: Lite

Comment thread deploy/helm/templates/czar-certificate.yaml Outdated
Comment thread deploy/helm/values.yaml

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The new Helm templates have rendering/formatting errors (not on a map and whitespace-trimming that can break YAML) that can cause helm template/install to fail when enabled.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 2
  • Review effort level: Lite

Comment thread deploy/helm/templates/czar-certificate.yaml
Comment thread deploy/helm/templates/czar-issuer.yaml Outdated

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Enabling cert-manager with the current default dnsNames: [] can render an invalid Certificate, leading to a broken Helm install/upgrade unless the chart validates this configuration.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 2
  • Review effort level: Lite

Comment thread deploy/helm/templates/czar-certificate.yaml
Comment thread deploy/helm/values.yaml
@fritzm

fritzm commented Sep 4, 2026

Copy link
Copy Markdown
Contributor Author

Go home copilot you're drunk

@fritzm
fritzm marked this pull request as ready for review September 4, 2026 14:57
@fritzm
fritzm merged commit af2c318 into main Sep 4, 2026
10 checks passed
@fritzm
fritzm deleted the tickets/DM-55959 branch September 4, 2026 14:58
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