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

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