github.com/openshift/installer@v1.4.17/cmd/openshift-install/testdata/agent/unconfigured-ignition/validations/missing-pull-secret.txt (about) 1 # Missing pull-secret.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 "Agent PullSecret": 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/infraenv.yaml -- 14 apiVersion: agent-install.openshift.io/v1beta1 15 kind: InfraEnv 16 metadata: 17 name: ostest 18 namespace: cluster0 19 spec: 20 cpuArchitecture: x86_64 21 pullSecretRef: 22 name: ostest-pull-secret 23 sshAuthorizedKey: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDK6UTEydcEKzuNdPaofn8Z2DwgHqdcionLZBiPf/zIRNco++etLsat7Avv7yt04DINQd5zjxIFgG8jblaUB5E5C9ClUcMwb52GO0ay2Y9v1uBv1a4WhI3peKktAzYNk0EBMQlJtXPjRMrC9ylBPh+DsBHMu+KmDnfk7PIwyN4efC8k5kSRuPWoNdme1rz2+umU8FSmaWTHIajrbspf4GQbsntA5kuKEtDbfoNCU97o2KrRnUbeg3a8hwSjfh3u6MhlnGcg5K2Ij+zivEsWGCLKYUtE1ErqwfIzwWmJ6jnV66XCQGHf4Q1iIxqF7s2a1q24cgG2Z/iDXfqXrCIfy4P7b/Ztak3bdT9jfAdVZtdO5/r7I+O5hYhF86ayFlDWzZWP/ByiSb+q4CQbfVgK3BMmiAv2MqLHdhesmD/SmIcoOWUF6rFmRKZVFFpKpt5ATNTgUJ3JRowoXrrDruVXClUGRiCS6Zabd1rZ3VmTchaPJwtzQMdfIWISXj+Ig+C4UK0= 24 25 -- cluster-manifests/cluster-image-set.yaml -- 26 apiVersion: hive.openshift.io/v1 27 kind: ClusterImageSet 28 metadata: 29 name: cluster0-image-set 30 namespace: cluster0 31 spec: 32 releaseImage: $RELEASE_IMAGE 33