File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -50,6 +50,17 @@ function main() {
50
50
kubectl_bin apply -f $deploy_dir /secrets.yaml
51
51
kubectl_bin apply -f $conf_dir /client.yml
52
52
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
+
53
64
yq eval ' .spec.upgradeOptions.versionServiceEndpoint = "https://check-dev.percona.com" |
54
65
.spec.replsets[].affinity.antiAffinityTopologyKey = "none" |
55
66
.spec.replsets[].nonvoting.affinity.antiAffinityTopologyKey = "none" |
You can’t perform that action at this time.
0 commit comments