github.com/openshift/installer@v1.4.17/cmd/openshift-install/testdata/agent/image/configurations/vsphere_with-credentials.txt (about)

     1  # Verify a default configuration for the compact topology on vsphere with credentials
     2  
     3  exec openshift-install agent create image --dir $WORK
     4  
     5  stderr 'The rendezvous host IP \(node0 IP\) is 192.168.111.20'
     6  
     7  exists $WORK/agent.x86_64.iso
     8  exists $WORK/auth/kubeconfig
     9  exists $WORK/auth/kubeadmin-password
    10  isocmp agent.x86_64.iso /etc/assisted/manifests/agent-cluster-install.yaml expected/agent-cluster-install.yaml
    11  
    12  -- install-config.yaml --
    13  apiVersion: v1
    14  baseDomain: test.metalkube.org
    15  controlPlane:
    16    name: master
    17    replicas: 3
    18  compute:
    19  - name: worker
    20    replicas: 0
    21  metadata:
    22    namespace: cluster0
    23    name: ostest
    24  networking:
    25    clusterNetwork:
    26    - cidr: 10.128.0.0/14
    27      hostPrefix: 23
    28    networkType: OVNKubernetes
    29    machineNetwork:
    30    - cidr: 192.168.111.0/24
    31    serviceNetwork:
    32    - 172.30.0.0/16
    33  platform:
    34      vsphere:
    35        apiVips:
    36          - 192.168.111.5
    37        ingressVips:
    38          - 192.168.111.4
    39        vcenters:
    40        - datacenters:
    41          - testDatacenter
    42          password: testPassword
    43          server: vcenter.openshift.com
    44          user: testUser
    45        failuredomains:
    46        - name: testfailureDomain
    47          server: vcenter.openshift.com
    48          region: testRegion
    49          topology:
    50            datacenter: testDatacenter
    51            datastore: /testDatacenter/datastore/testDatastore
    52            computeCluster: /testDatacenter/host/testComputecluster
    53            folder: /testDatacenter/vm/testFolder
    54            networks:
    55            - testNetwork
    56          zone: testZone
    57  sshKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0=
    58  pullSecret: '{"auths": {"quay.io": {"auth": "c3VwZXItc2VjcmV0Cg=="}}}'
    59  
    60  -- agent-config.yaml --
    61  apiVersion: v1alpha1
    62  metadata:
    63    name: ostest
    64    namespace: cluster0
    65  rendezvousIP: 192.168.111.20
    66  
    67  -- expected/agent-cluster-install.yaml --
    68  apiVersion: extensions.hive.openshift.io/v1beta1
    69  kind: AgentClusterInstall
    70  metadata:
    71    annotations:
    72      agent-install.openshift.io/install-config-overrides: '{"platform":{"vsphere":{"vcenters":[{"server":"vcenter.openshift.com","user":"testUser","password":"testPassword","datacenters":["testDatacenter"]}],"failureDomains":[{"name":"testfailureDomain","region":"testRegion","zone":"testZone","server":"vcenter.openshift.com","topology":{"datacenter":"testDatacenter","computeCluster":"/testDatacenter/host/testComputecluster","networks":["testNetwork"],"datastore":"/testDatacenter/datastore/testDatastore","resourcePool":"/testDatacenter/host/testComputecluster/Resources","folder":"/testDatacenter/vm/testFolder"}}]}}}'
    73    creationTimestamp: null
    74    name: ostest
    75    namespace: cluster0
    76  spec:
    77    apiVIPs:
    78    - 192.168.111.5
    79    clusterDeploymentRef:
    80      name: ostest
    81    imageSetRef:
    82      name: openshift-was not built correctly
    83    ingressVIPs:
    84    - 192.168.111.4
    85    networking:
    86      clusterNetwork:
    87      - cidr: 10.128.0.0/14
    88        hostPrefix: 23
    89      machineNetwork:
    90      - cidr: 192.168.111.0/24
    91      networkType: OVNKubernetes
    92      serviceNetwork:
    93      - 172.30.0.0/16
    94    platformType: VSphere
    95    provisionRequirements:
    96      controlPlaneAgents: 3
    97    sshPublicKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0=
    98  status:
    99    debugInfo:
   100      eventsURL: ""
   101      logsURL: ""
   102    progress:
   103      totalPercentage: 0