Skip to content

Commit 1ccbe9d

Browse files
committed
Fix vale errors
Signed-off-by: Bob Haddleton <bob.haddleton@nokia.com>
1 parent eabede8 commit 1ccbe9d

2 files changed

Lines changed: 13 additions & 9 deletions

File tree

content/master/managed-resources/managed-resources.md

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -770,13 +770,14 @@ A managed resource has three status conditions: Synced, Ready and UpToDate.
770770

771771
View the `Conditions` of a managed resource with `kubectl describe <managed_resource>`.
772772

773-
The conditions for a managed resource are controlled by the Provider.
773+
Crossplane Providers manage the conditions for their managed resources.
774774

775775
{{<hint "note" >}}
776776
Providers may define their own custom `Conditions`.
777777
{{</hint >}}
778-
778+
<!-- vale off -->
779779
### Synced Condition
780+
<!-- vale on -->
780781
The Provider sets the Synced status condition to True when it's able to
781782
successfully reconcile the managed resource. If Crossplane can't reconcile the
782783
managed resource it reports an error in the Synced condition.
@@ -820,14 +821,13 @@ Conditions:
820821
Status: True
821822
Reason: ReconcileSuccess
822823
```
823-
824+
<!-- vale off -->
824825
### Ready Condition
826+
<!-- vale on -->
825827
The Provider sets the Ready status condition to True when it
826-
determines that the managed resource is available. If a managed resource isn't ready
828+
determines that the managed resource is available. If a managed resource isn't ready
827829
the Crossplane Provider reports it in the Ready condition.
828830

829-
The logic used to determine if a managed resource is Ready is maintained by the Provider.
830-
831831
#### Available
832832
`Reason: Available` indicates the Provider created the managed resource and it's
833833
ready for use.
@@ -871,7 +871,9 @@ Conditions:
871871
Status: False
872872
Reason: Unavailable
873873
```
874+
<!-- vale off -->
874875
### UpToDate Condition
876+
<!-- vale on -->
875877
The Provider sets the `UpToDate` status condition to True when the observed resource configuration
876878
matches the configuration specified in the managed resource.
877879
If there are differences between the specified configuration and the observed
@@ -895,7 +897,7 @@ Conditions:
895897
<!-- vale on -->
896898
`Reason: UpdateRequested` indicates the provider detected a difference between the
897899
specified configuration and the observed configuration and requested an update to resolve
898-
the delta. The result of the update is still pending, which can happen if the update operation
900+
the delta. The result of the update is still pending, which can happen if the update operation
899901
is asynchronous. The `Message:` value of the `Condition` displays
900902
any difference information available to the Provider.
901903

@@ -926,7 +928,7 @@ Conditions:
926928
<!-- vale on -->
927929
`Reason: UpdateFailed` indicates the provider detected a difference between the
928930
specified configuration and the observed configuration. The Provider requested an update of
929-
the resource to resolve the delta and the update operation failed. The `Message:` value of the `Condition` displays
931+
the resource to resolve the delta and the update operation failed. The `Message:` value of the `Condition` displays
930932
any difference information available to the Provider and the error information.
931933

932934
```yaml {copy-lines="none"}
@@ -949,8 +951,9 @@ Conditions:
949951
Reason: ObserveMatched
950952
```
951953

952-
954+
<!-- vale off -->
953955
### Unknown Condition
956+
<!-- vale on -->
954957
`Reason: Unknown` indicates the Provider has an unexpected error with the
955958
managed resource. The `conditions.message` provides more information on what
956959
went wrong.

utils/vale/styles/Crossplane/crossplane-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ TrimSuffix
101101
TTR
102102
UnhealthyPackageRevision
103103
UnknownPackageRevisionHealth
104+
UpToDate
104105
ValidPipeline
105106
WatchOperation
106107
WatchOperations

0 commit comments

Comments
 (0)