github.com/openshift/installer@v1.4.17/cmd/openshift-install/testdata/agent/unconfigured-ignition/manifests/default_manifests.txt (about)

     1  # Verify a default configuration for the compact topology
     2  
     3  exec openshift-install agent create unconfigured-ignition --dir $WORK
     4  
     5  ! stderr 'The rendezvous host IP \(node0 IP\) is 192.168.111.20'
     6  
     7  exists $WORK/unconfigured-agent.ign
     8  ! exists $WORK/auth/kubeconfig
     9  ! exists $WORK/auth/kubeadmin-password
    10  
    11  ! unconfiguredIgnContains /etc/assisted/manifests/agent-cluster-install.yaml
    12  ! unconfiguredIgnContains /etc/assisted/manifests/cluster-deployment.yaml
    13  unconfiguredIgnCmp /etc/assisted/manifests/cluster-image-set.yaml expected/cluster-image-set.yaml
    14  unconfiguredIgnCmp /etc/assisted/manifests/infraenv.yaml expected/infraenv.yaml
    15  unconfiguredIgnCmp /etc/assisted/manifests/pull-secret.yaml expected/pull-secret.yaml
    16  
    17  -- install-config.yaml --
    18  apiVersion: v1
    19  baseDomain: test.metalkube.org
    20  controlPlane: 
    21    name: master
    22    replicas: 1
    23  compute: 
    24  - name: worker
    25    replicas: 0
    26  metadata:
    27    namespace: cluster0
    28    name: ostest
    29  networking:
    30    clusterNetwork:
    31    - cidr: 10.128.0.0/14 
    32      hostPrefix: 23 
    33    networkType: OVNKubernetes
    34    machineNetwork:
    35    - cidr: 192.168.111.0/24
    36    serviceNetwork: 
    37    - 172.30.0.0/16
    38  platform:
    39    none: {}
    40  sshKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0=
    41  pullSecret: '{"auths": {"quay.io": {"auth": "c3VwZXItc2VjcmV0Cg=="}}}'
    42  
    43  -- agent-config.yaml --
    44  apiVersion: v1alpha1
    45  metadata:
    46    name: ostest
    47    namespace: cluster0
    48  rendezvousIP: 192.168.111.20
    49  
    50  -- expected/cluster-image-set.yaml --
    51  apiVersion: hive.openshift.io/v1
    52  kind: ClusterImageSet
    53  metadata:
    54    creationTimestamp: null
    55    name: openshift-was not built correctly
    56    namespace: cluster0
    57  spec:
    58    releaseImage: $RELEASE_IMAGE
    59  status: {}
    60  -- expected/infraenv.yaml --
    61  apiVersion: agent-install.openshift.io/v1beta1
    62  kind: InfraEnv
    63  metadata:
    64    creationTimestamp: null
    65    name: ostest
    66    namespace: cluster0
    67  spec:
    68    clusterRef:
    69      name: ostest
    70      namespace: cluster0
    71    cpuArchitecture: x86_64
    72    ipxeScriptType: ""
    73    nmStateConfigLabelSelector:
    74      matchLabels:
    75        infraenvs.agent-install.openshift.io: ostest
    76    pullSecretRef:
    77      name: ostest-pull-secret
    78    sshAuthorizedKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0=
    79  status:
    80    agentLabelSelector: {}
    81    bootArtifacts:
    82      initrd: ""
    83      ipxeScript: ""
    84      kernel: ""
    85      rootfs: ""
    86    debugInfo:
    87      eventsURL: ""
    88  -- expected/pull-secret.yaml --
    89  apiVersion: v1
    90  kind: Secret
    91  metadata:
    92    creationTimestamp: null
    93    name: ostest-pull-secret
    94    namespace: cluster0
    95  stringData:
    96    .dockerconfigjson: |-
    97      {
    98        "auths": {
    99          "quay.io": {
   100            "auth": "c3VwZXItc2VjcmV0Cg=="
   101          }
   102        }
   103      }