github.com/openshift/installer@v1.4.17/upi/gcp/02_dns.py (about)

     1  def GenerateConfig(context):
     2  
     3      resources = [{
     4          'name': context.properties['infra_id'] + '-private-zone',
     5          'type': 'dns.v1.managedZone',
     6          'properties': {
     7              'description': '',
     8              'dnsName': context.properties['cluster_domain'] + '.',
     9              'visibility': 'private',
    10              'privateVisibilityConfig': {
    11                  'networks': [{
    12                      'networkUrl': context.properties['cluster_network']
    13                  }]
    14              }
    15          }
    16      }]
    17  
    18      return {'resources': resources}