Skip to content

Commit 633f272

Browse files
egegunesjvpasinatto
authored andcommitted
fix unnecessarily patching operator in default-cr test
1 parent 30ef98d commit 633f272

File tree

1 file changed

+0
-11
lines changed
  • e2e-tests/default-cr

1 file changed

+0
-11
lines changed

e2e-tests/default-cr/run

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,6 @@ function main() {
5050
kubectl_bin apply -f $deploy_dir/secrets.yaml
5151
kubectl_bin apply -f $conf_dir/client.yml
5252

53-
desc "create first PSMDB cluster $cluster"
54-
kubectl_bin apply ${OPERATOR_NS:+-n $OPERATOR_NS} --server-side --force-conflicts -f $deploy_dir/crd.yaml
55-
if [ -n "$OPERATOR_NS" ]; then
56-
apply_rbac cw-rbac
57-
kubectl_bin apply -n ${OPERATOR_NS} -f $deploy_dir/cw-operator.yaml
58-
else
59-
apply_rbac rbac
60-
yq eval '((.. | select(.[] == "DISABLE_TELEMETRY")) |= .value="true")' "$deploy_dir/operator.yaml" \
61-
| kubectl_bin apply -f -
62-
fi
63-
6453
yq eval '.spec.upgradeOptions.versionServiceEndpoint = "https://check-dev.percona.com" |
6554
.spec.replsets[].affinity.antiAffinityTopologyKey = "none" |
6655
.spec.replsets[].nonvoting.affinity.antiAffinityTopologyKey = "none" |

0 commit comments

Comments
 (0)