Skip to content

Commit 9e73bfa

Browse files
darkowlzzhiddeco
authored andcommitted
docs/spec: Update the outputs
Signed-off-by: Sunny <[email protected]>
1 parent f59b48c commit 9e73bfa

File tree

4 files changed

+17
-21
lines changed

4 files changed

+17
-21
lines changed

docs/spec/v1beta2/buckets.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ control over.
7070
2. Run `kubectl get buckets` to see the Bucket:
7171

7272
```console
73-
NAME ENDPOINT READY STATUS AGE
74-
minio-bucket minio.example.com True stored artifact for revision 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855' 34s
73+
NAME ENDPOINT AGE READY STATUS
74+
minio-bucket minio.example.com 34s True stored artifact for revision 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
7575
```
7676

7777
3. Run `kubectl describe bucket minio-bucket` to see the [Artifact](#artifact)
@@ -98,8 +98,7 @@ control over.
9898
Events:
9999
Type Reason Age From Message
100100
---- ------ ---- ---- -------
101-
Normal BucketOperationSucceed 43s source-controller downloaded 16 files with revision 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855' from 'my-minio-bucket'
102-
Normal NewArtifact 43s source-controller stored artifact for revision 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
101+
Normal NewArtifact 82s source-controller fetched 16 files from 'example'
103102
```
104103

105104
## Writing a Bucket spec
@@ -575,7 +574,7 @@ Status:
575574
...
576575
Conditions:
577576
Last Transition Time: 2022-02-02T13:26:55Z
578-
Message: reconciling new generation 2
577+
Message: reconciling new object generation (2)
579578
Observed Generation: 2
580579
Reason: NewGeneration
581580
Status: True
@@ -614,8 +613,7 @@ lists
614613

615614
```console
616615
LAST SEEN TYPE REASON OBJECT MESSAGE
617-
2m30s Normal BucketOperationSucceed bucket/<bucket-name> downloaded 16 files with revision 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855' from 'my-minio-bucket'
618-
2m30s Normal NewArtifact bucket/<bucket-name> stored artifact for revision 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
616+
2m30s Normal NewArtifact bucket/<bucket-name> fetched 16 files with revision from 'my-new-bucket'
619617
18s Warning BucketOperationFailed bucket/<bucket-name> bucket 'my-new-bucket' does not exist
620618
```
621619

docs/spec/v1beta2/gitrepositories.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ You can run this example by saving the manifest into `gitrepository.yaml`.
4848
2. Run `kubectl get gitrepository` to see the GitRepository:
4949

5050
```console
51-
NAME URL READY STATUS AGE
52-
podinfo https://github.com/stefanprodan/podinfo True stored artifact for revision 'master/132f4e719209eb10b9485302f8593fc0e680f4fc' 5s
51+
NAME URL AGE READY STATUS
52+
podinfo https://github.com/stefanprodan/podinfo 5s True stored artifact for revision 'master/132f4e719209eb10b9485302f8593fc0e680f4fc'
5353
```
5454

5555
3. Run `kubectl describe gitrepository podinfo` to see the [Artifact](#artifact)
@@ -76,8 +76,7 @@ You can run this example by saving the manifest into `gitrepository.yaml`.
7676
Events:
7777
Type Reason Age From Message
7878
---- ------ ---- ---- -------
79-
Normal GitOperationSucceed 62s source-controller cloned 'https://github.com/stefanprodan/podinfo' and checked out revision 'master/132f4e719209eb10b9485302f8593fc0e680f4fc'
80-
Normal NewArtifact 62s source-controller stored artifact for revision 'master/132f4e719209eb10b9485302f8593fc0e680f4fc'
79+
Normal NewArtifact 62s source-controller stored artifact for commit 'Merge pull request #160 from stefanprodan/release-6.0.3'
8180
```
8281

8382
## Writing a GitRepository spec
@@ -597,7 +596,7 @@ Status:
597596
...
598597
Conditions:
599598
Last Transition Time: 2022-02-14T09:40:27Z
600-
Message: reconciling new generation 2
599+
Message: reconciling new object generation (2)
601600
Observed Generation: 2
602601
Reason: NewGeneration
603602
Status: True
@@ -636,9 +635,8 @@ lists
636635

637636
```console
638637
LAST SEEN TYPE REASON OBJECT MESSAGE
639-
2m14s Normal GitOperationSucceed gitrepository/<repository-name> cloned 'https://github.com/stefanprodan/podinfo' and checked out revision 'master/132f4e719209eb10b9485302f8593fc0e680f4fc'
640-
2m14s Normal NewArtifact gitrepository/<repository-name> stored artifact for revision 'master/132f4e719209eb10b9485302f8593fc0e680f4fc'
641-
94s Warning GitOperationFailed gitrepository/gitrepository-sample failed to checkout and determine revision: unable to clone 'https://github.com/stefanprodan/podinfo': couldn't find remote ref "refs/heads/invalid"
638+
2m14s Normal NewArtifact gitrepository/<repository-name> stored artifact for commit 'Merge pull request #160 from stefanprodan/release-6.0.3'
639+
94s Warning GitOperationFailed gitrepository/<repository-name> failed to checkout and determine revision: unable to clone 'https://github.com/stefanprodan/podinfo': couldn't find remote ref "refs/heads/invalid"
642640
```
643641

644642
Besides being reported in Events, the reconciliation errors are also logged by

docs/spec/v1beta2/helmcharts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ helm-controller.
5656
2. Run `kubectl get helmchart` to see the HelmChart:
5757

5858
```console
59-
NAME CHART VERSION SOURCE KIND SOURCE NAME READY STATUS AGE
60-
podinfo podinfo 5.* HelmRepository podinfo True pulled 'podinfo' chart with version '5.2.1' 53s
59+
NAME CHART VERSION SOURCE KIND SOURCE NAME AGE READY STATUS
60+
podinfo podinfo 5.* HelmRepository podinfo 53s True pulled 'podinfo' chart with version '5.2.1'
6161
```
6262

6363
3. Run `kubectl describe helmchart podinfo` to see the [Artifact](#artifact) and

docs/spec/v1beta2/helmrepositories.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ You can run this example by saving the manifest into `helmrepository.yaml`.
4646
2. Run `kubectl get helmrepository` to see the HelmRepository:
4747

4848
```console
49-
NAME URL READY STATUS AGE
50-
podinfo https://stefanprodan.github.io/podinfo True stored artifact for revision '83a3c595163a6ff0333e0154c790383b5be441b9db632cb36da11db1c4ece111' 4s
49+
NAME URL AGE READY STATUS
50+
podinfo https://stefanprodan.github.io/podinfo 4s True stored artifact for revision '83a3c595163a6ff0333e0154c790383b5be441b9db632cb36da11db1c4ece111'
5151
```
5252

5353
3. Run `kubectl describe helmrepository podinfo` to see the [Artifact](#artifact)
@@ -74,7 +74,7 @@ You can run this example by saving the manifest into `helmrepository.yaml`.
7474
Events:
7575
Type Reason Age From Message
7676
---- ------ ---- ---- -------
77-
Normal NewArtifact 1m source-controller stored artifact for revision '83a3c595163a6ff0333e0154c790383b5be441b9db632cb36da11db1c4ece111'
77+
Normal NewArtifact 1m source-controller fetched index of size 30.88kB from 'https://stefanprodan.github.io/podinfo'
7878
```
7979

8080
## Writing a HelmRepository spec
@@ -361,7 +361,7 @@ lists
361361
```console
362362
LAST SEEN TYPE REASON OBJECT MESSAGE
363363
107s Warning Failed helmrepository/<repository-name> failed to construct Helm client: scheme "invalid" not supported
364-
7s Normal NewArtifact helmrepository/<repository-name> stored artifact for revision '83a3c595163a6ff0333e0154c790383b5be441b9db632cb36da11db1c4ece111'
364+
7s Normal NewArtifact helmrepository/<repository-name> fetched index of size 30.88kB from 'https://stefanprodan.github.io/podinfo'
365365
```
366366

367367
Besides being reported in Events, the reconciliation errors are also logged by

0 commit comments

Comments
 (0)