mirror of
https://github.com/openshift/installer.git
synced 2026-02-05 15:47:14 +01:00
*: Copy route53 baseDomain advice to openshift-install locations
The old examples/aws.yaml location is no longer discoverable for folks using the new installer.
This commit is contained in:
@@ -7,6 +7,12 @@ The installer accepts a number of environment variable that allow the interactiv
|
||||
* `OPENSHIFT_INSTALL_BASE_DOMAIN`:
|
||||
The base domain of the cluster. All DNS records will be sub-domains of this base.
|
||||
|
||||
For AWS, this must be a previously-existing public Route 53 zone. You can check for any already in your account with:
|
||||
|
||||
```sh
|
||||
aws route53 list-hosted-zones --query 'HostedZones[? !(Config.PrivateZone)].Name' --output text
|
||||
```
|
||||
|
||||
* `OPENSHIFT_INSTALL_CLUSTER_NAME`:
|
||||
The name of the cluster.
|
||||
This will be used when generating sub-domains.
|
||||
|
||||
@@ -78,7 +78,7 @@ func (s *StockImpl) EstablishStock() {
|
||||
Question: &survey.Question{
|
||||
Prompt: &survey.Input{
|
||||
Message: "Base Domain",
|
||||
Help: "The base domain of the cluster. All DNS records will be sub-domains of this base.",
|
||||
Help: "The base domain of the cluster. All DNS records will be sub-domains of this base.\n\nFor AWS, this must be a previously-existing public Route 53 zone. You can check for any already in your account with:\n\n $ aws route53 list-hosted-zones --query 'HostedZones[? !(Config.PrivateZone)].Name' --output text",
|
||||
},
|
||||
Validate: survey.ComposeValidators(survey.Required, func(ans interface{}) error {
|
||||
return validate.DomainName(ans.(string))
|
||||
|
||||
Reference in New Issue
Block a user