Merge pull request #2191 from munnerz/fix-old-e2e

Fix e2e jobs on Kubernetes 1.14 and below
This commit is contained in:
jetstack-bot 2019-10-10 19:59:38 +01:00 committed by GitHub
commit 4ec682db20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -95,7 +95,7 @@ func (p *Certmanager) Setup(cfg *config.Config) error {
// Provision will actually deploy this instance of Pebble-ingress to the cluster.
func (p *Certmanager) Provision() error {
if err := exec.Command(p.config.Kubectl, "apply", "-f", p.config.RepoRoot+"/deploy/manifests/00-crds.yaml").Run(); err != nil {
if err := exec.Command(p.config.Kubectl, "apply", "--validate=false", "-f", p.config.RepoRoot+"/deploy/manifests/00-crds.yaml").Run(); err != nil {
return fmt.Errorf("error install cert-manager CRD manifests: %v", err)
}