github.com/openshift/installer@v1.4.17/cmd/openshift-install/testdata/agent/image/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 image --dir $WORK
     4  
     5  exists $WORK/agent.x86_64.iso
     6  
     7  isocmp agent.x86_64.iso /etc/assisted/manifests/agent-cluster-install.yaml expected/agent-cluster-install.yaml
     8  isocmp agent.x86_64.iso /etc/assisted/manifests/cluster-deployment.yaml expected/cluster-deployment.yaml
     9  isocmp agent.x86_64.iso /etc/assisted/manifests/cluster-image-set.yaml expected/cluster-image-set.yaml
    10  isocmp agent.x86_64.iso /etc/assisted/manifests/infraenv.yaml expected/infraenv.yaml
    11  isocmp agent.x86_64.iso /etc/assisted/manifests/pull-secret.yaml expected/pull-secret.yaml
    12  
    13  -- install-config.yaml --
    14  apiVersion: v1
    15  baseDomain: test.metalkube.org
    16  controlPlane: 
    17    name: master
    18    replicas: 1
    19  compute: 
    20  - name: worker
    21    replicas: 0
    22  metadata:
    23    namespace: cluster0
    24    name: ostest
    25  networking:
    26    clusterNetwork:
    27    - cidr: 10.128.0.0/14 
    28      hostPrefix: 23 
    29    networkType: OVNKubernetes
    30    machineNetwork:
    31    - cidr: 192.168.111.0/24
    32    serviceNetwork: 
    33    - 172.30.0.0/16
    34  platform:
    35    none: {}
    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    creationTimestamp: null
    51    name: ostest
    52    namespace: cluster0
    53  spec:
    54    clusterDeploymentRef:
    55      name: ostest
    56    imageSetRef:
    57      name: openshift-was not built correctly
    58    networking:
    59      clusterNetwork:
    60      - cidr: 10.128.0.0/14
    61        hostPrefix: 23
    62      machineNetwork:
    63      - cidr: 192.168.111.0/24
    64      networkType: OVNKubernetes
    65      serviceNetwork:
    66      - 172.30.0.0/16
    67      userManagedNetworking: true
    68    platformType: None
    69    provisionRequirements:
    70      controlPlaneAgents: 1
    71    sshPublicKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0=
    72  status:
    73    debugInfo:
    74      eventsURL: ""
    75      logsURL: ""
    76    progress:
    77      totalPercentage: 0
    78  -- expected/cluster-deployment.yaml --
    79  apiVersion: hive.openshift.io/v1
    80  kind: ClusterDeployment
    81  metadata:
    82    creationTimestamp: null
    83    name: ostest
    84    namespace: cluster0
    85  spec:
    86    baseDomain: test.metalkube.org
    87    clusterInstallRef:
    88      group: extensions.hive.openshift.io
    89      kind: AgentClusterInstall
    90      name: ostest
    91      version: v1beta1
    92    clusterName: ostest
    93    controlPlaneConfig:
    94      servingCertificates: {}
    95    installed: false
    96    platform: {}
    97    pullSecretRef:
    98      name: ostest-pull-secret
    99  status: {}
   100  -- expected/cluster-image-set.yaml --
   101  apiVersion: hive.openshift.io/v1
   102  kind: ClusterImageSet
   103  metadata:
   104    creationTimestamp: null
   105    name: openshift-was not built correctly
   106    namespace: cluster0
   107  spec:
   108    releaseImage: $RELEASE_IMAGE
   109  status: {}
   110  -- expected/infraenv.yaml --
   111  apiVersion: agent-install.openshift.io/v1beta1
   112  kind: InfraEnv
   113  metadata:
   114    creationTimestamp: null
   115    name: ostest
   116    namespace: cluster0
   117  spec:
   118    clusterRef:
   119      name: ostest
   120      namespace: cluster0
   121    cpuArchitecture: x86_64
   122    ipxeScriptType: ""
   123    nmStateConfigLabelSelector:
   124      matchLabels:
   125        infraenvs.agent-install.openshift.io: ostest
   126    pullSecretRef:
   127      name: ostest-pull-secret
   128    sshAuthorizedKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0=
   129  status:
   130    agentLabelSelector: {}
   131    bootArtifacts:
   132      initrd: ""
   133      ipxeScript: ""
   134      kernel: ""
   135      rootfs: ""
   136    debugInfo:
   137      eventsURL: ""
   138  -- expected/pull-secret.yaml --
   139  apiVersion: v1
   140  kind: Secret
   141  metadata:
   142    creationTimestamp: null
   143    name: ostest-pull-secret
   144    namespace: cluster0
   145  stringData:
   146    .dockerconfigjson: |-
   147      {
   148        "auths": {
   149          "quay.io": {
   150            "auth": "c3VwZXItc2VjcmV0Cg=="
   151          }
   152        }
   153      }