Skip to content

Commit e2614b5

Browse files
committed
Update API doc for OverrideReplicas
1 parent d8947cd commit e2614b5

File tree

3 files changed

+20
-13
lines changed

3 files changed

+20
-13
lines changed

api/operator/v1alpha1/certmanager_types.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ type DeploymentConfig struct {
8282
// +optional
8383
OverrideResources CertManagerResourceRequirements `json:"overrideResources,omitempty"`
8484

85-
// OverrideReplicas defines the number of replicas to run for an operand
85+
// OverrideReplicas defines the number of replicas for the operand deployment.
86+
// If not specified, the default replicas from the deployment manifest will be used.
8687
// +kubebuilder:validation:Optional
8788
// +kubebuilder:validation:Minimum=1
8889
// +optional

bundle/manifests/operator.openshift.io_certmanagers.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,9 @@ spec:
178178
type: string
179179
type: object
180180
overrideReplicas:
181-
description: OverrideReplicas defines the number of replicas to
182-
run for an operand
181+
description: |-
182+
OverrideReplicas defines the number of replicas for the operand deployment.
183+
If not specified, the default replicas from the deployment manifest will be used.
183184
format: int32
184185
minimum: 1
185186
type: integer
@@ -420,8 +421,9 @@ spec:
420421
type: string
421422
type: object
422423
overrideReplicas:
423-
description: OverrideReplicas defines the number of replicas to
424-
run for an operand
424+
description: |-
425+
OverrideReplicas defines the number of replicas for the operand deployment.
426+
If not specified, the default replicas from the deployment manifest will be used.
425427
format: int32
426428
minimum: 1
427429
type: integer
@@ -707,8 +709,9 @@ spec:
707709
type: string
708710
type: object
709711
overrideReplicas:
710-
description: OverrideReplicas defines the number of replicas to
711-
run for an operand
712+
description: |-
713+
OverrideReplicas defines the number of replicas for the operand deployment.
714+
If not specified, the default replicas from the deployment manifest will be used.
712715
format: int32
713716
minimum: 1
714717
type: integer

config/crd/bases/operator.openshift.io_certmanagers.yaml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,9 @@ spec:
178178
type: string
179179
type: object
180180
overrideReplicas:
181-
description: OverrideReplicas defines the number of replicas to
182-
run for an operand
181+
description: |-
182+
OverrideReplicas defines the number of replicas for the operand deployment.
183+
If not specified, the default replicas from the deployment manifest will be used.
183184
format: int32
184185
minimum: 1
185186
type: integer
@@ -420,8 +421,9 @@ spec:
420421
type: string
421422
type: object
422423
overrideReplicas:
423-
description: OverrideReplicas defines the number of replicas to
424-
run for an operand
424+
description: |-
425+
OverrideReplicas defines the number of replicas for the operand deployment.
426+
If not specified, the default replicas from the deployment manifest will be used.
425427
format: int32
426428
minimum: 1
427429
type: integer
@@ -707,8 +709,9 @@ spec:
707709
type: string
708710
type: object
709711
overrideReplicas:
710-
description: OverrideReplicas defines the number of replicas to
711-
run for an operand
712+
description: |-
713+
OverrideReplicas defines the number of replicas for the operand deployment.
714+
If not specified, the default replicas from the deployment manifest will be used.
712715
format: int32
713716
minimum: 1
714717
type: integer

0 commit comments

Comments
 (0)