Skip to content

Commit

Permalink
stage for hcp managed policies
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Czarkowski <[email protected]>
  • Loading branch information
paulczar committed Nov 17, 2023
1 parent e6c686d commit 88b7302
Show file tree
Hide file tree
Showing 218 changed files with 22,393 additions and 6,133 deletions.
54 changes: 54 additions & 0 deletions README.md

Large diffs are not rendered by default.

2,508 changes: 2,266 additions & 242 deletions api_openshift_com.json

Large diffs are not rendered by default.

16 changes: 16 additions & 0 deletions docs/AMIOverride.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# AMIOverride

AMIOverride specifies what Amazon Machine Image should be used for a particular product and region.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**kind** | **str** | Indicates the type of this object. Will be &#39;AMIOverride&#39; if this is a complete object or &#39;AMIOverrideLink&#39; if it is just a link. | [optional]
**id** | **str** | Unique identifier of the object. | [optional]
**href** | **str** | Self link. | [optional]
**ami** | **str** | AMI is the id of the Amazon Machine Image. | [optional]
**product** | [**Product**](Product.md) | | [optional]
**region** | [**CloudRegion**](CloudRegion.md) | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


5 changes: 5 additions & 0 deletions docs/AWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,15 @@ Name | Type | Description | Notes
**sts** | [**STS**](STS.md) | | [optional]
**access_key_id** | **str** | AWS access key identifier. | [optional]
**account_id** | **str** | AWS account identifier. | [optional]
**additional_compute_security_group_ids** | **list[str]** | Additional AWS Security Groups to be added to default worker (compute) machine pool. | [optional]
**additional_control_plane_security_group_ids** | **list[str]** | Additional AWS Security Groups to be added to default control plane machine pool. | [optional]
**additional_infra_security_group_ids** | **list[str]** | Additional AWS Security Groups to be added to default infra machine pool. | [optional]
**audit_log** | [**AuditLog**](AuditLog.md) | | [optional]
**billing_account_id** | **str** | BillingAccountID is the account used for billing subscriptions purchased via the marketplace | [optional]
**ec2_metadata_http_tokens** | [**Ec2MetadataHttpTokens**](Ec2MetadataHttpTokens.md) | | [optional]
**etcd_encryption** | [**AwsEtcdEncryption**](AwsEtcdEncryption.md) | | [optional]
**private_hosted_zone_id** | **str** | ID of private hosted zone. | [optional]
**private_hosted_zone_role_arn** | **str** | Role ARN for private hosted zone. | [optional]
**private_link** | **bool** | Sets cluster to be inaccessible externally. | [optional]
**private_link_configuration** | [**PrivateLinkClusterConfiguration**](PrivateLinkClusterConfiguration.md) | | [optional]
**secret_access_key** | **str** | AWS secret access key. | [optional]
Expand Down
1 change: 1 addition & 0 deletions docs/AWSMachinePool.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Name | Type | Description | Notes
**kind** | **str** | Indicates the type of this object. Will be &#39;AWSMachinePool&#39; if this is a complete object or &#39;AWSMachinePoolLink&#39; if it is just a link. | [optional]
**id** | **str** | Unique identifier of the object. | [optional]
**href** | **str** | Self link. | [optional]
**additional_security_group_ids** | **list[str]** | Additional AWS Security Groups to be added machine pool. Note that machine pools can only be worker node at the time. | [optional]
**spot_market_options** | [**AWSSpotMarketOptions**](AWSSpotMarketOptions.md) | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
12 changes: 12 additions & 0 deletions docs/AWSSTSAccountRole.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# AWSSTSAccountRole

Representation of an sts account role for a rosa cluster
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**items** | [**list[AWSSTSRole]**](AWSSTSRole.md) | The list of STS Roles for this Account Role | [optional]
**prefix** | **str** | The Prefix for this Account Role | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


16 changes: 16 additions & 0 deletions docs/AWSSTSRole.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# AWSSTSRole

Representation of an sts role for a rosa cluster
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**hcp_managed_policies** | **bool** | Does this Role have HCP Managed Policies? | [optional]
**is_admin** | **bool** | Does this role have Admin permission? | [optional]
**managed_policies** | **bool** | Does this Role have Managed Policies? | [optional]
**arn** | **str** | The AWS ARN for this Role | [optional]
**type** | **str** | The type of this Role | [optional]
**role_version** | **str** | The Openshift Version for this Role | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


13 changes: 13 additions & 0 deletions docs/AutoscalerResourceLimits.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# AutoscalerResourceLimits

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**gpus** | [**list[AutoscalerResourceLimitsGPULimit]**](AutoscalerResourceLimitsGPULimit.md) | Minimum and maximum number of different GPUs in cluster, in the format &lt;gpu_type&gt;:&lt;min&gt;:&lt;max&gt;. Cluster autoscaler will not scale the cluster beyond these numbers. Can be passed multiple times. | [optional]
**cores** | [**ResourceRange**](ResourceRange.md) | | [optional]
**max_nodes_total** | **int** | Maximum number of nodes in all node groups. Cluster autoscaler will not grow the cluster beyond this number. | [optional]
**memory** | [**ResourceRange**](ResourceRange.md) | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


11 changes: 11 additions & 0 deletions docs/AutoscalerResourceLimitsGPULimit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# AutoscalerResourceLimitsGPULimit

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**range** | [**ResourceRange**](ResourceRange.md) | | [optional]
**type** | **str** | The type of GPU to associate with the minimum and maximum limits. This value is used by the Cluster Autoscaler to identify Nodes that will have GPU capacity by searching for it as a label value on the Node objects. For example, Nodes that carry the label key &#x60;cluster-api/accelerator&#x60; with the label value being the same as the Type field will be counted towards the resource limits by the Cluster Autoscaler. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


15 changes: 15 additions & 0 deletions docs/AutoscalerScaleDownConfig.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# AutoscalerScaleDownConfig

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**delay_after_add** | **str** | How long after scale up that scale down evaluation resumes. | [optional]
**delay_after_delete** | **str** | How long after node deletion that scale down evaluation resumes, defaults to scan-interval. | [optional]
**delay_after_failure** | **str** | How long after scale down failure that scale down evaluation resumes. | [optional]
**enabled** | **bool** | Should cluster-autoscaler scale down the cluster. | [optional]
**unneeded_time** | **str** | How long a node should be unneeded before it is eligible for scale down. | [optional]
**utilization_threshold** | **str** | Node utilization level, defined as sum of requested resources divided by capacity, below which a node can be considered for scale down. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


17 changes: 17 additions & 0 deletions docs/BillingModelItem.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# BillingModelItem

BillingModelItem represents a billing model
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**kind** | **str** | Indicates the type of this object. Will be &#39;BillingModelItem&#39; if this is a complete object or &#39;BillingModelItemLink&#39; if it is just a link. | [optional]
**id** | **str** | Unique identifier of the object. | [optional]
**href** | **str** | Self link. | [optional]
**billing_model_type** | **str** | BillingModelType is the type of the BillingModel. e.g. standard, marketplace. | [optional]
**description** | **str** | Single line description of the billing model. | [optional]
**display_name** | **str** | User friendly display name of the billing model. | [optional]
**marketplace** | **str** | Indicates the marketplace of the billing model. e.g. gcp, aws, etc. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


1 change: 1 addition & 0 deletions docs/CloudProvider.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Name | Type | Description | Notes
**href** | **str** | Self link. | [optional]
**display_name** | **str** | Name of the cloud provider for display purposes. It can contain any characters, including spaces. | [optional]
**name** | **str** | Human friendly identifier of the cloud provider, for example &#x60;aws&#x60;. | [optional]
**regions** | [**list[CloudRegion]**](CloudRegion.md) | (optional) Provider&#39;s regions - only included when listing providers with &#x60;fetchRegions&#x3D;true&#x60;. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
5 changes: 4 additions & 1 deletion docs/CloudRegion.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ Name | Type | Description | Notes
**id** | **str** | Unique identifier of the object. | [optional]
**href** | **str** | Self link. | [optional]
**ccs_only** | **bool** | &#39;true&#39; if the region is supported only for CCS clusters, &#39;false&#39; otherwise. | [optional]
**kms_location_id** | **str** | (GCP only) Comma-separated list of KMS location IDs that can be used with this region. E.g. \&quot;global,nam4,us\&quot;. Order is not guaranteed. | [optional]
**kms_location_name** | **str** | (GCP only) Comma-separated list of display names corresponding to KMSLocationID. E.g. \&quot;Global,nam4 (Iowa, South Carolina, and Oklahoma),US\&quot;. Order is not guaranteed but will match KMSLocationID. Unfortunately, this API doesn&#39;t allow robust splitting - Contact [email protected] if you want to rely on this. | [optional]
**cloud_provider** | [**CloudProvider**](CloudProvider.md) | | [optional]
**display_name** | **str** | Name of the region for display purposes, for example &#x60;N. Virginia&#x60;. | [optional]
**enabled** | **bool** | Whether the region is enabled for deploying an OSD cluster. | [optional]
**enabled** | **bool** | Whether the region is enabled for deploying a managed cluster. | [optional]
**govcloud** | **bool** | Whether the region is an AWS GovCloud region. | [optional]
**name** | **str** | Human friendly identifier of the region, for example &#x60;us-east-1&#x60;. NOTE: Currently for all cloud providers and all regions &#x60;id&#x60; and &#x60;name&#x60; have exactly the same values. | [optional]
**supports_hypershift** | **bool** | &#39;true&#39; if the region is supported for Hypershift deployments, &#39;false&#39; otherwise. | [optional]
**supports_multi_az** | **bool** | Whether the region supports multiple availability zones. | [optional]
Expand Down
9 changes: 6 additions & 3 deletions docs/CloudVPC.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,12 @@ Description of a cloud provider virtual private cloud.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**aws_subnets** | [**list[Subnetwork]**](Subnetwork.md) | List of subnetworks | [optional]
**id** | **str** | ID of virtual private cloud | [optional]
**name** | **str** | Name of virtual private cloud according to its &#x60;Name&#x60; tag on AWS | [optional]
**aws_security_groups** | [**list[SecurityGroup]**](SecurityGroup.md) | List of AWS security groups with details. | [optional]
**aws_subnets** | [**list[Subnetwork]**](Subnetwork.md) | List of AWS subnetworks with details. | [optional]
**cidr_block** | **str** | CIDR block of the virtual private cloud. | [optional]
**id** | **str** | ID of virtual private cloud. | [optional]
**name** | **str** | Name of virtual private cloud according to its &#x60;Name&#x60; tag on AWS. | [optional]
**red_hat_managed** | **bool** | If the resource is RH managed. | [optional]
**subnets** | **list[str]** | List of subnets used by the virtual private cloud. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
2 changes: 2 additions & 0 deletions docs/Cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ Name | Type | Description | Notes
**gcp_network** | [**GCPNetwork**](GCPNetwork.md) | | [optional]
**additional_trust_bundle** | **str** | Additional trust bundle. | [optional]
**addons** | [**list[AddOnInstallation]**](AddOnInstallation.md) | List of add-ons on this cluster. | [optional]
**autoscaler** | [**ClusterAutoscaler**](ClusterAutoscaler.md) | | [optional]
**billing_model** | [**BillingModel**](BillingModel.md) | | [optional]
**byo_oidc** | [**ByoOidc**](ByoOidc.md) | | [optional]
**cloud_provider** | [**CloudProvider**](CloudProvider.md) | | [optional]
Expand All @@ -38,6 +39,7 @@ Name | Type | Description | Notes
**inflight_checks** | [**list[InflightCheck]**](InflightCheck.md) | List of inflight checks on this cluster. | [optional]
**infra_id** | **str** | InfraID is used for example to name the VPCs. | [optional]
**ingresses** | [**list[Ingress]**](Ingress.md) | List of ingresses on this cluster. | [optional]
**kubelet_config** | [**KubeletConfig**](KubeletConfig.md) | | [optional]
**load_balancer_quota** | **int** | Load Balancer quota to be assigned to the cluster. | [optional]
**machine_pools** | [**list[MachinePool]**](MachinePool.md) | List of machine pools on this cluster. | [optional]
**managed** | **bool** | Flag indicating if the cluster is managed (by Red Hat) or self-managed by the user. | [optional]
Expand Down
23 changes: 23 additions & 0 deletions docs/ClusterAutoscaler.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# ClusterAutoscaler

Cluster-wide autoscaling configuration.
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**kind** | **str** | Indicates the type of this object. Will be &#39;ClusterAutoscaler&#39; if this is a complete object or &#39;ClusterAutoscalerLink&#39; if it is just a link. | [optional]
**id** | **str** | Unique identifier of the object. | [optional]
**href** | **str** | Self link. | [optional]
**balance_similar_node_groups** | **bool** | BalanceSimilarNodeGroups enables/disables the &#x60;--balance-similar-node-groups&#x60; cluster-autoscaler feature. This feature will automatically identify node groups with the same instance type and the same set of labels and try to keep the respective sizes of those node groups balanced. | [optional]
**balancing_ignored_labels** | **list[str]** | This option specifies labels that cluster autoscaler should ignore when considering node group similarity. For example, if you have nodes with \&quot;topology.ebs.csi.aws.com/zone\&quot; label, you can add name of this label here to prevent cluster autoscaler from splitting nodes into different node groups based on its value. | [optional]
**ignore_daemonsets_utilization** | **bool** | Should CA ignore DaemonSet pods when calculating resource utilization for scaling down. false by default. | [optional]
**log_verbosity** | **int** | Sets the autoscaler log level. Default value is 1, level 4 is recommended for DEBUGGING and level 6 will enable almost everything. | [optional]
**max_node_provision_time** | **str** | Maximum time CA waits for node to be provisioned. | [optional]
**max_pod_grace_period** | **int** | Gives pods graceful termination time before scaling down. | [optional]
**pod_priority_threshold** | **int** | To allow users to schedule \&quot;best-effort\&quot; pods, which shouldn&#39;t trigger Cluster Autoscaler actions, but only run when there are spare resources available, More info: https://github.com/kubernetes/autoscaler/blob/master/cluster-autoscaler/FAQ.md#how-does-cluster-autoscaler-work-with-pod-priority-and-preemption. | [optional]
**resource_limits** | [**AutoscalerResourceLimits**](AutoscalerResourceLimits.md) | | [optional]
**scale_down** | [**AutoscalerScaleDownConfig**](AutoscalerScaleDownConfig.md) | | [optional]
**skip_nodes_with_local_storage** | **bool** | Enables/Disables &#x60;--skip-nodes-with-local-storage&#x60; CA feature flag. If true cluster autoscaler will never delete nodes with pods with local storage, e.g. EmptyDir or HostPath. true by default at autoscaler. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


4 changes: 2 additions & 2 deletions docs/ControlPlaneUpgradePolicy.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Name | Type | Description | Notes
**last_update_timestamp** | **datetime** | Timestamp for last update that happened to resource. | [optional]
**next_run** | **datetime** | Next time the upgrade should run. | [optional]
**schedule** | **str** | Schedule cron expression that defines automatic upgrade scheduling. | [optional]
**schedule_type** | **str** | Schedule type can be either \&quot;manual\&quot; (single execution) or \&quot;automatic\&quot; (re-occurring). | [optional]
**schedule_type** | [**ScheduleType**](ScheduleType.md) | | [optional]
**state** | [**UpgradePolicyState**](UpgradePolicyState.md) | | [optional]
**upgrade_type** | **str** | Upgrade type specify the type of the upgrade. Can only be \&quot;ControlPlane\&quot;. | [optional]
**upgrade_type** | [**UpgradeType**](UpgradeType.md) | | [optional]
**version** | **str** | Version is the desired upgrade version. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
Expand Down
7 changes: 4 additions & 3 deletions docs/DNSDomain.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ Name | Type | Description | Notes
**kind** | **str** | Indicates the type of this object. Will be &#39;DNSDomain&#39; if this is a complete object or &#39;DNSDomainLink&#39; if it is just a link. | [optional]
**id** | **str** | Unique identifier of the object. | [optional]
**href** | **str** | Self link. | [optional]
**cluster_link** | [**ClusterLink**](ClusterLink.md) | | [optional]
**organization_link** | [**OrganizationLink**](OrganizationLink.md) | | [optional]
**reserved_at** | **datetime** | Date and time when the DNS domain was reserved. | [optional]
**cluster** | [**ClusterLink**](ClusterLink.md) | | [optional]
**organization** | [**OrganizationLink**](OrganizationLink.md) | | [optional]
**reserved_at_timestamp** | **datetime** | Date and time when the DNS domain was reserved. | [optional]
**user_defined** | **bool** | Indicates if this dns domain is user defined. | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
Loading

0 comments on commit 88b7302

Please sign in to comment.