Skip to content

Commit

Permalink
fix(gkehub): update the API
Browse files Browse the repository at this point in the history
#### 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
  • Loading branch information
yoshi-automation authored and sofisl committed Aug 27, 2024
1 parent b6ef740 commit 75d45d7
Show file tree
Hide file tree
Showing 9 changed files with 1,277 additions and 66 deletions.
28 changes: 15 additions & 13 deletions discovery/gkehub-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2111,7 +2111,7 @@
}
}
},
"revision": "20240809",
"revision": "20240815",
"rootUrl": "https://gkehub.googleapis.com/",
"schemas": {
"AppDevExperienceFeatureSpec": {
Expand Down Expand Up @@ -2520,7 +2520,7 @@
"type": "object"
},
"CommonFeatureSpec": {
"description": "CommonFeatureSpec contains Hub-wide configuration information",
"description": "CommonFeatureSpec contains Fleet-wide configuration information",
"id": "CommonFeatureSpec",
"properties": {
"appdevexperience": {
Expand All @@ -2547,7 +2547,7 @@
"type": "object"
},
"CommonFeatureState": {
"description": "CommonFeatureState contains Hub-wide Feature status information.",
"description": "CommonFeatureState contains Fleet-wide Feature status information.",
"id": "CommonFeatureState",
"properties": {
"appdevexperience": {
Expand All @@ -2564,7 +2564,7 @@
},
"state": {
"$ref": "FeatureState",
"description": "Output only. The \"running state\" of the Feature in this Hub.",
"description": "Output only. The \"running state\" of the Feature in this Fleet.",
"readOnly": true
}
},
Expand Down Expand Up @@ -3230,7 +3230,7 @@
},
"hierarchyController": {
"$ref": "ConfigManagementHierarchyControllerConfig",
"description": "Hierarchy Controller configuration for the cluster."
"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."
},
"management": {
"description": "Enables automatic Feature management.",
Expand Down Expand Up @@ -3649,7 +3649,7 @@
"type": "object"
},
"Feature": {
"description": "Feature represents the settings and status of any Hub Feature.",
"description": "Feature represents the settings and status of any Fleet Feature.",
"id": "Feature",
"properties": {
"createTime": {
Expand Down Expand Up @@ -3717,11 +3717,11 @@
},
"spec": {
"$ref": "CommonFeatureSpec",
"description": "Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused."
"description": "Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused."
},
"state": {
"$ref": "CommonFeatureState",
"description": "Output only. The Hub-wide Feature state.",
"description": "Output only. The Fleet-wide Feature state.",
"readOnly": true
},
"unreachable": {
Expand All @@ -3742,7 +3742,7 @@
"type": "object"
},
"FeatureResourceState": {
"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.",
"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.",
"id": "FeatureResourceState",
"properties": {
"state": {
Expand All @@ -3757,9 +3757,9 @@
],
"enumDescriptions": [
"State is unknown or not set.",
"The Feature is being enabled, and the Feature resource is being created. Once complete, the corresponding Feature will be enabled in this Hub.",
"The Feature is enabled in this Hub, and the Feature resource is fully available.",
"The Feature is being disabled in this Hub, and the Feature resource is being deleted.",
"The Feature is being enabled, and the Feature resource is being created. Once complete, the corresponding Feature will be enabled in this Fleet.",
"The Feature is enabled in this Fleet, and the Feature resource is fully available.",
"The Feature is being disabled in this Fleet, and the Feature resource is being deleted.",
"The Feature resource is being updated.",
"The Feature resource is being updated by the Hub Service."
],
Expand Down Expand Up @@ -5007,7 +5007,7 @@
"type": "object"
},
"MembershipFeatureSpec": {
"description": "MembershipFeatureSpec contains configuration information for a single Membership. NOTE: Please use snake case in your feature name.",
"description": "MembershipFeatureSpec contains configuration information for a single Membership.",
"id": "MembershipFeatureSpec",
"properties": {
"configmanagement": {
Expand Down Expand Up @@ -6074,6 +6074,7 @@
"enum": [
"CODE_UNSPECIFIED",
"MESH_IAM_PERMISSION_DENIED",
"MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED",
"CNI_CONFIG_UNSUPPORTED",
"GKE_SANDBOX_UNSUPPORTED",
"NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED",
Expand Down Expand Up @@ -6103,6 +6104,7 @@
"enumDescriptions": [
"Default Unspecified code",
"Mesh IAM permission denied error code",
"Permission denied error code for cross-project",
"CNI config unsupported error code",
"GKE sandbox unsupported error code",
"Nodepool workload identity federation required error code",
Expand Down
28 changes: 15 additions & 13 deletions discovery/gkehub-v1alpha.json
Original file line number Diff line number Diff line change
Expand Up @@ -2185,7 +2185,7 @@
}
}
},
"revision": "20240809",
"revision": "20240815",
"rootUrl": "https://gkehub.googleapis.com/",
"schemas": {
"AnthosObservabilityFeatureSpec": {
Expand Down Expand Up @@ -2720,7 +2720,7 @@
"type": "object"
},
"CommonFeatureSpec": {
"description": "CommonFeatureSpec contains Hub-wide configuration information",
"description": "CommonFeatureSpec contains Fleet-wide configuration information",
"id": "CommonFeatureSpec",
"properties": {
"anthosobservability": {
Expand Down Expand Up @@ -2763,7 +2763,7 @@
"type": "object"
},
"CommonFeatureState": {
"description": "CommonFeatureState contains Hub-wide Feature status information.",
"description": "CommonFeatureState contains Fleet-wide Feature status information.",
"id": "CommonFeatureState",
"properties": {
"appdevexperience": {
Expand All @@ -2788,7 +2788,7 @@
},
"state": {
"$ref": "FeatureState",
"description": "Output only. The \"running state\" of the Feature in this Hub.",
"description": "Output only. The \"running state\" of the Feature in this Fleet.",
"readOnly": true
}
},
Expand Down Expand Up @@ -3510,7 +3510,7 @@
},
"hierarchyController": {
"$ref": "ConfigManagementHierarchyControllerConfig",
"description": "Hierarchy Controller configuration for the cluster."
"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."
},
"management": {
"description": "Enables automatic Feature management.",
Expand Down Expand Up @@ -3933,7 +3933,7 @@
"type": "object"
},
"Feature": {
"description": "Feature represents the settings and status of any Hub Feature.",
"description": "Feature represents the settings and status of any Fleet Feature.",
"id": "Feature",
"properties": {
"createTime": {
Expand Down Expand Up @@ -4001,11 +4001,11 @@
},
"spec": {
"$ref": "CommonFeatureSpec",
"description": "Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused."
"description": "Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused."
},
"state": {
"$ref": "CommonFeatureState",
"description": "Output only. The Hub-wide Feature state.",
"description": "Output only. The Fleet-wide Feature state.",
"readOnly": true
},
"unreachable": {
Expand All @@ -4026,7 +4026,7 @@
"type": "object"
},
"FeatureResourceState": {
"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.",
"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.",
"id": "FeatureResourceState",
"properties": {
"state": {
Expand All @@ -4041,9 +4041,9 @@
],
"enumDescriptions": [
"State is unknown or not set.",
"The Feature is being enabled, and the Feature resource is being created. Once complete, the corresponding Feature will be enabled in this Hub.",
"The Feature is enabled in this Hub, and the Feature resource is fully available.",
"The Feature is being disabled in this Hub, and the Feature resource is being deleted.",
"The Feature is being enabled, and the Feature resource is being created. Once complete, the corresponding Feature will be enabled in this Fleet.",
"The Feature is enabled in this Fleet, and the Feature resource is fully available.",
"The Feature is being disabled in this Fleet, and the Feature resource is being deleted.",
"The Feature resource is being updated.",
"The Feature resource is being updated by the Hub Service."
],
Expand Down Expand Up @@ -5345,7 +5345,7 @@
"type": "object"
},
"MembershipFeatureSpec": {
"description": "MembershipFeatureSpec contains configuration information for a single Membership. NOTE: Please use snake case in your feature name.",
"description": "MembershipFeatureSpec contains configuration information for a single Membership.",
"id": "MembershipFeatureSpec",
"properties": {
"anthosobservability": {
Expand Down Expand Up @@ -6598,6 +6598,7 @@
"enum": [
"CODE_UNSPECIFIED",
"MESH_IAM_PERMISSION_DENIED",
"MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED",
"CNI_CONFIG_UNSUPPORTED",
"GKE_SANDBOX_UNSUPPORTED",
"NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED",
Expand Down Expand Up @@ -6627,6 +6628,7 @@
"enumDescriptions": [
"Default Unspecified code",
"Mesh IAM permission denied error code",
"Permission denied error code for cross-project",
"CNI config unsupported error code",
"GKE sandbox unsupported error code",
"Nodepool workload identity federation required error code",
Expand Down
28 changes: 15 additions & 13 deletions discovery/gkehub-v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2111,7 +2111,7 @@
}
}
},
"revision": "20240809",
"revision": "20240815",
"rootUrl": "https://gkehub.googleapis.com/",
"schemas": {
"AnthosObservabilityFeatureSpec": {
Expand Down Expand Up @@ -2550,7 +2550,7 @@
"type": "object"
},
"CommonFeatureSpec": {
"description": "CommonFeatureSpec contains Hub-wide configuration information",
"description": "CommonFeatureSpec contains Fleet-wide configuration information",
"id": "CommonFeatureSpec",
"properties": {
"anthosobservability": {
Expand Down Expand Up @@ -2581,7 +2581,7 @@
"type": "object"
},
"CommonFeatureState": {
"description": "CommonFeatureState contains Hub-wide Feature status information.",
"description": "CommonFeatureState contains Fleet-wide Feature status information.",
"id": "CommonFeatureState",
"properties": {
"appdevexperience": {
Expand All @@ -2598,7 +2598,7 @@
},
"state": {
"$ref": "FeatureState",
"description": "Output only. The \"running state\" of the Feature in this Hub.",
"description": "Output only. The \"running state\" of the Feature in this Fleet.",
"readOnly": true
}
},
Expand Down Expand Up @@ -3320,7 +3320,7 @@
},
"hierarchyController": {
"$ref": "ConfigManagementHierarchyControllerConfig",
"description": "Hierarchy Controller configuration for the cluster."
"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."
},
"management": {
"description": "Enables automatic Feature management.",
Expand Down Expand Up @@ -3743,7 +3743,7 @@
"type": "object"
},
"Feature": {
"description": "Feature represents the settings and status of any Hub Feature.",
"description": "Feature represents the settings and status of any Fleet Feature.",
"id": "Feature",
"properties": {
"createTime": {
Expand Down Expand Up @@ -3811,11 +3811,11 @@
},
"spec": {
"$ref": "CommonFeatureSpec",
"description": "Optional. Hub-wide Feature configuration. If this Feature does not support any Hub-wide configuration, this field may be unused."
"description": "Optional. Fleet-wide Feature configuration. If this Feature does not support any Fleet-wide configuration, this field may be unused."
},
"state": {
"$ref": "CommonFeatureState",
"description": "Output only. The Hub-wide Feature state.",
"description": "Output only. The Fleet-wide Feature state.",
"readOnly": true
},
"unreachable": {
Expand All @@ -3836,7 +3836,7 @@
"type": "object"
},
"FeatureResourceState": {
"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.",
"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.",
"id": "FeatureResourceState",
"properties": {
"state": {
Expand All @@ -3851,9 +3851,9 @@
],
"enumDescriptions": [
"State is unknown or not set.",
"The Feature is being enabled, and the Feature resource is being created. Once complete, the corresponding Feature will be enabled in this Hub.",
"The Feature is enabled in this Hub, and the Feature resource is fully available.",
"The Feature is being disabled in this Hub, and the Feature resource is being deleted.",
"The Feature is being enabled, and the Feature resource is being created. Once complete, the corresponding Feature will be enabled in this Fleet.",
"The Feature is enabled in this Fleet, and the Feature resource is fully available.",
"The Feature is being disabled in this Fleet, and the Feature resource is being deleted.",
"The Feature resource is being updated.",
"The Feature resource is being updated by the Hub Service."
],
Expand Down Expand Up @@ -5101,7 +5101,7 @@
"type": "object"
},
"MembershipFeatureSpec": {
"description": "MembershipFeatureSpec contains configuration information for a single Membership. NOTE: Please use snake case in your feature name.",
"description": "MembershipFeatureSpec contains configuration information for a single Membership.",
"id": "MembershipFeatureSpec",
"properties": {
"anthosobservability": {
Expand Down Expand Up @@ -6237,6 +6237,7 @@
"enum": [
"CODE_UNSPECIFIED",
"MESH_IAM_PERMISSION_DENIED",
"MESH_IAM_CROSS_PROJECT_PERMISSION_DENIED",
"CNI_CONFIG_UNSUPPORTED",
"GKE_SANDBOX_UNSUPPORTED",
"NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED",
Expand Down Expand Up @@ -6266,6 +6267,7 @@
"enumDescriptions": [
"Default Unspecified code",
"Mesh IAM permission denied error code",
"Permission denied error code for cross-project",
"CNI config unsupported error code",
"GKE sandbox unsupported error code",
"Nodepool workload identity federation required error code",
Expand Down
Loading

0 comments on commit 75d45d7

Please sign in to comment.