Skip to content

Commit 75d45d7

Browse files
yoshi-automationsofisl
authored andcommitted
fix(gkehub): update the API
#### gkehub:v1alpha The following keys were changed: - schemas.CommonFeatureSpec.description - schemas.CommonFeatureState.description - schemas.CommonFeatureState.properties.state.description - schemas.ConfigManagementMembershipSpec.properties.hierarchyController.description - schemas.Feature.description - schemas.Feature.properties.spec.description - schemas.Feature.properties.state.description - schemas.FeatureResourceState.description - schemas.FeatureResourceState.properties.state.enumDescriptions - schemas.MembershipFeatureSpec.description - schemas.ServiceMeshCondition.properties.code.enum - schemas.ServiceMeshCondition.properties.code.enumDescriptions #### gkehub:v1beta The following keys were changed: - schemas.CommonFeatureSpec.description - schemas.CommonFeatureState.description - schemas.CommonFeatureState.properties.state.description - schemas.ConfigManagementMembershipSpec.properties.hierarchyController.description - schemas.Feature.description - schemas.Feature.properties.spec.description - schemas.Feature.properties.state.description - schemas.FeatureResourceState.description - schemas.FeatureResourceState.properties.state.enumDescriptions - schemas.MembershipFeatureSpec.description - schemas.ServiceMeshCondition.properties.code.enum - schemas.ServiceMeshCondition.properties.code.enumDescriptions #### gkehub:v1 The following keys were changed: - schemas.CommonFeatureSpec.description - schemas.CommonFeatureState.description - schemas.CommonFeatureState.properties.state.description - schemas.ConfigManagementMembershipSpec.properties.hierarchyController.description - schemas.Feature.description - schemas.Feature.properties.spec.description - schemas.Feature.properties.state.description - schemas.FeatureResourceState.description - schemas.FeatureResourceState.properties.state.enumDescriptions - schemas.MembershipFeatureSpec.description - schemas.ServiceMeshCondition.properties.code.enum - schemas.ServiceMeshCondition.properties.code.enumDescriptions
1 parent b6ef740 commit 75d45d7

File tree

9 files changed

+1277
-66
lines changed

9 files changed

+1277
-66
lines changed

discovery/gkehub-v1.json

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2111,7 +2111,7 @@
21112111
}
21122112
}
21132113
},
2114-
"revision": "20240809",
2114+
"revision": "20240815",
21152115
"rootUrl": "https://gkehub.googleapis.com/",
21162116
"schemas": {
21172117
"AppDevExperienceFeatureSpec": {
@@ -2520,7 +2520,7 @@
25202520
"type": "object"
25212521
},
25222522
"CommonFeatureSpec": {
2523-
"description": "CommonFeatureSpec contains Hub-wide configuration information",
2523+
"description": "CommonFeatureSpec contains Fleet-wide configuration information",
25242524
"id": "CommonFeatureSpec",
25252525
"properties": {
25262526
"appdevexperience": {
@@ -2547,7 +2547,7 @@
25472547
"type": "object"
25482548
},
25492549
"CommonFeatureState": {
2550-
"description": "CommonFeatureState contains Hub-wide Feature status information.",
2550+
"description": "CommonFeatureState contains Fleet-wide Feature status information.",
25512551
"id": "CommonFeatureState",
25522552
"properties": {
25532553
"appdevexperience": {
@@ -2564,7 +2564,7 @@
25642564
},
25652565
"state": {
25662566
"$ref": "FeatureState",
2567-
"description": "Output only. The \"running state\" of the Feature in this Hub.",
2567+
"description": "Output only. The \"running state\" of the Feature in this Fleet.",
25682568
"readOnly": true
25692569
}
25702570
},
@@ -3230,7 +3230,7 @@
32303230
},
32313231
"hierarchyController": {
32323232
"$ref": "ConfigManagementHierarchyControllerConfig",
3233-
"description": "Hierarchy Controller configuration for the cluster."
3233+
"description": "Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead."
32343234
},
32353235
"management": {
32363236
"description": "Enables automatic Feature management.",
@@ -3649,7 +3649,7 @@
36493649
"type": "object"
36503650
},
36513651
"Feature": {
3652-
"description": "Feature represents the settings and status of any Hub Feature.",
3652+
"description": "Feature represents the settings and status of any Fleet Feature.",
36533653
"id": "Feature",
36543654
"properties": {
36553655
"createTime": {
@@ -3717,11 +3717,11 @@
37173717
},
37183718
"spec": {
37193719
"$ref": "CommonFeatureSpec",
3720-
"description": "Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused."
3720+
"description": "Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused."
37213721
},
37223722
"state": {
37233723
"$ref": "CommonFeatureState",
3724-
"description": "Output only. The Hub-wide Feature state.",
3724+
"description": "Output only. The Fleet-wide Feature state.",
37253725
"readOnly": true
37263726
},
37273727
"unreachable": {
@@ -3742,7 +3742,7 @@
37423742
"type": "object"
37433743
},
37443744
"FeatureResourceState": {
3745-
"description": "FeatureResourceState describes the state of a Feature *resource* in the GkeHub API. See `FeatureState` for the \"running state\" of the Feature in the Hub and across Memberships.",
3745+
"description": "FeatureResourceState describes the state of a Feature *resource* in the GkeHub API. See `FeatureState` for the \"running state\" of the Feature in the Fleet and across Memberships.",
37463746
"id": "FeatureResourceState",
37473747
"properties": {
37483748
"state": {
@@ -3757,9 +3757,9 @@
37573757
],
37583758
"enumDescriptions": [
37593759
"State is unknown or not set.",
3760-
"The Feature is being enabled, and the Feature resource is being created. Once complete, the corresponding Feature will be enabled in this Hub.",
3761-
"The Feature is enabled in this Hub, and the Feature resource is fully available.",
3762-
"The Feature is being disabled in this Hub, and the Feature resource is being deleted.",
3760+
"The Feature is being enabled, and the Feature resource is being created. Once complete, the corresponding Feature will be enabled in this Fleet.",
3761+
"The Feature is enabled in this Fleet, and the Feature resource is fully available.",
3762+
"The Feature is being disabled in this Fleet, and the Feature resource is being deleted.",
37633763
"The Feature resource is being updated.",
37643764
"The Feature resource is being updated by the Hub Service."
37653765
],
@@ -5007,7 +5007,7 @@
50075007
"type": "object"
50085008
},
50095009
"MembershipFeatureSpec": {
5010-
"description": "MembershipFeatureSpec contains configuration information for a single Membership. NOTE: Please use snake case in your feature name.",
5010+
"description": "MembershipFeatureSpec contains configuration information for a single Membership.",
50115011
"id": "MembershipFeatureSpec",
50125012
"properties": {
50135013
"configmanagement": {
@@ -6074,6 +6074,7 @@
60746074
"enum": [
60756075
"CODE_UNSPECIFIED",
60766076
"MESH_IAM_PERMISSION_DENIED",
6077+
"MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED",
60776078
"CNI_CONFIG_UNSUPPORTED",
60786079
"GKE_SANDBOX_UNSUPPORTED",
60796080
"NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED",
@@ -6103,6 +6104,7 @@
61036104
"enumDescriptions": [
61046105
"Default Unspecified code",
61056106
"Mesh IAM permission denied error code",
6107+
"Permission denied error code for cross-project",
61066108
"CNI config unsupported error code",
61076109
"GKE sandbox unsupported error code",
61086110
"Nodepool workload identity federation required error code",

discovery/gkehub-v1alpha.json

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2185,7 +2185,7 @@
21852185
}
21862186
}
21872187
},
2188-
"revision": "20240809",
2188+
"revision": "20240815",
21892189
"rootUrl": "https://gkehub.googleapis.com/",
21902190
"schemas": {
21912191
"AnthosObservabilityFeatureSpec": {
@@ -2720,7 +2720,7 @@
27202720
"type": "object"
27212721
},
27222722
"CommonFeatureSpec": {
2723-
"description": "CommonFeatureSpec contains Hub-wide configuration information",
2723+
"description": "CommonFeatureSpec contains Fleet-wide configuration information",
27242724
"id": "CommonFeatureSpec",
27252725
"properties": {
27262726
"anthosobservability": {
@@ -2763,7 +2763,7 @@
27632763
"type": "object"
27642764
},
27652765
"CommonFeatureState": {
2766-
"description": "CommonFeatureState contains Hub-wide Feature status information.",
2766+
"description": "CommonFeatureState contains Fleet-wide Feature status information.",
27672767
"id": "CommonFeatureState",
27682768
"properties": {
27692769
"appdevexperience": {
@@ -2788,7 +2788,7 @@
27882788
},
27892789
"state": {
27902790
"$ref": "FeatureState",
2791-
"description": "Output only. The \"running state\" of the Feature in this Hub.",
2791+
"description": "Output only. The \"running state\" of the Feature in this Fleet.",
27922792
"readOnly": true
27932793
}
27942794
},
@@ -3510,7 +3510,7 @@
35103510
},
35113511
"hierarchyController": {
35123512
"$ref": "ConfigManagementHierarchyControllerConfig",
3513-
"description": "Hierarchy Controller configuration for the cluster."
3513+
"description": "Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead."
35143514
},
35153515
"management": {
35163516
"description": "Enables automatic Feature management.",
@@ -3933,7 +3933,7 @@
39333933
"type": "object"
39343934
},
39353935
"Feature": {
3936-
"description": "Feature represents the settings and status of any Hub Feature.",
3936+
"description": "Feature represents the settings and status of any Fleet Feature.",
39373937
"id": "Feature",
39383938
"properties": {
39393939
"createTime": {
@@ -4001,11 +4001,11 @@
40014001
},
40024002
"spec": {
40034003
"$ref": "CommonFeatureSpec",
4004-
"description": "Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused."
4004+
"description": "Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused."
40054005
},
40064006
"state": {
40074007
"$ref": "CommonFeatureState",
4008-
"description": "Output only. The Hub-wide Feature state.",
4008+
"description": "Output only. The Fleet-wide Feature state.",
40094009
"readOnly": true
40104010
},
40114011
"unreachable": {
@@ -4026,7 +4026,7 @@
40264026
"type": "object"
40274027
},
40284028
"FeatureResourceState": {
4029-
"description": "FeatureResourceState describes the state of a Feature *resource* in the GkeHub API. See `FeatureState` for the \"running state\" of the Feature in the Hub and across Memberships.",
4029+
"description": "FeatureResourceState describes the state of a Feature *resource* in the GkeHub API. See `FeatureState` for the \"running state\" of the Feature in the Fleet and across Memberships.",
40304030
"id": "FeatureResourceState",
40314031
"properties": {
40324032
"state": {
@@ -4041,9 +4041,9 @@
40414041
],
40424042
"enumDescriptions": [
40434043
"State is unknown or not set.",
4044-
"The Feature is being enabled, and the Feature resource is being created. Once complete, the corresponding Feature will be enabled in this Hub.",
4045-
"The Feature is enabled in this Hub, and the Feature resource is fully available.",
4046-
"The Feature is being disabled in this Hub, and the Feature resource is being deleted.",
4044+
"The Feature is being enabled, and the Feature resource is being created. Once complete, the corresponding Feature will be enabled in this Fleet.",
4045+
"The Feature is enabled in this Fleet, and the Feature resource is fully available.",
4046+
"The Feature is being disabled in this Fleet, and the Feature resource is being deleted.",
40474047
"The Feature resource is being updated.",
40484048
"The Feature resource is being updated by the Hub Service."
40494049
],
@@ -5345,7 +5345,7 @@
53455345
"type": "object"
53465346
},
53475347
"MembershipFeatureSpec": {
5348-
"description": "MembershipFeatureSpec contains configuration information for a single Membership. NOTE: Please use snake case in your feature name.",
5348+
"description": "MembershipFeatureSpec contains configuration information for a single Membership.",
53495349
"id": "MembershipFeatureSpec",
53505350
"properties": {
53515351
"anthosobservability": {
@@ -6598,6 +6598,7 @@
65986598
"enum": [
65996599
"CODE_UNSPECIFIED",
66006600
"MESH_IAM_PERMISSION_DENIED",
6601+
"MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED",
66016602
"CNI_CONFIG_UNSUPPORTED",
66026603
"GKE_SANDBOX_UNSUPPORTED",
66036604
"NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED",
@@ -6627,6 +6628,7 @@
66276628
"enumDescriptions": [
66286629
"Default Unspecified code",
66296630
"Mesh IAM permission denied error code",
6631+
"Permission denied error code for cross-project",
66306632
"CNI config unsupported error code",
66316633
"GKE sandbox unsupported error code",
66326634
"Nodepool workload identity federation required error code",

discovery/gkehub-v1beta.json

Lines changed: 15 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2111,7 +2111,7 @@
21112111
}
21122112
}
21132113
},
2114-
"revision": "20240809",
2114+
"revision": "20240815",
21152115
"rootUrl": "https://gkehub.googleapis.com/",
21162116
"schemas": {
21172117
"AnthosObservabilityFeatureSpec": {
@@ -2550,7 +2550,7 @@
25502550
"type": "object"
25512551
},
25522552
"CommonFeatureSpec": {
2553-
"description": "CommonFeatureSpec contains Hub-wide configuration information",
2553+
"description": "CommonFeatureSpec contains Fleet-wide configuration information",
25542554
"id": "CommonFeatureSpec",
25552555
"properties": {
25562556
"anthosobservability": {
@@ -2581,7 +2581,7 @@
25812581
"type": "object"
25822582
},
25832583
"CommonFeatureState": {
2584-
"description": "CommonFeatureState contains Hub-wide Feature status information.",
2584+
"description": "CommonFeatureState contains Fleet-wide Feature status information.",
25852585
"id": "CommonFeatureState",
25862586
"properties": {
25872587
"appdevexperience": {
@@ -2598,7 +2598,7 @@
25982598
},
25992599
"state": {
26002600
"$ref": "FeatureState",
2601-
"description": "Output only. The \"running state\" of the Feature in this Hub.",
2601+
"description": "Output only. The \"running state\" of the Feature in this Fleet.",
26022602
"readOnly": true
26032603
}
26042604
},
@@ -3320,7 +3320,7 @@
33203320
},
33213321
"hierarchyController": {
33223322
"$ref": "ConfigManagementHierarchyControllerConfig",
3323-
"description": "Hierarchy Controller configuration for the cluster."
3323+
"description": "Hierarchy Controller configuration for the cluster. Deprecated: Configuring Hierarchy Controller through the configmanagement feature is no longer recommended. Use https://github.com/kubernetes-sigs/hierarchical-namespaces instead."
33243324
},
33253325
"management": {
33263326
"description": "Enables automatic Feature management.",
@@ -3743,7 +3743,7 @@
37433743
"type": "object"
37443744
},
37453745
"Feature": {
3746-
"description": "Feature represents the settings and status of any Hub Feature.",
3746+
"description": "Feature represents the settings and status of any Fleet Feature.",
37473747
"id": "Feature",
37483748
"properties": {
37493749
"createTime": {
@@ -3811,11 +3811,11 @@
38113811
},
38123812
"spec": {
38133813
"$ref": "CommonFeatureSpec",
3814-
"description": "Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused."
3814+
"description": "Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused."
38153815
},
38163816
"state": {
38173817
"$ref": "CommonFeatureState",
3818-
"description": "Output only. The Hub-wide Feature state.",
3818+
"description": "Output only. The Fleet-wide Feature state.",
38193819
"readOnly": true
38203820
},
38213821
"unreachable": {
@@ -3836,7 +3836,7 @@
38363836
"type": "object"
38373837
},
38383838
"FeatureResourceState": {
3839-
"description": "FeatureResourceState describes the state of a Feature *resource* in the GkeHub API. See `FeatureState` for the \"running state\" of the Feature in the Hub and across Memberships.",
3839+
"description": "FeatureResourceState describes the state of a Feature *resource* in the GkeHub API. See `FeatureState` for the \"running state\" of the Feature in the Fleet and across Memberships.",
38403840
"id": "FeatureResourceState",
38413841
"properties": {
38423842
"state": {
@@ -3851,9 +3851,9 @@
38513851
],
38523852
"enumDescriptions": [
38533853
"State is unknown or not set.",
3854-
"The Feature is being enabled, and the Feature resource is being created. Once complete, the corresponding Feature will be enabled in this Hub.",
3855-
"The Feature is enabled in this Hub, and the Feature resource is fully available.",
3856-
"The Feature is being disabled in this Hub, and the Feature resource is being deleted.",
3854+
"The Feature is being enabled, and the Feature resource is being created. Once complete, the corresponding Feature will be enabled in this Fleet.",
3855+
"The Feature is enabled in this Fleet, and the Feature resource is fully available.",
3856+
"The Feature is being disabled in this Fleet, and the Feature resource is being deleted.",
38573857
"The Feature resource is being updated.",
38583858
"The Feature resource is being updated by the Hub Service."
38593859
],
@@ -5101,7 +5101,7 @@
51015101
"type": "object"
51025102
},
51035103
"MembershipFeatureSpec": {
5104-
"description": "MembershipFeatureSpec contains configuration information for a single Membership. NOTE: Please use snake case in your feature name.",
5104+
"description": "MembershipFeatureSpec contains configuration information for a single Membership.",
51055105
"id": "MembershipFeatureSpec",
51065106
"properties": {
51075107
"anthosobservability": {
@@ -6237,6 +6237,7 @@
62376237
"enum": [
62386238
"CODE_UNSPECIFIED",
62396239
"MESH_IAM_PERMISSION_DENIED",
6240+
"MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED",
62406241
"CNI_CONFIG_UNSUPPORTED",
62416242
"GKE_SANDBOX_UNSUPPORTED",
62426243
"NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED",
@@ -6266,6 +6267,7 @@
62666267
"enumDescriptions": [
62676268
"Default Unspecified code",
62686269
"Mesh IAM permission denied error code",
6270+
"Permission denied error code for cross-project",
62696271
"CNI config unsupported error code",
62706272
"GKE sandbox unsupported error code",
62716273
"Nodepool workload identity federation required error code",

0 commit comments

Comments
 (0)