Skip to content

Commit

Permalink
Add configuration options for custom DNS work.
Browse files Browse the repository at this point in the history
The work relates to the enhancement openshift/enhancements#1468. The AWS, Azure, and GCP platform status structs are updated to include custom DNS options. The internal and external load balancer ip addresses as well as the types of dns records make up the base of the data.y
  • Loading branch information
barbacbd committed Sep 29, 2023
1 parent f27ee1b commit 56640e9
Show file tree
Hide file tree
Showing 10 changed files with 838 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,45 @@ spec:
aws:
description: AWS contains settings specific to the Amazon Web Services infrastructure provider.
properties:
apiServerDNSConfig:
description: APIServerDNSConfig contains information to configure DNS for API Server. This field will be set only when the userConfiguredDNS feature is enabled.
items:
description: DNSConfig store the load balancer ip addresses and the type of DNS record.
properties:
lbIPAddress:
description: LBIPAddress is the Load Balancer IP address for DNS config
type: string
recordType:
description: RecordType is the DNS record type.
type: string
type: object
type: array
ingressDNSConfig:
description: IngressDNSConfig contains information to configure DNS for cluster services. This field will be set only when the userConfiguredDNS feature is enabled.
items:
description: DNSConfig store the load balancer ip addresses and the type of DNS record.
properties:
lbIPAddress:
description: LBIPAddress is the Load Balancer IP address for DNS config
type: string
recordType:
description: RecordType is the DNS record type.
type: string
type: object
type: array
internalAPIServerDNSConfig:
description: InternalAPIServerDNSConfig contains information to configure DNS for the Internal API Server. This field will be set only when the userConfiguredDNS feature is enabled.
items:
description: DNSConfig store the load balancer ip addresses and the type of DNS record.
properties:
lbIPAddress:
description: LBIPAddress is the Load Balancer IP address for DNS config
type: string
recordType:
description: RecordType is the DNS record type.
type: string
type: object
type: array
region:
description: region holds the default AWS region for new AWS resources created by the cluster.
type: string
Expand Down Expand Up @@ -511,6 +550,19 @@ spec:
azure:
description: Azure contains settings specific to the Azure infrastructure provider.
properties:
apiServerDNSConfig:
description: APIServerDNSConfig contains information to configure DNS for API Server. This field will be set only when the userConfiguredDNS feature is enabled.
items:
description: DNSConfig store the load balancer ip addresses and the type of DNS record.
properties:
lbIPAddress:
description: LBIPAddress is the Load Balancer IP address for DNS config
type: string
recordType:
description: RecordType is the DNS record type.
type: string
type: object
type: array
armEndpoint:
description: armEndpoint specifies a URL to use for resource management in non-soverign clouds such as Azure Stack.
type: string
Expand All @@ -524,6 +576,32 @@ spec:
- AzureGermanCloud
- AzureStackCloud
type: string
ingressDNSConfig:
description: IngressDNSConfig contains information to configure DNS for cluster services. This field will be set only when the userConfiguredDNS feature is enabled.
items:
description: DNSConfig store the load balancer ip addresses and the type of DNS record.
properties:
lbIPAddress:
description: LBIPAddress is the Load Balancer IP address for DNS config
type: string
recordType:
description: RecordType is the DNS record type.
type: string
type: object
type: array
internalAPIServerDNSConfig:
description: InternalAPIServerDNSConfig contains information to configure DNS for the Internal API Server. This field will be set only when the userConfiguredDNS feature is enabled.
items:
description: DNSConfig store the load balancer ip addresses and the type of DNS record.
properties:
lbIPAddress:
description: LBIPAddress is the Load Balancer IP address for DNS config
type: string
recordType:
description: RecordType is the DNS record type.
type: string
type: object
type: array
networkResourceGroupName:
description: networkResourceGroupName is the Resource Group for network resources like the Virtual Network and Subnets used by the cluster. If empty, the value is same as ResourceGroupName.
type: string
Expand Down Expand Up @@ -640,6 +718,45 @@ spec:
gcp:
description: GCP contains settings specific to the Google Cloud Platform infrastructure provider.
properties:
apiServerDNSConfig:
description: APIServerDNSConfig contains information to configure DNS for API Server. This field will be set only when the userConfiguredDNS feature is enabled.
items:
description: DNSConfig store the load balancer ip addresses and the type of DNS record.
properties:
lbIPAddress:
description: LBIPAddress is the Load Balancer IP address for DNS config
type: string
recordType:
description: RecordType is the DNS record type.
type: string
type: object
type: array
ingressDNSConfig:
description: IngressDNSConfig contains information to configure DNS for cluster services. This field will be set only when the userConfiguredDNS feature is enabled.
items:
description: DNSConfig store the load balancer ip addresses and the type of DNS record.
properties:
lbIPAddress:
description: LBIPAddress is the Load Balancer IP address for DNS config
type: string
recordType:
description: RecordType is the DNS record type.
type: string
type: object
type: array
internalAPIServerDNSConfig:
description: InternalAPIServerDNSConfig contains information to configure DNS for the Internal API Server. This field will be set only when the userConfiguredDNS feature is enabled.
items:
description: DNSConfig store the load balancer ip addresses and the type of DNS record.
properties:
lbIPAddress:
description: LBIPAddress is the Load Balancer IP address for DNS config
type: string
recordType:
description: RecordType is the DNS record type.
type: string
type: object
type: array
projectID:
description: resourceGroupName is the Project ID for new GCP resources created for the cluster.
type: string
Expand Down
117 changes: 117 additions & 0 deletions config/v1/0000_10_config-operator_01_infrastructure-Default.crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,45 @@ spec:
aws:
description: AWS contains settings specific to the Amazon Web Services infrastructure provider.
properties:
apiServerDNSConfig:
description: APIServerDNSConfig contains information to configure DNS for API Server. This field will be set only when the userConfiguredDNS feature is enabled.
items:
description: DNSConfig store the load balancer ip addresses and the type of DNS record.
properties:
lbIPAddress:
description: LBIPAddress is the Load Balancer IP address for DNS config
type: string
recordType:
description: RecordType is the DNS record type.
type: string
type: object
type: array
ingressDNSConfig:
description: IngressDNSConfig contains information to configure DNS for cluster services. This field will be set only when the userConfiguredDNS feature is enabled.
items:
description: DNSConfig store the load balancer ip addresses and the type of DNS record.
properties:
lbIPAddress:
description: LBIPAddress is the Load Balancer IP address for DNS config
type: string
recordType:
description: RecordType is the DNS record type.
type: string
type: object
type: array
internalAPIServerDNSConfig:
description: InternalAPIServerDNSConfig contains information to configure DNS for the Internal API Server. This field will be set only when the userConfiguredDNS feature is enabled.
items:
description: DNSConfig store the load balancer ip addresses and the type of DNS record.
properties:
lbIPAddress:
description: LBIPAddress is the Load Balancer IP address for DNS config
type: string
recordType:
description: RecordType is the DNS record type.
type: string
type: object
type: array
region:
description: region holds the default AWS region for new AWS resources created by the cluster.
type: string
Expand Down Expand Up @@ -511,6 +550,19 @@ spec:
azure:
description: Azure contains settings specific to the Azure infrastructure provider.
properties:
apiServerDNSConfig:
description: APIServerDNSConfig contains information to configure DNS for API Server. This field will be set only when the userConfiguredDNS feature is enabled.
items:
description: DNSConfig store the load balancer ip addresses and the type of DNS record.
properties:
lbIPAddress:
description: LBIPAddress is the Load Balancer IP address for DNS config
type: string
recordType:
description: RecordType is the DNS record type.
type: string
type: object
type: array
armEndpoint:
description: armEndpoint specifies a URL to use for resource management in non-soverign clouds such as Azure Stack.
type: string
Expand All @@ -524,6 +576,32 @@ spec:
- AzureGermanCloud
- AzureStackCloud
type: string
ingressDNSConfig:
description: IngressDNSConfig contains information to configure DNS for cluster services. This field will be set only when the userConfiguredDNS feature is enabled.
items:
description: DNSConfig store the load balancer ip addresses and the type of DNS record.
properties:
lbIPAddress:
description: LBIPAddress is the Load Balancer IP address for DNS config
type: string
recordType:
description: RecordType is the DNS record type.
type: string
type: object
type: array
internalAPIServerDNSConfig:
description: InternalAPIServerDNSConfig contains information to configure DNS for the Internal API Server. This field will be set only when the userConfiguredDNS feature is enabled.
items:
description: DNSConfig store the load balancer ip addresses and the type of DNS record.
properties:
lbIPAddress:
description: LBIPAddress is the Load Balancer IP address for DNS config
type: string
recordType:
description: RecordType is the DNS record type.
type: string
type: object
type: array
networkResourceGroupName:
description: networkResourceGroupName is the Resource Group for network resources like the Virtual Network and Subnets used by the cluster. If empty, the value is same as ResourceGroupName.
type: string
Expand Down Expand Up @@ -624,6 +702,45 @@ spec:
gcp:
description: GCP contains settings specific to the Google Cloud Platform infrastructure provider.
properties:
apiServerDNSConfig:
description: APIServerDNSConfig contains information to configure DNS for API Server. This field will be set only when the userConfiguredDNS feature is enabled.
items:
description: DNSConfig store the load balancer ip addresses and the type of DNS record.
properties:
lbIPAddress:
description: LBIPAddress is the Load Balancer IP address for DNS config
type: string
recordType:
description: RecordType is the DNS record type.
type: string
type: object
type: array
ingressDNSConfig:
description: IngressDNSConfig contains information to configure DNS for cluster services. This field will be set only when the userConfiguredDNS feature is enabled.
items:
description: DNSConfig store the load balancer ip addresses and the type of DNS record.
properties:
lbIPAddress:
description: LBIPAddress is the Load Balancer IP address for DNS config
type: string
recordType:
description: RecordType is the DNS record type.
type: string
type: object
type: array
internalAPIServerDNSConfig:
description: InternalAPIServerDNSConfig contains information to configure DNS for the Internal API Server. This field will be set only when the userConfiguredDNS feature is enabled.
items:
description: DNSConfig store the load balancer ip addresses and the type of DNS record.
properties:
lbIPAddress:
description: LBIPAddress is the Load Balancer IP address for DNS config
type: string
recordType:
description: RecordType is the DNS record type.
type: string
type: object
type: array
projectID:
description: resourceGroupName is the Project ID for new GCP resources created for the cluster.
type: string
Expand Down
Loading

0 comments on commit 56640e9

Please sign in to comment.