Skip to content

Commit f1d0add

Browse files
Disable AppendCustomQueries flag in deploy-dev
Our kuttl tests expect the default behavior of not appending custom queries
1 parent 6c9dc6a commit f1d0add

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Makefile

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,17 +119,16 @@ undeploy: ## Undeploy the PostgreSQL Operator
119119

120120
.PHONY: deploy-dev
121121
deploy-dev: ## Deploy the PostgreSQL Operator locally
122-
deploy-dev: PGO_FEATURE_GATES ?= "AllAlpha=true"
123122
deploy-dev: get-pgmonitor
124123
deploy-dev: build-postgres-operator
125124
deploy-dev: createnamespaces
126125
kubectl apply --server-side -k ./config/dev
127126
hack/create-kubeconfig.sh postgres-operator pgo
128127
env \
129-
QUERIES_CONFIG_DIR="${QUERIES_CONFIG_DIR}" \
130-
CRUNCHY_DEBUG=true \
131-
PGO_FEATURE_GATES="${PGO_FEATURE_GATES}" \
132-
CHECK_FOR_UPGRADES='$(if $(CHECK_FOR_UPGRADES),$(CHECK_FOR_UPGRADES),false)' \
128+
QUERIES_CONFIG_DIR='$(QUERIES_CONFIG_DIR)' \
129+
CRUNCHY_DEBUG="$${CRUNCHY_DEBUG:-true}" \
130+
PGO_FEATURE_GATES="$${PGO_FEATURE_GATES:-AllAlpha=true,AppendCustomQueries=false}" \
131+
CHECK_FOR_UPGRADES="$${CHECK_FOR_UPGRADES:-false}" \
133132
KUBECONFIG=hack/.kube/postgres-operator/pgo \
134133
PGO_NAMESPACE='postgres-operator' \
135134
PGO_INSTALLER='deploy-dev' \

testing/kuttl/e2e/exporter-custom-queries/00-assert.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ commands:
3131
contains "${queries_files}" "queries.yml" &&
3232
!(contains "${queries_files}" "defaultQueries.yml")
3333
} || {
34-
echo >&2 'The /conf directory should contain the queries.yml file. Instead it has:'
34+
echo >&2 'The /conf directory should only contain the queries.yml file. Instead it has:'
3535
echo "${queries_files}"
3636
exit 1
3737
}

0 commit comments

Comments
 (0)