github.com/openshift/installer@v1.4.17/cmd/openshift-install/testdata/agent/unconfigured-ignition/validations/missing-cluster-image-set-allowed.txt (about)

     1  # Missing cluster-image-set.yaml is allowed.
     2  # A cluster-image-set.yaml should be generated and included in the ignition.
     3  
     4  exec openshift-install agent create unconfigured-ignition --dir $WORK
     5  
     6  exists $WORK/unconfigured-agent.ign
     7  ! exists $WORK/auth/kubeconfig
     8  ! exists $WORK/auth/kubeadmin-password
     9  ! unconfiguredIgnContains /etc/assisted/manifests/agent-cluster-install.yaml
    10  ! unconfiguredIgnContains /etc/assisted/manifests/cluster-deployment.yaml
    11  unconfiguredIgnContains /etc/assisted/manifests/infraenv.yaml
    12  unconfiguredIgnContains /etc/assisted/manifests/pull-secret.yaml
    13  unconfiguredIgnContains /etc/assisted/manifests/cluster-image-set.yaml
    14  unconfiguredIgnCmp /etc/assisted/manifests/cluster-image-set.yaml expected/cluster-image-set.yaml
    15  
    16  -- cluster-manifests/infraenv.yaml --
    17  apiVersion: agent-install.openshift.io/v1beta1
    18  kind: InfraEnv
    19  metadata:
    20    name: ostest
    21    namespace: cluster0
    22  spec:
    23    cpuArchitecture: x86_64
    24    pullSecretRef:
    25      name: ostest-pull-secret
    26    sshAuthorizedKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0=
    27  
    28  -- cluster-manifests/pull-secret.yaml --
    29  apiVersion: v1
    30  kind: Secret
    31  metadata:
    32    name: ostest-pull-secret
    33    namespace: cluster0
    34  stringData:
    35    .dockerconfigjson: |-
    36      {
    37        "auths": {
    38          "quay.io": {
    39            "auth": "c3VwZXItc2VjcmV0Cg=="
    40          }
    41        }
    42      }
    43  
    44  -- expected/cluster-image-set.yaml --
    45  apiVersion: hive.openshift.io/v1
    46  kind: ClusterImageSet
    47  metadata:
    48    creationTimestamp: null
    49    name: openshift-was not built correctly
    50  spec:
    51    releaseImage: $RELEASE_IMAGE
    52  status: {}