Skip to content

Commit 0a4a986

Browse files
authored
make read only state a top level boolean field in status (#2908)
1 parent cffbc2a commit 0a4a986

File tree

157 files changed

+1110
-20
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

157 files changed

+1110
-20
lines changed
1.03 KB
Binary file not shown.
2 Bytes
Binary file not shown.
1.03 KB
Binary file not shown.
1 Byte
Binary file not shown.

charts/controller/crds/deployments.plural.sh_bootstraptokens.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,15 @@ spec:
214214
id:
215215
description: ID of the resource in the Console API.
216216
type: string
217+
readonly:
218+
default: false
219+
description: ReadOnly indicates whether the resource is read-only.
220+
type: boolean
217221
sha:
218222
description: SHA of last applied configuration.
219223
type: string
224+
required:
225+
- readonly
220226
type: object
221227
type: object
222228
served: true

charts/controller/crds/deployments.plural.sh_catalogs.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ spec:
1919
jsonPath: .status.id
2020
name: ID
2121
type: string
22+
- description: Flag indicating if the object is read-only
23+
jsonPath: .status.readonly
24+
name: READONLY
25+
type: boolean
2226
name: v1alpha1
2327
schema:
2428
openAPIV3Schema:
@@ -304,9 +308,15 @@ spec:
304308
id:
305309
description: ID of the resource in the Console API.
306310
type: string
311+
readonly:
312+
default: false
313+
description: ReadOnly indicates whether the resource is read-only.
314+
type: boolean
307315
sha:
308316
description: SHA of last applied configuration.
309317
type: string
318+
required:
319+
- readonly
310320
type: object
311321
type: object
312322
served: true

charts/controller/crds/deployments.plural.sh_cloudconnections.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ spec:
2323
jsonPath: .spec.provider
2424
name: Provider
2525
type: string
26+
- description: Flag indicating if the object is read-only
27+
jsonPath: .status.readonly
28+
name: READONLY
29+
type: boolean
2630
name: v1alpha1
2731
schema:
2832
openAPIV3Schema:
@@ -299,9 +303,15 @@ spec:
299303
id:
300304
description: ID of the resource in the Console API.
301305
type: string
306+
readonly:
307+
default: false
308+
description: ReadOnly indicates whether the resource is read-only.
309+
type: boolean
302310
sha:
303311
description: SHA of last applied configuration.
304312
type: string
313+
required:
314+
- readonly
305315
type: object
306316
type: object
307317
served: true

charts/controller/crds/deployments.plural.sh_clusterrestoretriggers.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,9 +162,15 @@ spec:
162162
id:
163163
description: ID of the resource in the Console API.
164164
type: string
165+
readonly:
166+
default: false
167+
description: ReadOnly indicates whether the resource is read-only.
168+
type: boolean
165169
sha:
166170
description: SHA of last applied configuration.
167171
type: string
172+
required:
173+
- readonly
168174
type: object
169175
type: object
170176
served: true

charts/controller/crds/deployments.plural.sh_clusters.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ spec:
2323
jsonPath: .status.id
2424
name: Id
2525
type: string
26+
- description: Flag indicating if the object is read-only
27+
jsonPath: .status.readonly
28+
name: READONLY
29+
type: boolean
2630
name: v1alpha1
2731
schema:
2832
openAPIV3Schema:
@@ -507,9 +511,15 @@ spec:
507511
description: PingedAt contains the timestamp of the last successful
508512
cluster health check.
509513
type: string
514+
readonly:
515+
default: false
516+
description: ReadOnly indicates whether the resource is read-only.
517+
type: boolean
510518
sha:
511519
description: SHA of last applied configuration.
512520
type: string
521+
required:
522+
- readonly
513523
type: object
514524
type: object
515525
served: true

charts/controller/crds/deployments.plural.sh_clustersyncs.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,15 @@ spec:
298298
id:
299299
description: ID of the resource in the Console API.
300300
type: string
301+
readonly:
302+
default: false
303+
description: ReadOnly indicates whether the resource is read-only.
304+
type: boolean
301305
sha:
302306
description: SHA of last applied configuration.
303307
type: string
308+
required:
309+
- readonly
304310
type: object
305311
type: object
306312
served: true

0 commit comments

Comments
 (0)