Skip to content

Add health check property to Issuer / ClusterIssuer specification#55

Merged
spbsoluble merged 21 commits intorelease-2.4from
feat/AB#78226/issuer-healthcheck-configuration
Nov 17, 2025
Merged

Add health check property to Issuer / ClusterIssuer specification#55
spbsoluble merged 21 commits intorelease-2.4from
feat/AB#78226/issuer-healthcheck-configuration

Conversation

@irby
Copy link
Copy Markdown
Contributor

@irby irby commented Oct 24, 2025

No description provided.

irby and others added 10 commits October 24, 2025 11:15
…suance flow.

Signed-off-by: Matthew H. Irby <matt.irby@outlook.com>
Signed-off-by: Matthew H. Irby <matt.irby@outlook.com>
Signed-off-by: Matthew H. Irby <matt.irby@outlook.com>
Signed-off-by: Matthew H. Irby <matt.irby@outlook.com>
Signed-off-by: Matthew H. Irby <matt.irby@outlook.com>
Signed-off-by: Matthew H. Irby <matt.irby@outlook.com>
Signed-off-by: Matthew H. Irby <matt.irby@outlook.com>
…onds

Signed-off-by: Matthew H. Irby <matt.irby@outlook.com>
@irby irby changed the base branch from release-2.3 to release-2.4 October 27, 2025 16:38
@irby irby changed the title Add "healthCheckIntervalSeconds" property to Issuer / ClusterIssuer specification Add health check property to Issuer / ClusterIssuer specification Oct 27, 2025
irby and others added 3 commits October 27, 2025 12:42
Signed-off-by: Matthew H. Irby <matt.irby@outlook.com>
Ability to specify the default issuer timeout across all issuers
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 a configurable health check property to Issuer and ClusterIssuer specifications, enabling users to customize the health check interval and disable health checks if needed. The default behavior maintains backward compatibility with a 60-second health check interval.

  • Adds HealthCheckConfig struct to the API with enabled and interval fields
  • Updates controller to read and validate health check configuration with a minimum interval of 30 seconds
  • Adds comprehensive test coverage for various health check scenarios

Reviewed Changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
api/v1alpha1/issuer_types.go Adds HealthCheckConfig struct to IssuerSpec
internal/controller/issuer_controller.go Implements getHealthCheckInterval function with validation logic
internal/controller/issuer_controller_test.go Adds test cases for custom intervals, disabled checks, and validation
config/crd/bases/*.yaml Updates CRD schemas with healthcheck property
deploy/charts//templates/crds/.yaml Updates Helm chart CRDs with healthcheck property
cmd/main.go Adds --default-health-check-interval flag with validation
README.md, docsource/content.md Documents the new healthcheck configuration options
e2e/* Updates e2e tests to use Certificate resources instead of CertificateRequest

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

Comment thread README.md Outdated
Comment thread docsource/content.md Outdated
Comment thread internal/controller/issuer_controller.go Outdated
Comment thread api/v1alpha1/issuer_types.go Outdated
Comment thread config/crd/bases/command-issuer.keyfactor.com_issuers.yaml Outdated
Comment thread config/crd/bases/command-issuer.keyfactor.com_clusterissuers.yaml Outdated
Comment thread deploy/charts/command-cert-manager-issuer/templates/crds/issuers.yaml Outdated
Comment thread deploy/charts/command-cert-manager-issuer/templates/crds/clusterissuers.yaml Outdated
irby and others added 3 commits November 11, 2025 12:01
Signed-off-by: Matthew H. Irby <matt.irby@outlook.com>
Signed-off-by: Matthew H. Irby <matt.irby@outlook.com>
@irby irby requested a review from Copilot November 11, 2025 18:47
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

Copilot reviewed 19 out of 19 changed files in this pull request and generated 6 comments.


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

Comment thread internal/controller/issuer_controller.go Outdated
Comment thread internal/controller/issuer_controller.go Outdated
Comment thread e2e/run_tests.sh Outdated
Comment thread internal/controller/issuer_controller_test.go
Comment thread e2e/run_tests.sh Outdated
Comment thread e2e/README.md Outdated
irby and others added 3 commits November 11, 2025 15:10
Signed-off-by: Matthew H. Irby <matt.irby@outlook.com>
Signed-off-by: Matthew H. Irby <matt.irby@outlook.com>
@irby irby requested a review from Copilot November 11, 2025 20:41
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

Copilot reviewed 19 out of 19 changed files in this pull request and generated 7 comments.


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

Comment thread internal/controller/issuer_controller.go
Comment thread cmd/main.go Outdated
Comment thread e2e/run_tests.sh
Comment thread e2e/run_tests.sh
Comment thread e2e/run_tests.sh
Comment thread e2e/run_tests.sh
Comment thread e2e/run_tests.sh
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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

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


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

Comment thread api/v1alpha1/issuer_types.go Outdated
Comment thread internal/controller/issuer_controller.go
Comment thread internal/controller/issuer_controller.go Outdated
Signed-off-by: Matthew H. Irby <matt.irby@outlook.com>
@irby irby requested a review from spbsoluble November 13, 2025 19:09
@spbsoluble spbsoluble merged commit be03357 into release-2.4 Nov 17, 2025
47 of 48 checks passed
@spbsoluble spbsoluble deleted the feat/AB#78226/issuer-healthcheck-configuration branch November 17, 2025 18:43
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.

4 participants