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

     1  # Missing infraenv.yaml should be detected.
     2  
     3  expandFile cluster-manifests/cluster-image-set.yaml
     4  
     5  ! exec openshift-install agent create unconfigured-ignition --dir $WORK
     6  
     7  stderr 'failed to generate asset "InfraEnv Config": missing configuration or manifest file'
     8  
     9  ! exists $WORK/unconfigured-agent.ign
    10  ! exists $WORK/auth/kubeconfig
    11  ! exists $WORK/auth/kubeadmin-password
    12  
    13  -- cluster-manifests/cluster-image-set.yaml --
    14  apiVersion: hive.openshift.io/v1
    15  kind: ClusterImageSet
    16  metadata:
    17    name: cluster0-image-set
    18    namespace: cluster0
    19  spec:
    20    releaseImage: $RELEASE_IMAGE
    21  
    22  -- cluster-manifests/pull-secret.yaml --
    23  apiVersion: v1
    24  kind: Secret
    25  metadata:
    26    name: ostest-pull-secret
    27    namespace: cluster0
    28  stringData:
    29    .dockerconfigjson: |-
    30      {
    31        "auths": {
    32          "quay.io": {
    33            "auth": "c3VwZXItc2VjcmV0Cg=="
    34          }
    35        }
    36      }