From b5c78dd44ebe9f8122e45c232b528090a6a7ce78 Mon Sep 17 00:00:00 2001 From: Alena Varkockova Date: Thu, 28 Jan 2021 09:58:50 +0100 Subject: [PATCH] Update apiversion from kudo to kuttl (#1762) Signed-off-by: Alena Varkockova --- test/e2e/apply-delete-apply/00-install.yaml | 2 +- test/e2e/cli-install-uninstall/00-install.yaml | 2 +- test/e2e/cli-install-uninstall/01-uninstall.yaml | 2 +- test/e2e/dependencies-hash/00-install.yaml | 2 +- test/e2e/dependencies-hash/01-update-replicas.yaml | 2 +- test/e2e/dependencies-hash/02-update-param.yaml | 2 +- test/e2e/dependencies-hash/03-update-replicas-again.yaml | 2 +- test/e2e/immutable-parameter-with-default/00-install.yaml | 2 +- test/e2e/immutable-parameter/00-install.yaml | 2 +- test/e2e/readiness/00-install.yaml | 2 +- test/e2e/toggle-task/01-update.yaml | 2 +- test/integration/first-operator-test/00-install.yaml | 2 +- test/integration/update-command/02-update.yaml | 2 +- test/integration/upgrade-command/00-install.yaml | 2 +- test/integration/upgrade-command/01-upgrade.yaml | 2 +- test/kudo-e2e-test.yaml.tmpl | 2 +- test/kudo-integration-test.yaml | 2 +- test/kudo-upgrade-test.yaml.tmpl | 2 +- test/upgrade/cert-manager-detection/02-remove-kudo.yaml | 2 +- .../03-uninstall-cert-manager-0-16-0.yaml | 2 +- .../cert-manager-detection/05-install-cert-manager-1-0-3.yaml | 2 +- test/upgrade/cert-manager-detection/06-install-kudo.yaml | 2 +- test/upgrade/cert-manager-detection/99-remove-kudo.yaml | 2 +- test/upgrade/upgrade-to-current/00-install-old-kudo.yaml | 2 +- test/upgrade/upgrade-to-current/01-install-operator.yaml | 2 +- test/upgrade/upgrade-to-current/02-upgrade-kudo.yaml | 2 +- test/upgrade/upgrade-to-current/03-upgrade-operator.yaml | 2 +- test/upgrade/upgrade-to-current/99-remove-kudo.yaml | 2 +- 28 files changed, 28 insertions(+), 28 deletions(-) diff --git a/test/e2e/apply-delete-apply/00-install.yaml b/test/e2e/apply-delete-apply/00-install.yaml index 0f702d0cc..216748bf3 100644 --- a/test/e2e/apply-delete-apply/00-install.yaml +++ b/test/e2e/apply-delete-apply/00-install.yaml @@ -1,7 +1,7 @@ # this is a test covering regression described in #1596 # there was a race in apply-delete-apply where cache was not invalidated between delete and second apply # as a result configmap did not exist at the end of plan -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - command: kubectl kudo install --instance configmap-instance ./operator diff --git a/test/e2e/cli-install-uninstall/00-install.yaml b/test/e2e/cli-install-uninstall/00-install.yaml index 9045840dc..825ddcfdc 100644 --- a/test/e2e/cli-install-uninstall/00-install.yaml +++ b/test/e2e/cli-install-uninstall/00-install.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - command: kubectl kudo install --instance first-operator ./first-operator diff --git a/test/e2e/cli-install-uninstall/01-uninstall.yaml b/test/e2e/cli-install-uninstall/01-uninstall.yaml index 103eaf147..75ea5b9e2 100644 --- a/test/e2e/cli-install-uninstall/01-uninstall.yaml +++ b/test/e2e/cli-install-uninstall/01-uninstall.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - command: kubectl kudo uninstall --instance first-operator diff --git a/test/e2e/dependencies-hash/00-install.yaml b/test/e2e/dependencies-hash/00-install.yaml index 28167a3c4..9233eb1b9 100644 --- a/test/e2e/dependencies-hash/00-install.yaml +++ b/test/e2e/dependencies-hash/00-install.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - command: kubectl kudo install --instance depop ./dep-operator diff --git a/test/e2e/dependencies-hash/01-update-replicas.yaml b/test/e2e/dependencies-hash/01-update-replicas.yaml index 71da980b4..0ab17e5bd 100644 --- a/test/e2e/dependencies-hash/01-update-replicas.yaml +++ b/test/e2e/dependencies-hash/01-update-replicas.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: # Change a parameter that does *not* modify the config map dependency - command: kubectl kudo update --instance depop -p REPLICAS=3 diff --git a/test/e2e/dependencies-hash/02-update-param.yaml b/test/e2e/dependencies-hash/02-update-param.yaml index 45e9af8bd..550ec702a 100644 --- a/test/e2e/dependencies-hash/02-update-param.yaml +++ b/test/e2e/dependencies-hash/02-update-param.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: # Update a parameter that modifies the config map dependency but does not deploy the parent - command: kubectl kudo update --instance depop -p CONFIG_MAP_VALUE=ChangedValue diff --git a/test/e2e/dependencies-hash/03-update-replicas-again.yaml b/test/e2e/dependencies-hash/03-update-replicas-again.yaml index a46260cec..dd7500f73 100644 --- a/test/e2e/dependencies-hash/03-update-replicas-again.yaml +++ b/test/e2e/dependencies-hash/03-update-replicas-again.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - command: kubectl kudo update --instance depop -p REPLICAS=2 diff --git a/test/e2e/immutable-parameter-with-default/00-install.yaml b/test/e2e/immutable-parameter-with-default/00-install.yaml index a90e87a80..8c6288e94 100644 --- a/test/e2e/immutable-parameter-with-default/00-install.yaml +++ b/test/e2e/immutable-parameter-with-default/00-install.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - command: kubectl kudo install --instance immutable-param ./immutable-param diff --git a/test/e2e/immutable-parameter/00-install.yaml b/test/e2e/immutable-parameter/00-install.yaml index 6aaf49c96..078bb3220 100644 --- a/test/e2e/immutable-parameter/00-install.yaml +++ b/test/e2e/immutable-parameter/00-install.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - command: kubectl kudo install --instance immutable-param ./immutable-param -p unchangeable=fixedvalue diff --git a/test/e2e/readiness/00-install.yaml b/test/e2e/readiness/00-install.yaml index da568ad7d..f58455eac 100644 --- a/test/e2e/readiness/00-install.yaml +++ b/test/e2e/readiness/00-install.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - command: kubectl kudo install --instance first-operator ./first-operator diff --git a/test/e2e/toggle-task/01-update.yaml b/test/e2e/toggle-task/01-update.yaml index fd27ad3a7..3ecb18e2b 100644 --- a/test/e2e/toggle-task/01-update.yaml +++ b/test/e2e/toggle-task/01-update.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - command: kubectl kudo update --instance feature-operator-instance -p enable_cm=false diff --git a/test/integration/first-operator-test/00-install.yaml b/test/integration/first-operator-test/00-install.yaml index da568ad7d..f58455eac 100644 --- a/test/integration/first-operator-test/00-install.yaml +++ b/test/integration/first-operator-test/00-install.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - command: kubectl kudo install --instance first-operator ./first-operator diff --git a/test/integration/update-command/02-update.yaml b/test/integration/update-command/02-update.yaml index e46a06ca0..86eb9e4e0 100644 --- a/test/integration/update-command/02-update.yaml +++ b/test/integration/update-command/02-update.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - command: kubectl kudo update --instance toy1 -p "Param=after" diff --git a/test/integration/upgrade-command/00-install.yaml b/test/integration/upgrade-command/00-install.yaml index 3c0a68093..1aad34acd 100644 --- a/test/integration/upgrade-command/00-install.yaml +++ b/test/integration/upgrade-command/00-install.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - command: kubectl kudo install --instance upgrade-instance ./first-operator diff --git a/test/integration/upgrade-command/01-upgrade.yaml b/test/integration/upgrade-command/01-upgrade.yaml index 347a5d7a9..880c017a3 100644 --- a/test/integration/upgrade-command/01-upgrade.yaml +++ b/test/integration/upgrade-command/01-upgrade.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - command: kubectl kudo upgrade --instance upgrade-instance ./second-operator -p version=1.7.10 diff --git a/test/kudo-e2e-test.yaml.tmpl b/test/kudo-e2e-test.yaml.tmpl index 6fed7e207..7fcf2905f 100644 --- a/test/kudo-e2e-test.yaml.tmpl +++ b/test/kudo-e2e-test.yaml.tmpl @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestSuite testDirs: - ./test/e2e diff --git a/test/kudo-integration-test.yaml b/test/kudo-integration-test.yaml index b61188949..6961cb7ae 100644 --- a/test/kudo-integration-test.yaml +++ b/test/kudo-integration-test.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestSuite crdDir: ./config/crds/ manifestDirs: diff --git a/test/kudo-upgrade-test.yaml.tmpl b/test/kudo-upgrade-test.yaml.tmpl index 8a5c2fec9..4c7494ced 100644 --- a/test/kudo-upgrade-test.yaml.tmpl +++ b/test/kudo-upgrade-test.yaml.tmpl @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestSuite testDirs: - ./test/upgrade diff --git a/test/upgrade/cert-manager-detection/02-remove-kudo.yaml b/test/upgrade/cert-manager-detection/02-remove-kudo.yaml index 0a17d23c3..2f98a7c9a 100644 --- a/test/upgrade/cert-manager-detection/02-remove-kudo.yaml +++ b/test/upgrade/cert-manager-detection/02-remove-kudo.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - script: kubectl kudo init --upgrade --kudo-image kudobuilder/controller:test --kudo-image-pull-policy IfNotPresent --dry-run --output yaml | tee output.log | kubectl delete -f - \ No newline at end of file diff --git a/test/upgrade/cert-manager-detection/03-uninstall-cert-manager-0-16-0.yaml b/test/upgrade/cert-manager-detection/03-uninstall-cert-manager-0-16-0.yaml index f990598d0..de8a34038 100644 --- a/test/upgrade/cert-manager-detection/03-uninstall-cert-manager-0-16-0.yaml +++ b/test/upgrade/cert-manager-detection/03-uninstall-cert-manager-0-16-0.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - command: kubectl delete -f cert-manager/cert-manager-0.16.0.yaml \ No newline at end of file diff --git a/test/upgrade/cert-manager-detection/05-install-cert-manager-1-0-3.yaml b/test/upgrade/cert-manager-detection/05-install-cert-manager-1-0-3.yaml index 150e931fd..8a1386311 100644 --- a/test/upgrade/cert-manager-detection/05-install-cert-manager-1-0-3.yaml +++ b/test/upgrade/cert-manager-detection/05-install-cert-manager-1-0-3.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - command: kubectl apply --validate=false -f cert-manager/cert-manager-1.0.3.yaml \ No newline at end of file diff --git a/test/upgrade/cert-manager-detection/06-install-kudo.yaml b/test/upgrade/cert-manager-detection/06-install-kudo.yaml index 1a3d60184..bd8cbb064 100644 --- a/test/upgrade/cert-manager-detection/06-install-kudo.yaml +++ b/test/upgrade/cert-manager-detection/06-install-kudo.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - command: sleep 20 diff --git a/test/upgrade/cert-manager-detection/99-remove-kudo.yaml b/test/upgrade/cert-manager-detection/99-remove-kudo.yaml index 0a17d23c3..2f98a7c9a 100644 --- a/test/upgrade/cert-manager-detection/99-remove-kudo.yaml +++ b/test/upgrade/cert-manager-detection/99-remove-kudo.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - script: kubectl kudo init --upgrade --kudo-image kudobuilder/controller:test --kudo-image-pull-policy IfNotPresent --dry-run --output yaml | tee output.log | kubectl delete -f - \ No newline at end of file diff --git a/test/upgrade/upgrade-to-current/00-install-old-kudo.yaml b/test/upgrade/upgrade-to-current/00-install-old-kudo.yaml index db0ac4ce2..a25cf79f3 100644 --- a/test/upgrade/upgrade-to-current/00-install-old-kudo.yaml +++ b/test/upgrade/upgrade-to-current/00-install-old-kudo.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - command: ./download-kudo.sh 0.11.1 diff --git a/test/upgrade/upgrade-to-current/01-install-operator.yaml b/test/upgrade/upgrade-to-current/01-install-operator.yaml index 9baa9b4d0..b1d5f8f01 100644 --- a/test/upgrade/upgrade-to-current/01-install-operator.yaml +++ b/test/upgrade/upgrade-to-current/01-install-operator.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - command: ./old-kudo install --instance simple-op ./simple-op-0.1.0 diff --git a/test/upgrade/upgrade-to-current/02-upgrade-kudo.yaml b/test/upgrade/upgrade-to-current/02-upgrade-kudo.yaml index 818701433..57ff0b54e 100644 --- a/test/upgrade/upgrade-to-current/02-upgrade-kudo.yaml +++ b/test/upgrade/upgrade-to-current/02-upgrade-kudo.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - command: kubectl kudo init -v 4 --upgrade --kudo-image kudobuilder/controller:test --kudo-image-pull-policy IfNotPresent --unsafe-self-signed-webhook-ca --wait \ No newline at end of file diff --git a/test/upgrade/upgrade-to-current/03-upgrade-operator.yaml b/test/upgrade/upgrade-to-current/03-upgrade-operator.yaml index 77e1041de..02a326533 100644 --- a/test/upgrade/upgrade-to-current/03-upgrade-operator.yaml +++ b/test/upgrade/upgrade-to-current/03-upgrade-operator.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - command: kubectl kudo upgrade ./simple-op-0.2.0 --instance simple-op -p replicas=1 -p unchangeable=fixedvalue diff --git a/test/upgrade/upgrade-to-current/99-remove-kudo.yaml b/test/upgrade/upgrade-to-current/99-remove-kudo.yaml index 152cf9065..9d5fbc8bb 100644 --- a/test/upgrade/upgrade-to-current/99-remove-kudo.yaml +++ b/test/upgrade/upgrade-to-current/99-remove-kudo.yaml @@ -1,4 +1,4 @@ -apiVersion: kudo.dev/v1beta1 +apiVersion: kuttl.dev/v1beta1 kind: TestStep commands: - script: kubectl kudo init --upgrade --kudo-image kudobuilder/controller:test --kudo-image-pull-policy IfNotPresent --unsafe-self-signed-webhook-ca --dry-run --output yaml | tee output.log | kubectl delete -f - \ No newline at end of file