From e5879666bdbc08550759dd78739b0977724caed6 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Tue, 6 Apr 2021 13:58:31 -0700 Subject: [PATCH] Bump API version to v1alpha2 To accomodate the CR syntax changes. Change-Id: Ie646a9c58655b0987a8fb0d4c914cd8b93190b1b --- Makefile | 4 ++-- README.md | 4 ++-- ...ci_v1alpha1_zuul_cr.yaml => zuul-ci_v1alpha2_zuul_cr.yaml} | 2 +- ..._v1alpha1_zuul_crd.yaml => zuul-ci_v1alpha2_zuul_crd.yaml} | 3 +++ playbooks/zuul-operator-functional/tasks/apply_cr.yaml | 2 +- zuul_operator/objects.py | 2 +- 6 files changed, 10 insertions(+), 7 deletions(-) rename deploy/crds/{zuul-ci_v1alpha1_zuul_cr.yaml => zuul-ci_v1alpha2_zuul_cr.yaml} (91%) rename deploy/crds/{zuul-ci_v1alpha1_zuul_crd.yaml => zuul-ci_v1alpha2_zuul_crd.yaml} (87%) diff --git a/Makefile b/Makefile index e703c3f..8229131 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ image: podman build -f build/Dockerfile -t docker.io/zuul/zuul-operator . install: - kubectl apply -f deploy/crds/zuul-ci_v1alpha1_zuul_crd.yaml -f deploy/rbac.yaml -f deploy/operator.yaml + kubectl apply -f deploy/crds/zuul-ci_v1alpha2_zuul_crd.yaml -f deploy/rbac.yaml -f deploy/operator.yaml deploy-cr: - kubectl apply -f deploy/crds/zuul-ci_v1alpha1_zuul_cr.yaml + kubectl apply -f deploy/crds/zuul-ci_v1alpha2_zuul_cr.yaml diff --git a/README.md b/README.md index 9496895..7e4aacb 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ $ make image ```shell $ make install -kubectl apply -f deploy/crds/zuul-ci_v1alpha1_zuul_crd.yaml -f deploy/rbac.yaml -f deploy/operator.yaml +kubectl apply -f deploy/crds/zuul-ci_v1alpha2_zuul_crd.yaml -f deploy/rbac.yaml -f deploy/operator.yaml ``` Look for operator pod and check it's output @@ -33,7 +33,7 @@ $ kubectl logs zuul-operator-c64756f66-rbdmg ``` $ kubectl apply -f - <