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

     1  # Verify that the extra manifests are placed in the /etc/assisted/extra-manifests/ folder.
     2  # Also, multiple documents within the same input manifest file are splitted into separate files,
     3  # with an incremental suffix number.
     4  
     5  exec openshift-install agent create image --dir $WORK
     6  
     7  exists $WORK/agent.x86_64.iso
     8  
     9  isocmp agent.x86_64.iso /etc/assisted/extra-manifests/agent-test-0.yaml expected/agent-test-0.yaml
    10  isocmp agent.x86_64.iso /etc/assisted/extra-manifests/agent-test-1.yaml expected/agent-test-1.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  -- openshift/agent-test.yaml --
    46  ---
    47  apiVersion: v1
    48  kind: ConfigMap
    49  metadata:
    50    name: agent-test-0
    51    namespace: openshift-config
    52  data:
    53    value: agent-test-0
    54  ---
    55  apiVersion: v1
    56  kind: ConfigMap
    57  metadata:
    58    name: agent-test-1
    59    namespace: openshift-config
    60  data:
    61    value: agent-test-1
    62  
    63  -- expected/agent-test-0.yaml --
    64  apiVersion: v1
    65  data:
    66    value: agent-test-0
    67  kind: ConfigMap
    68  metadata:
    69    name: agent-test-0
    70    namespace: openshift-config
    71  -- expected/agent-test-1.yaml --
    72  apiVersion: v1
    73  data:
    74    value: agent-test-1
    75  kind: ConfigMap
    76  metadata:
    77    name: agent-test-1
    78    namespace: openshift-config