Skip to content

Commit beda01c

Browse files
authored
Remove model-approval-status read-only from generator.yaml (#103)
Description of changes: Remove model-approval-status as a read-only field it is not a status field, it is a part of the spec, don't need it in both places By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 8a900ff commit beda01c

File tree

7 files changed

+5
-28
lines changed

7 files changed

+5
-28
lines changed
Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
ack_generate_info:
2-
build_date: "2021-09-08T23:29:19Z"
3-
build_hash: 394e8294aabf0b221c35f7a5c7bc7e4e43bc6f10
4-
go_version: go1.16.4 linux/amd64
2+
build_date: "2021-09-09T21:15:15Z"
3+
build_hash: 0de0bd00b8e1b795cd4f1ab6398f78badadb77be
4+
go_version: go1.16.4
55
version: v0.13.2
6-
api_directory_checksum: 48052ad31bd7f3dbf811d81079f7235446af4cfc
6+
api_directory_checksum: 24add693149f092555aa338064f0129184c281d1
77
api_version: v1alpha1
88
aws_sdk_go_version: v1.38.11
99
generator_config_info:
10-
file_checksum: e04a7b170d8910356101a99973c6649672c43dcc
10+
file_checksum: b665c78d02f4ede0a1add8215f949f95c80621da
1111
original_file_name: generator.yaml
1212
last_modification:
1313
reason: API generation
14-
timestamp: 2021-09-08 23:29:23.748204026 +0000 UTC

apis/v1alpha1/generator.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -528,10 +528,6 @@ resources:
528528
operation: DescribeModelPackage
529529
path: ModelPackageStatusDetails
530530
ModelApprovalStatus:
531-
is_read_only: true
532-
from:
533-
operation: DescribeModelPackage
534-
path: ModelApprovalStatus
535531
late_initialize:
536532
min_backoff_seconds: 5
537533
LastModifiedTime:

apis/v1alpha1/model_package.go

Lines changed: 0 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apis/v1alpha1/zz_generated.deepcopy.go

Lines changed: 0 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config/crd/bases/sagemaker.services.k8s.aws_modelpackages.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,9 +386,6 @@ spec:
386386
description: The last time the model package was modified.
387387
format: date-time
388388
type: string
389-
modelApprovalStatus:
390-
description: The approval status of the model package.
391-
type: string
392389
modelPackageStatus:
393390
description: The current status of the model package.
394391
type: string

generator.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -528,10 +528,6 @@ resources:
528528
operation: DescribeModelPackage
529529
path: ModelPackageStatusDetails
530530
ModelApprovalStatus:
531-
is_read_only: true
532-
from:
533-
operation: DescribeModelPackage
534-
path: ModelApprovalStatus
535531
late_initialize:
536532
min_backoff_seconds: 5
537533
LastModifiedTime:

helm/crds/sagemaker.services.k8s.aws_modelpackages.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -386,9 +386,6 @@ spec:
386386
description: The last time the model package was modified.
387387
format: date-time
388388
type: string
389-
modelApprovalStatus:
390-
description: The approval status of the model package.
391-
type: string
392389
modelPackageStatus:
393390
description: The current status of the model package.
394391
type: string

0 commit comments

Comments
 (0)