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

     1  # Verify a default configuration for the compact topology on vsphere when credentials are not provided
     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  sshKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0=
    40  pullSecret: '{"auths": {"quay.io": {"auth": "c3VwZXItc2VjcmV0Cg=="}}}'
    41  
    42  -- agent-config.yaml --
    43  apiVersion: v1alpha1
    44  metadata:
    45    name: ostest
    46    namespace: cluster0
    47  rendezvousIP: 192.168.111.20
    48  
    49  -- expected/agent-cluster-install.yaml --
    50  apiVersion: extensions.hive.openshift.io/v1beta1
    51  kind: AgentClusterInstall
    52  metadata:
    53    creationTimestamp: null
    54    name: ostest
    55    namespace: cluster0
    56  spec:
    57    apiVIPs:
    58    - 192.168.111.5
    59    clusterDeploymentRef:
    60      name: ostest
    61    imageSetRef:
    62      name: openshift-was not built correctly
    63    ingressVIPs:
    64    - 192.168.111.4
    65    networking:
    66      clusterNetwork:
    67      - cidr: 10.128.0.0/14
    68        hostPrefix: 23
    69      machineNetwork:
    70      - cidr: 192.168.111.0/24
    71      networkType: OVNKubernetes
    72      serviceNetwork:
    73      - 172.30.0.0/16
    74    platformType: VSphere
    75    provisionRequirements:
    76      controlPlaneAgents: 3
    77    sshPublicKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0=
    78  status:
    79    debugInfo:
    80      eventsURL: ""
    81      logsURL: ""
    82    progress:
    83      totalPercentage: 0