Skip to content

Commit 743d8ff

Browse files
committed
chore: update docs
Signed-off-by: Matthew H. Irby <[email protected]>
1 parent b9b6325 commit 743d8ff

File tree

6 files changed

+12
-5
lines changed

6 files changed

+12
-5
lines changed

api/v1alpha1/issuer_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ type IssuerSpec struct {
4646
// +kubebuilder:default:=KeyfactorAPI
4747
APIPath string `json:"apiPath,omitempty"`
4848

49-
// The number of seconds between successful health checks. 60 seconds (1 minute) by default
49+
// The number of seconds between successful health checks. 60 seconds (1 minute) by default. Setting to 0 will disable the health check.
5050
// +kubebuilder:default:=60
5151
HealthCheckIntervalSeconds *int `json:"healthCheckIntervalSeconds,omitempty"`
5252

config/crd/bases/command-issuer.keyfactor.com_clusterissuers.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ spec:
105105
healthCheckIntervalSeconds:
106106
default: 60
107107
description: The number of seconds between successful health checks.
108-
60 seconds (1 minute) by default
108+
60 seconds (1 minute) by default. Setting to 0 will disable the
109+
health check.
109110
type: integer
110111
hostname:
111112
description: Hostname is the hostname of a Keyfactor Command instance.

config/crd/bases/command-issuer.keyfactor.com_issuers.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,8 @@ spec:
105105
healthCheckIntervalSeconds:
106106
default: 60
107107
description: The number of seconds between successful health checks.
108-
60 seconds (1 minute) by default
108+
60 seconds (1 minute) by default. Setting to 0 will disable the
109+
health check.
109110
type: integer
110111
hostname:
111112
description: Hostname is the hostname of a Keyfactor Command instance.

deploy/charts/command-cert-manager-issuer/templates/crds/clusterissuers.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ spec:
8282
healthCheckIntervalSeconds:
8383
default: 60
8484
description: The number of seconds between successful health checks.
85-
60 seconds (1 minute) by default
85+
60 seconds (1 minute) by default. Setting to 0 will disable the
86+
health check.
8687
type: integer
8788
ownerRoleId:
8889
description: |-

deploy/charts/command-cert-manager-issuer/templates/crds/issuers.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ spec:
8282
healthCheckIntervalSeconds:
8383
default: 60
8484
description: The number of seconds between successful health checks.
85-
60 seconds (1 minute) by default
85+
60 seconds (1 minute) by default. Setting to 0 will disable the
86+
health check.
8687
type: integer
8788
ownerRoleId:
8889
description: |-

docsource/content.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ For example, ClusterIssuer resources can be used to issue certificates for resou
219219
| ownerRoleName | The name of the security role assigned as the certificate owner. The security role must be assigned to the identity context of the issuer. If `ownerRoleId` and `ownerRoleName` are both specified, `ownerRoleId` will take precedence. This field is **required** if the enrollment pattern, certificate template, or system-wide setting requires it. |
220220
| scopes | (Optional) Required if using ambient credentials with Azure AKS. If using ambient credentials, these scopes will be put on the access token generated by the ambient credentials' token provider, if applicable. |
221221
| audience | (Optional) If using ambient credentials, this audience will be put on the access token generated by the ambient credentials' token provider, if applicable. Google's ambient credential token provider generates an OIDC ID Token. If this value is not provided, it will default to `command`. |
222+
| healthCheckIntervalSeconds | (Optional) Defines the health check interval, in seconds, for a healthy issuer. If ommitted, defaults to 60 seconds. If set to 0, it will disable the health check. If there is a failure when running the health check, it will retry in 10 seconds with an exponential backoff strategy. Value must not be negative. |
222223
223224
> If a different combination of hostname/certificate authority/certificate template is required, a new Issuer or ClusterIssuer resource must be created. Each resource instantiation represents a single configuration.
224225
@@ -250,6 +251,7 @@ For example, ClusterIssuer resources can be used to issue certificates for resou
250251
# ownerRoleName: "$OWNER_ROLE_NAME" # Uncomment if required
251252
# scopes: "openid email https://example.com/.default" # Uncomment if required
252253
# audience: "https://your-command-url.com" # Uncomment if desired
254+
# healthCheckIntervalSeconds: 60 # Uncomment if desired. Setting to 0 disables health check.
253255
EOF
254256
255257
kubectl -n default apply -f issuer.yaml
@@ -280,6 +282,7 @@ For example, ClusterIssuer resources can be used to issue certificates for resou
280282
# ownerRoleName: "$OWNER_ROLE_NAME" # Uncomment if required
281283
# scopes: "openid email https://example.com/.default" # Uncomment if required
282284
# audience: "https://your-command-url.com" # Uncomment if desired
285+
# healthCheckIntervalSeconds: 60 # Uncomment if desired. Setting to 0 disables health check.
283286
EOF
284287
285288
kubectl apply -f clusterissuer.yaml

0 commit comments

Comments
 (0)