You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -251,6 +251,7 @@ For example, ClusterIssuer resources can be used to issue certificates for resou
251
251
| 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. |
252
252
| 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. |
253
253
| 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`. |
254
+
| 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. |
254
255
255
256
> 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.
256
257
@@ -282,6 +283,7 @@ For example, ClusterIssuer resources can be used to issue certificates for resou
282
283
# ownerRoleName: "$OWNER_ROLE_NAME" # Uncomment if required
283
284
# scopes: "openid email https://example.com/.default" # Uncomment if required
284
285
# audience: "https://your-command-url.com" # Uncomment if desired
286
+
# healthCheckIntervalSeconds: 60 # Uncomment if desired. Setting to 0 disables health check.
285
287
EOF
286
288
287
289
kubectl -n default apply -f issuer.yaml
@@ -312,6 +314,7 @@ For example, ClusterIssuer resources can be used to issue certificates for resou
312
314
# ownerRoleName: "$OWNER_ROLE_NAME" # Uncomment if required
313
315
# scopes: "openid email https://example.com/.default" # Uncomment if required
314
316
# audience: "https://your-command-url.com" # Uncomment if desired
317
+
# healthCheckIntervalSeconds: 60 # Uncomment if desired. Setting to 0 disables health check.
Copy file name to clipboardExpand all lines: config/crd/bases/command-issuer.keyfactor.com_clusterissuers.yaml
+40-24Lines changed: 40 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -68,58 +68,74 @@ spec:
68
68
CertificateAuthorityLogicalName is the logical name of the certificate authority to use
69
69
E.g. "Keyfactor Root CA" or "Intermediate CA"
70
70
type: string
71
+
certificateTemplate:
72
+
description: |-
73
+
Deprecated. CertificateTemplate is the name of the certificate template to use. If using Keyfactor Command 25.1 or later, use EnrollmentPatternName or EnrollmentPatternId instead.
74
+
If both enrollment pattern and certificate template are specified, enrollment pattern will take precedence.
75
+
Enrollment will fail if the specified template is not compatible with the enrollment pattern.
76
+
Refer to the Keyfactor Command documentation for more information.
77
+
type: string
78
+
commandSecretName:
79
+
description: |-
80
+
A reference to a K8s kubernetes.io/basic-auth Secret containing basic auth
81
+
credentials for the Command instance configured in Hostname. The secret must
82
+
be in the same namespace as the referent. If the
83
+
referent is a ClusterIssuer, the reference instead refers to the resource
84
+
with the given name in the configured 'cluster resource namespace', which
85
+
is set as a flag on the controller component (and defaults to the
86
+
namespace that the controller runs in).
87
+
type: string
71
88
enrollmentPatternId:
72
89
description: |-
73
90
EnrollmentPatternId is the ID of the enrollment pattern to use. Supported in Keyfactor Command 25.1 and later.
74
91
If both enrollment pattern and certificate template are specified, enrollment pattern will take precedence.
75
-
If both enrollmentPatternId and enrollmentPatternName are specified, enrollmentPatternId will take precedence.
92
+
If EnrollmentPatternId and EnrollmentPatternName are both specified, EnrollmentPatternId will take precedence.
76
93
Enrollment will fail if the specified template is not compatible with the enrollment pattern.
77
94
Refer to the Keyfactor Command documentation for more information.
78
-
type: integer
79
95
format: int32
96
+
type: integer
80
97
enrollmentPatternName:
81
98
description: |-
82
99
EnrollmentPatternName is the name of the enrollment pattern to use. Supported in Keyfactor Command 25.1 and later.
83
100
If both enrollment pattern and certificate template are specified, enrollment pattern will take precedence.
84
-
If both enrollmentPatternId and enrollmentPatternName are specified, enrollmentPatternId will take precedence.
101
+
If EnrollmentPatternId and EnrollmentPatternName are both specified, EnrollmentPatternId will take precedence.
85
102
Enrollment will fail if the specified template is not compatible with the enrollment pattern.
86
103
Refer to the Keyfactor Command documentation for more information.
87
104
type: string
105
+
healthcheck:
106
+
description: |-
107
+
The healthcheck configuration for the issuer. This configures the frequency at which the issuer will perform
108
+
a health check to determine issuer's connectivity to Command instance.
109
+
properties:
110
+
enabled:
111
+
description: 'Determines whether to the health check when the
112
+
issuer is healthy. Default: true'
113
+
type: boolean
114
+
interval:
115
+
description: The interval at which to health check the issuer
116
+
when healthy. Defaults to 1 minute. Must not be less than "30s".
117
+
type: string
118
+
required:
119
+
- enabled
120
+
type: object
121
+
hostname:
122
+
description: Hostname is the hostname of a Keyfactor Command instance.
123
+
type: string
88
124
ownerRoleId:
89
125
description: |-
90
126
OwnerRoleId is the ID of the security role assigned as the certificate owner.
91
127
The specified security role must be assigned to the authorized identity context.
92
128
If OwnerRoleId and OwnerRoleName are both specified, OwnerRoleId will take precedence.
93
129
This field is required if the enrollment pattern, certificate template, or system-wide settings has been configured as Required.
94
-
type: integer
95
130
format: int32
131
+
type: integer
96
132
ownerRoleName:
97
133
description: |-
98
134
OwnerRoleName is the name of the security role assigned as the certificate owner. This name must match the existing name of the security role.
99
135
The specified security role must be assigned to the authorized identity context.
100
136
If OwnerRoleId and OwnerRoleName are both specified, OwnerRoleId will take precedence.
101
137
This field is required if the enrollment pattern, certificate template, or system-wide settings has been configured as Required.
102
138
type: string
103
-
certificateTemplate:
104
-
description: |-
105
-
CertificateTemplate is the name of the certificate template to use. Deprecated in favor of EnrollmentPattern as of Keyfactor Command 25.1.
106
-
If both enrollment pattern and certificate template are specified, enrollment pattern will take precedence.
107
-
Enrollment will fail if the specified template is not compatible with the enrollment pattern.
108
-
Refer to the Keyfactor Command documentation for more information.
109
-
type: string
110
-
commandSecretName:
111
-
description: |-
112
-
A reference to a K8s kubernetes.io/basic-auth Secret containing basic auth
113
-
credentials for the Command instance configured in Hostname. The secret must
114
-
be in the same namespace as the referent. If the
115
-
referent is a ClusterIssuer, the reference instead refers to the resource
116
-
with the given name in the configured 'cluster resource namespace', which
117
-
is set as a flag on the controller component (and defaults to the
118
-
namespace that the controller runs in).
119
-
type: string
120
-
hostname:
121
-
description: Hostname is the hostname of a Keyfactor Command instance.
122
-
type: string
123
139
scopes:
124
140
description: |-
125
141
A list of comma separated scopes used when requesting a Bearer token from an ambient token provider implied
0 commit comments