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

     1  # Verify that the basic manifests are properly generated within the /etc/assisted/manifests folder
     2  
     3  exec openshift-install agent create config-image --dir $WORK
     4  
     5  exists $WORK/agentconfig.noarch.iso
     6  
     7  isocmp agentconfig.noarch.iso /etc/assisted/manifests/agent-cluster-install.yaml expected/agent-cluster-install.yaml
     8  isocmp agentconfig.noarch.iso /etc/assisted/manifests/cluster-image-set.yaml expected/cluster-image-set.yaml
     9  isocmp agentconfig.noarch.iso /etc/assisted/manifests/pull-secret.yaml expected/pull-secret.yaml
    10  isocmp agentconfig.noarch.iso /etc/assisted/manifests/cluster-deployment.yaml expected/cluster-deployment.yaml
    11  
    12  -- install-config.yaml --
    13  apiVersion: v1
    14  baseDomain: test.metalkube.org
    15  controlPlane:
    16    name: master
    17    replicas: 1
    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    none: {}
    35  sshKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0=
    36  pullSecret: '{"auths": {"quay.io": {"auth": "c3VwZXItc2VjcmV0Cg=="}}}'
    37  
    38  -- agent-config.yaml --
    39  apiVersion: v1alpha1
    40  metadata:
    41    name: ostest
    42    namespace: cluster0
    43  rendezvousIP: 192.168.111.20
    44  
    45  -- expected/agent-cluster-install.yaml --
    46  apiVersion: extensions.hive.openshift.io/v1beta1
    47  kind: AgentClusterInstall
    48  metadata:
    49    creationTimestamp: null
    50    name: ostest
    51    namespace: cluster0
    52  spec:
    53    clusterDeploymentRef:
    54      name: ostest
    55    imageSetRef:
    56      name: openshift-was not built correctly
    57    networking:
    58      clusterNetwork:
    59      - cidr: 10.128.0.0/14
    60        hostPrefix: 23
    61      machineNetwork:
    62      - cidr: 192.168.111.0/24
    63      networkType: OVNKubernetes
    64      serviceNetwork:
    65      - 172.30.0.0/16
    66      userManagedNetworking: true
    67    platformType: None
    68    provisionRequirements:
    69      controlPlaneAgents: 1
    70    sshPublicKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0=
    71  status:
    72    debugInfo:
    73      eventsURL: ""
    74      logsURL: ""
    75    progress:
    76      totalPercentage: 0
    77  -- expected/cluster-deployment.yaml --
    78  apiVersion: hive.openshift.io/v1
    79  kind: ClusterDeployment
    80  metadata:
    81    creationTimestamp: null
    82    name: ostest
    83    namespace: cluster0
    84  spec:
    85    baseDomain: test.metalkube.org
    86    clusterInstallRef:
    87      group: extensions.hive.openshift.io
    88      kind: AgentClusterInstall
    89      name: ostest
    90      version: v1beta1
    91    clusterName: ostest
    92    controlPlaneConfig:
    93      servingCertificates: {}
    94    installed: false
    95    platform: {}
    96    pullSecretRef:
    97      name: ostest-pull-secret
    98  status: {}
    99  -- expected/cluster-image-set.yaml --
   100  apiVersion: hive.openshift.io/v1
   101  kind: ClusterImageSet
   102  metadata:
   103    creationTimestamp: null
   104    name: openshift-was not built correctly
   105    namespace: cluster0
   106  spec:
   107    releaseImage: $RELEASE_IMAGE
   108  status: {}
   109  -- expected/pull-secret.yaml --
   110  apiVersion: v1
   111  kind: Secret
   112  metadata:
   113    creationTimestamp: null
   114    name: ostest-pull-secret
   115    namespace: cluster0
   116  stringData:
   117    .dockerconfigjson: |-
   118      {
   119        "auths": {
   120          "quay.io": {
   121            "auth": "c3VwZXItc2VjcmV0Cg=="
   122          }
   123        }
   124      }