Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update apiversion from kudo to kuttl #1762

Merged
merged 1 commit into from
Jan 28, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion test/e2e/apply-delete-apply/00-install.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/cli-install-uninstall/00-install.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kudo.dev/v1beta1
apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- command: kubectl kudo install --instance first-operator ./first-operator
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/cli-install-uninstall/01-uninstall.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kudo.dev/v1beta1
apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- command: kubectl kudo uninstall --instance first-operator
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/dependencies-hash/00-install.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kudo.dev/v1beta1
apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- command: kubectl kudo install --instance depop ./dep-operator
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/dependencies-hash/01-update-replicas.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/dependencies-hash/02-update-param.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/dependencies-hash/03-update-replicas-again.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kudo.dev/v1beta1
apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- command: kubectl kudo update --instance depop -p REPLICAS=2
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kudo.dev/v1beta1
apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- command: kubectl kudo install --instance immutable-param ./immutable-param
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/immutable-parameter/00-install.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/readiness/00-install.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kudo.dev/v1beta1
apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- command: kubectl kudo install --instance first-operator ./first-operator
Expand Down
2 changes: 1 addition & 1 deletion test/e2e/toggle-task/01-update.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/integration/first-operator-test/00-install.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kudo.dev/v1beta1
apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- command: kubectl kudo install --instance first-operator ./first-operator
Expand Down
2 changes: 1 addition & 1 deletion test/integration/update-command/02-update.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kudo.dev/v1beta1
apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- command: kubectl kudo update --instance toy1 -p "Param=after"
Expand Down
2 changes: 1 addition & 1 deletion test/integration/upgrade-command/00-install.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kudo.dev/v1beta1
apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- command: kubectl kudo install --instance upgrade-instance ./first-operator
Expand Down
2 changes: 1 addition & 1 deletion test/integration/upgrade-command/01-upgrade.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/kudo-e2e-test.yaml.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kudo.dev/v1beta1
apiVersion: kuttl.dev/v1beta1
kind: TestSuite
testDirs:
- ./test/e2e
Expand Down
2 changes: 1 addition & 1 deletion test/kudo-integration-test.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kudo.dev/v1beta1
apiVersion: kuttl.dev/v1beta1
kind: TestSuite
crdDir: ./config/crds/
manifestDirs:
Expand Down
2 changes: 1 addition & 1 deletion test/kudo-upgrade-test.yaml.tmpl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kudo.dev/v1beta1
apiVersion: kuttl.dev/v1beta1
kind: TestSuite
testDirs:
- ./test/upgrade
Expand Down
2 changes: 1 addition & 1 deletion test/upgrade/cert-manager-detection/02-remove-kudo.yaml
Original file line number Diff line number Diff line change
@@ -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 -
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion test/upgrade/cert-manager-detection/06-install-kudo.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kudo.dev/v1beta1
apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- command: sleep 20
Expand Down
2 changes: 1 addition & 1 deletion test/upgrade/cert-manager-detection/99-remove-kudo.yaml
Original file line number Diff line number Diff line change
@@ -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 -
2 changes: 1 addition & 1 deletion test/upgrade/upgrade-to-current/00-install-old-kudo.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
apiVersion: kudo.dev/v1beta1
apiVersion: kuttl.dev/v1beta1
kind: TestStep
commands:
- command: ./download-kudo.sh 0.11.1
Expand Down
2 changes: 1 addition & 1 deletion test/upgrade/upgrade-to-current/01-install-operator.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/upgrade/upgrade-to-current/02-upgrade-kudo.yaml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion test/upgrade/upgrade-to-current/03-upgrade-operator.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion test/upgrade/upgrade-to-current/99-remove-kudo.yaml
Original file line number Diff line number Diff line change
@@ -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 -