Skip to content

Commit 05f0b31

Browse files
egegunesjvpasinatto
authored andcommitted
Revert "fix unnecessarily patching operator in default-cr test"
This reverts commit a7330d1.
1 parent 633f272 commit 05f0b31

File tree

1 file changed

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

1 file changed

+11
-0
lines changed

e2e-tests/default-cr/run

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,17 @@ 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+
5364
yq eval '.spec.upgradeOptions.versionServiceEndpoint = "https://check-dev.percona.com" |
5465
.spec.replsets[].affinity.antiAffinityTopologyKey = "none" |
5566
.spec.replsets[].nonvoting.affinity.antiAffinityTopologyKey = "none" |

0 commit comments

Comments
 (0)