Skip to content

Commit

Permalink
feat(gkehub): update the API
Browse files Browse the repository at this point in the history
#### gkehub:v1alpha

The following keys were added:
- schemas.IdentityServiceIdentityServiceOptions.description
- schemas.IdentityServiceIdentityServiceOptions.id
- schemas.IdentityServiceIdentityServiceOptions.properties.sessionDuration.description
- schemas.IdentityServiceIdentityServiceOptions.properties.sessionDuration.format
- schemas.IdentityServiceIdentityServiceOptions.properties.sessionDuration.type
- schemas.IdentityServiceIdentityServiceOptions.type
- schemas.IdentityServiceMembershipSpec.properties.identityServiceOptions.$ref
- schemas.IdentityServiceMembershipSpec.properties.identityServiceOptions.description
- schemas.ServiceMeshCondition.description
- schemas.ServiceMeshCondition.id
- schemas.ServiceMeshCondition.properties.code.description
- schemas.ServiceMeshCondition.properties.code.enum
- schemas.ServiceMeshCondition.properties.code.enumDescriptions
- schemas.ServiceMeshCondition.properties.code.type
- schemas.ServiceMeshCondition.properties.details.description
- schemas.ServiceMeshCondition.properties.details.type
- schemas.ServiceMeshCondition.properties.documentationLink.description
- schemas.ServiceMeshCondition.properties.documentationLink.type
- schemas.ServiceMeshCondition.properties.severity.description
- schemas.ServiceMeshCondition.properties.severity.enum
- schemas.ServiceMeshCondition.properties.severity.enumDescriptions
- schemas.ServiceMeshCondition.properties.severity.type
- schemas.ServiceMeshCondition.type
- schemas.ServiceMeshControlPlaneManagement.properties.implementation.description
- schemas.ServiceMeshControlPlaneManagement.properties.implementation.enum
- schemas.ServiceMeshControlPlaneManagement.properties.implementation.enumDescriptions
- schemas.ServiceMeshControlPlaneManagement.properties.implementation.readOnly
- schemas.ServiceMeshControlPlaneManagement.properties.implementation.type
- schemas.ServiceMeshMembershipState.properties.conditions.description
- schemas.ServiceMeshMembershipState.properties.conditions.items.$ref
- schemas.ServiceMeshMembershipState.properties.conditions.readOnly
- schemas.ServiceMeshMembershipState.properties.conditions.type

#### gkehub:v1beta

The following keys were added:
- schemas.ServiceMeshCondition.description
- schemas.ServiceMeshCondition.id
- schemas.ServiceMeshCondition.properties.code.description
- schemas.ServiceMeshCondition.properties.code.enum
- schemas.ServiceMeshCondition.properties.code.enumDescriptions
- schemas.ServiceMeshCondition.properties.code.type
- schemas.ServiceMeshCondition.properties.details.description
- schemas.ServiceMeshCondition.properties.details.type
- schemas.ServiceMeshCondition.properties.documentationLink.description
- schemas.ServiceMeshCondition.properties.documentationLink.type
- schemas.ServiceMeshCondition.properties.severity.description
- schemas.ServiceMeshCondition.properties.severity.enum
- schemas.ServiceMeshCondition.properties.severity.enumDescriptions
- schemas.ServiceMeshCondition.properties.severity.type
- schemas.ServiceMeshCondition.type
- schemas.ServiceMeshMembershipState.properties.conditions.description
- schemas.ServiceMeshMembershipState.properties.conditions.items.$ref
- schemas.ServiceMeshMembershipState.properties.conditions.readOnly
- schemas.ServiceMeshMembershipState.properties.conditions.type

#### gkehub:v1

The following keys were added:
- schemas.ServiceMeshCondition.description
- schemas.ServiceMeshCondition.id
- schemas.ServiceMeshCondition.properties.code.description
- schemas.ServiceMeshCondition.properties.code.enum
- schemas.ServiceMeshCondition.properties.code.enumDescriptions
- schemas.ServiceMeshCondition.properties.code.type
- schemas.ServiceMeshCondition.properties.details.description
- schemas.ServiceMeshCondition.properties.details.type
- schemas.ServiceMeshCondition.properties.documentationLink.description
- schemas.ServiceMeshCondition.properties.documentationLink.type
- schemas.ServiceMeshCondition.properties.severity.description
- schemas.ServiceMeshCondition.properties.severity.enum
- schemas.ServiceMeshCondition.properties.severity.enumDescriptions
- schemas.ServiceMeshCondition.properties.severity.type
- schemas.ServiceMeshCondition.type
- schemas.ServiceMeshMembershipState.properties.conditions.description
- schemas.ServiceMeshMembershipState.properties.conditions.items.$ref
- schemas.ServiceMeshMembershipState.properties.conditions.readOnly
- schemas.ServiceMeshMembershipState.properties.conditions.type
  • Loading branch information
yoshi-automation authored and sofisl committed May 2, 2024
1 parent e90fb98 commit d4c3244
Show file tree
Hide file tree
Showing 8 changed files with 557 additions and 3 deletions.
67 changes: 66 additions & 1 deletion discovery/gkehub-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1911,7 +1911,7 @@
}
}
},
"revision": "20240318",
"revision": "20240419",
"rootUrl": "https://gkehub.googleapis.com/",
"schemas": {
"AppDevExperienceFeatureSpec": {
Expand Down Expand Up @@ -5710,6 +5710,63 @@
},
"type": "object"
},
"ServiceMeshCondition": {
"description": "Condition being reported.",
"id": "ServiceMeshCondition",
"properties": {
"code": {
"description": "Unique identifier of the condition which describes the condition recognizable to the user.",
"enum": [
"CODE_UNSPECIFIED",
"MESH_IAM_PERMISSION_DENIED",
"CNI_CONFIG_UNSUPPORTED",
"GKE_SANDBOX_UNSUPPORTED",
"NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED",
"CNI_INSTALLATION_FAILED",
"CNI_POD_UNSCHEDULABLE",
"UNSUPPORTED_MULTIPLE_CONTROL_PLANES",
"VPCSC_GA_SUPPORTED"
],
"enumDescriptions": [
"Default Unspecified code",
"Mesh IAM permission denied error code",
"CNI config unsupported error code",
"GKE sandbox unsupported error code",
"Nodepool workload identity federation required error code",
"CNI installation failed error code",
"CNI pod unschedulable error code",
"Multiple control planes unsupported error code",
"VPC-SC GA is supported for this control plane."
],
"type": "string"
},
"details": {
"description": "A short summary about the issue.",
"type": "string"
},
"documentationLink": {
"description": "Links contains actionable information.",
"type": "string"
},
"severity": {
"description": "Severity level of the condition.",
"enum": [
"SEVERITY_UNSPECIFIED",
"ERROR",
"WARNING",
"INFO"
],
"enumDescriptions": [
"Unspecified severity",
"Indicates an issue that prevents the mesh from operating correctly",
"Indicates a setting is likely wrong, but the mesh is still able to operate",
"An informational message, not requiring any action"
],
"type": "string"
}
},
"type": "object"
},
"ServiceMeshControlPlaneManagement": {
"description": "Status of control plane management.",
"id": "ServiceMeshControlPlaneManagement",
Expand Down Expand Up @@ -5826,6 +5883,14 @@
"description": "**Service Mesh**: State for a single Membership, as analyzed by the Service Mesh Hub Controller.",
"id": "ServiceMeshMembershipState",
"properties": {
"conditions": {
"description": "Output only. List of conditions reported for this membership.",
"items": {
"$ref": "ServiceMeshCondition"
},
"readOnly": true,
"type": "array"
},
"controlPlaneManagement": {
"$ref": "ServiceMeshControlPlaneManagement",
"description": "Output only. Status of control plane management",
Expand Down
136 changes: 135 additions & 1 deletion discovery/gkehub-v1alpha.json
Original file line number Diff line number Diff line change
Expand Up @@ -2175,7 +2175,7 @@
}
}
},
"revision": "20240318",
"revision": "20240428",
"rootUrl": "https://gkehub.googleapis.com/",
"schemas": {
"AnthosObservabilityFeatureSpec": {
Expand Down Expand Up @@ -4403,6 +4403,18 @@
},
"type": "object"
},
"IdentityServiceIdentityServiceOptions": {
"description": "Holds non-protocol-related configuration options.",
"id": "IdentityServiceIdentityServiceOptions",
"properties": {
"sessionDuration": {
"description": "Optional. Determines the lifespan of STS tokens issued by Anthos Identity Service.",
"format": "google-duration",
"type": "string"
}
},
"type": "object"
},
"IdentityServiceLdapConfig": {
"description": "Configuration for the LDAP Auth flow.",
"id": "IdentityServiceLdapConfig",
Expand Down Expand Up @@ -4436,6 +4448,10 @@
"$ref": "IdentityServiceAuthMethod"
},
"type": "array"
},
"identityServiceOptions": {
"$ref": "IdentityServiceIdentityServiceOptions",
"description": "Optional. non-protocol-related configuration options."
}
},
"type": "object"
Expand Down Expand Up @@ -6453,6 +6469,99 @@
},
"type": "object"
},
"ServiceMeshCondition": {
"description": "Condition being reported.",
"id": "ServiceMeshCondition",
"properties": {
"code": {
"description": "Unique identifier of the condition which describes the condition recognizable to the user.",
"enum": [
"CODE_UNSPECIFIED",
"MESH_IAM_PERMISSION_DENIED",
"CNI_CONFIG_UNSUPPORTED",
"GKE_SANDBOX_UNSUPPORTED",
"NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED",
"CNI_INSTALLATION_FAILED",
"CNI_POD_UNSCHEDULABLE",
"UNSUPPORTED_MULTIPLE_CONTROL_PLANES",
"VPCSC_GA_SUPPORTED",
"CONFIG_APPLY_INTERNAL_ERROR",
"CONFIG_VALIDATION_ERROR",
"CONFIG_VALIDATION_WARNING",
"QUOTA_EXCEEDED_BACKEND_SERVICES",
"QUOTA_EXCEEDED_HEALTH_CHECKS",
"QUOTA_EXCEEDED_HTTP_ROUTES",
"QUOTA_EXCEEDED_TCP_ROUTES",
"QUOTA_EXCEEDED_TLS_ROUTES",
"QUOTA_EXCEEDED_TRAFFIC_POLICIES",
"QUOTA_EXCEEDED_ENDPOINT_POLICIES",
"QUOTA_EXCEEDED_GATEWAYS",
"QUOTA_EXCEEDED_MESHES",
"QUOTA_EXCEEDED_SERVER_TLS_POLICIES",
"QUOTA_EXCEEDED_CLIENT_TLS_POLICIES",
"QUOTA_EXCEEDED_SERVICE_LB_POLICIES",
"QUOTA_EXCEEDED_HTTP_FILTERS",
"QUOTA_EXCEEDED_TCP_FILTERS",
"QUOTA_EXCEEDED_NETWORK_ENDPOINT_GROUPS"
],
"enumDescriptions": [
"Default Unspecified code",
"Mesh IAM permission denied error code",
"CNI config unsupported error code",
"GKE sandbox unsupported error code",
"Nodepool workload identity federation required error code",
"CNI installation failed error code",
"CNI pod unschedulable error code",
"Multiple control planes unsupported error code",
"VPC-SC GA is supported for this control plane.",
"Configuration (Istio/k8s resources) failed to apply due to internal error.",
"Configuration failed to be applied due to being invalid.",
"Encountered configuration(s) with possible unintended behavior or invalid configuration. These configs may not have been applied.",
"BackendService quota exceeded error code.",
"HealthCheck quota exceeded error code.",
"HTTPRoute quota exceeded error code.",
"TCPRoute quota exceeded error code.",
"TLS routes quota exceeded error code.",
"TrafficPolicy quota exceeded error code.",
"EndpointPolicy quota exceeded error code.",
"Gateway quota exceeded error code.",
"Mesh quota exceeded error code.",
"ServerTLSPolicy quota exceeded error code.",
"ClientTLSPolicy quota exceeded error code.",
"ServiceLBPolicy quota exceeded error code.",
"HTTPFilter quota exceeded error code.",
"TCPFilter quota exceeded error code.",
"NetworkEndpointGroup quota exceeded error code."
],
"type": "string"
},
"details": {
"description": "A short summary about the issue.",
"type": "string"
},
"documentationLink": {
"description": "Links contains actionable information.",
"type": "string"
},
"severity": {
"description": "Severity level of the condition.",
"enum": [
"SEVERITY_UNSPECIFIED",
"ERROR",
"WARNING",
"INFO"
],
"enumDescriptions": [
"Unspecified severity",
"Indicates an issue that prevents the mesh from operating correctly",
"Indicates a setting is likely wrong, but the mesh is still able to operate",
"An informational message, not requiring any action"
],
"type": "string"
}
},
"type": "object"
},
"ServiceMeshControlPlaneManagement": {
"description": "Status of control plane management.",
"id": "ServiceMeshControlPlaneManagement",
Expand All @@ -6464,6 +6573,23 @@
},
"type": "array"
},
"implementation": {
"description": "Output only. Implementation of managed control plane.",
"enum": [
"IMPLEMENTATION_UNSPECIFIED",
"ISTIOD",
"TRAFFIC_DIRECTOR",
"UPDATING"
],
"enumDescriptions": [
"Unspecified",
"A Google build of istiod is used for the managed control plane.",
"Traffic director is used for the managed control plane.",
"The control plane implementation is being updated."
],
"readOnly": true,
"type": "string"
},
"state": {
"description": "LifecycleState of control plane management.",
"enum": [
Expand Down Expand Up @@ -6608,6 +6734,14 @@
"readOnly": true,
"type": "array"
},
"conditions": {
"description": "Output only. List of conditions reported for this membership.",
"items": {
"$ref": "ServiceMeshCondition"
},
"readOnly": true,
"type": "array"
},
"configApiVersion": {
"description": "The API version (i.e. Istio CRD version) for configuring service mesh in this cluster. This version is influenced by the `default_channel` field.",
"type": "string"
Expand Down
67 changes: 66 additions & 1 deletion discovery/gkehub-v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2101,7 +2101,7 @@
}
}
},
"revision": "20240318",
"revision": "20240419",
"rootUrl": "https://gkehub.googleapis.com/",
"schemas": {
"AnthosObservabilityFeatureSpec": {
Expand Down Expand Up @@ -6092,6 +6092,63 @@
},
"type": "object"
},
"ServiceMeshCondition": {
"description": "Condition being reported.",
"id": "ServiceMeshCondition",
"properties": {
"code": {
"description": "Unique identifier of the condition which describes the condition recognizable to the user.",
"enum": [
"CODE_UNSPECIFIED",
"MESH_IAM_PERMISSION_DENIED",
"CNI_CONFIG_UNSUPPORTED",
"GKE_SANDBOX_UNSUPPORTED",
"NODEPOOL_WORKLOAD_IDENTITY_FEDERATION_REQUIRED",
"CNI_INSTALLATION_FAILED",
"CNI_POD_UNSCHEDULABLE",
"UNSUPPORTED_MULTIPLE_CONTROL_PLANES",
"VPCSC_GA_SUPPORTED"
],
"enumDescriptions": [
"Default Unspecified code",
"Mesh IAM permission denied error code",
"CNI config unsupported error code",
"GKE sandbox unsupported error code",
"Nodepool workload identity federation required error code",
"CNI installation failed error code",
"CNI pod unschedulable error code",
"Multiple control planes unsupported error code",
"VPC-SC GA is supported for this control plane."
],
"type": "string"
},
"details": {
"description": "A short summary about the issue.",
"type": "string"
},
"documentationLink": {
"description": "Links contains actionable information.",
"type": "string"
},
"severity": {
"description": "Severity level of the condition.",
"enum": [
"SEVERITY_UNSPECIFIED",
"ERROR",
"WARNING",
"INFO"
],
"enumDescriptions": [
"Unspecified severity",
"Indicates an issue that prevents the mesh from operating correctly",
"Indicates a setting is likely wrong, but the mesh is still able to operate",
"An informational message, not requiring any action"
],
"type": "string"
}
},
"type": "object"
},
"ServiceMeshControlPlaneManagement": {
"description": "Status of control plane management.",
"id": "ServiceMeshControlPlaneManagement",
Expand Down Expand Up @@ -6208,6 +6265,14 @@
"description": "**Service Mesh**: State for a single Membership, as analyzed by the Service Mesh Hub Controller.",
"id": "ServiceMeshMembershipState",
"properties": {
"conditions": {
"description": "Output only. List of conditions reported for this membership.",
"items": {
"$ref": "ServiceMeshCondition"
},
"readOnly": true,
"type": "array"
},
"controlPlaneManagement": {
"$ref": "ServiceMeshControlPlaneManagement",
"description": "Output only. Status of control plane management",
Expand Down
Loading

0 comments on commit d4c3244

Please sign in to comment.