Skip to content

Commit f311f14

Browse files
authored
Merge branch 'main' into feat/add-extra-pvcs
2 parents 0081826 + 2defd4d commit f311f14

36 files changed

+676
-283
lines changed

build/backup/lib/pxc/aws.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
set -o errexit
44

55
export AWS_SHARED_CREDENTIALS_FILE='/tmp/aws-credfile'
6-
export AWS_ENDPOINT_URL="${ENDPOINT:-https://s3.amazonaws.com}"
76
export AWS_REGION="${DEFAULT_REGION:-us-west-2}"
7+
export AWS_ENDPOINT_URL="${ENDPOINT:-https://s3.${AWS_REGION}.amazonaws.com}"
88

99
if [ -n "$VERIFY_TLS" ] && [[ $VERIFY_TLS == "false" ]]; then
1010
AWS_S3_NO_VERIFY_SSL='--no-verify-ssl'

e2e-tests/functions

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -305,15 +305,15 @@ deploy_operator() {
305305
| sed -e "s^image: .*^image: ${IMAGE}^" \
306306
| sed -e "s^failureThreshold: .*^failureThreshold: 10^" \
307307
| yq eval '(select(.kind == "Deployment").spec.template.spec.containers[] | select(.name == "percona-xtradb-cluster-operator").env[] | select(.name == "DISABLE_TELEMETRY").value) = "true"' - \
308-
| yq eval '(select(.kind == "Deployment").spec.template.spec.containers[] | select(.name == "percona-xtradb-cluster-operator").env[] | select(.name == "LOG_LEVEL").value) = "DEBUG"' - \
308+
| yq eval '(select(.kind == "Deployment").spec.template.spec.containers[] | select(.name == "percona-xtradb-cluster-operator").env[] | select(.name == "LOG_LEVEL").value) = "VERBOSE"' - \
309309
| kubectl_bin apply -f -
310310
else
311311
apply_rbac rbac
312312
cat ${src_dir}/deploy/operator.yaml \
313313
| sed -e "s^image: .*^image: ${IMAGE}^" \
314314
| sed -e "s^failureThreshold: .*^failureThreshold: 10^" \
315315
| yq eval '(select(.kind == "Deployment").spec.template.spec.containers[] | select(.name == "percona-xtradb-cluster-operator").env[] | select(.name == "DISABLE_TELEMETRY").value) = "true"' - \
316-
| yq eval '(select(.kind == "Deployment").spec.template.spec.containers[] | select(.name == "percona-xtradb-cluster-operator").env[] | select(.name == "LOG_LEVEL").value) = "DEBUG"' - \
316+
| yq eval '(select(.kind == "Deployment").spec.template.spec.containers[] | select(.name == "percona-xtradb-cluster-operator").env[] | select(.name == "LOG_LEVEL").value) = "VERBOSE"' - \
317317
| kubectl_bin apply -f -
318318
fi
319319

e2e-tests/haproxy/run

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,9 @@ main() {
6868
wait_cluster_consistency "$cluster" 3 3
6969
check_haproxy_writer
7070

71-
desc 'check for passwords leak'
72-
check_passwords_leak
71+
# Temporarily skipping this check
72+
#desc 'check for passwords leak'
73+
#check_passwords_leak
7374

7475
desc 'delete active writer and checking all haproxy pods still point to the same writer'
7576
desc 'fail pxc-pod-0 pod for 60s'

e2e-tests/init-deploy/run

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,9 @@ compare_mysql_cmd "select-1" "SELECT * from myApp.myApp;" "-h $cluster3-pxc-1.$c
112112
compare_mysql_cmd "select-1" "SELECT * from myApp.myApp;" "-h $cluster3-pxc-2.$cluster3-pxc -uroot -proot_password"
113113
compare_mysql_cmd "max_allowed_packet-2" "SELECT @@max_allowed_packet;" "-h $cluster3-pxc-0.$cluster3-pxc -uroot -proot_password"
114114

115-
desc 'check for passwords leak'
116-
check_passwords_leak
115+
# Temporarily skipping this check
116+
#desc 'check for passwords leak'
117+
#check_passwords_leak
117118

118119
kubectl_bin delete -f $test_dir/conf/$cluster3.yml
119120
destroy $namespace

e2e-tests/monitoring-2-0/run

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,8 +150,9 @@ if [[ -n ${OPENSHIFT} ]]; then
150150
fi
151151
fi
152152

153-
desc 'check for passwords leak'
154-
check_passwords_leak
153+
# Temporarily skipping this check
154+
# desc 'check for passwords leak'
155+
# check_passwords_leak
155156

156157
helm uninstall monitoring
157158
destroy $namespace

e2e-tests/monitoring-pmm3/compare/statefulset_monitoring-haproxy-k127.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ spec:
7777
- name: PMM_AGENT_SIDECAR_SLEEP
7878
value: "5"
7979
- name: PMM_AGENT_PATHS_TEMPDIR
80-
value: /tmp
80+
value: /tmp/pmm
8181
- name: PMM_AGENT_PRERUN_SCRIPT
8282
value: /var/lib/mysql/pmm-prerun.sh
8383
- name: DB_CLUSTER
@@ -92,7 +92,7 @@ spec:
9292
- name: DB_HOST
9393
value: localhost
9494
- name: CLUSTER_NAME
95-
value: monitoring
95+
value: foo-custom-cluster-name
9696
- name: PMM_AGENT_SETUP_NODE_NAME
9797
value: $(PMM_PREFIX)$(POD_NAMESPACE)-$(POD_NAME)
9898
- name: DB_TYPE

e2e-tests/monitoring-pmm3/compare/statefulset_monitoring-haproxy-no-prefix-k127.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ spec:
7777
- name: PMM_AGENT_SIDECAR_SLEEP
7878
value: "5"
7979
- name: PMM_AGENT_PATHS_TEMPDIR
80-
value: /tmp
80+
value: /tmp/pmm
8181
- name: PMM_AGENT_PRERUN_SCRIPT
8282
value: /var/lib/mysql/pmm-prerun.sh
8383
- name: DB_CLUSTER
@@ -92,7 +92,7 @@ spec:
9292
- name: DB_HOST
9393
value: localhost
9494
- name: CLUSTER_NAME
95-
value: monitoring
95+
value: foo-custom-cluster-name
9696
- name: PMM_AGENT_SETUP_NODE_NAME
9797
value: $(POD_NAMESPACE)-$(POD_NAME)
9898
- name: DB_TYPE

e2e-tests/monitoring-pmm3/compare/statefulset_monitoring-haproxy-no-prefix-oc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ spec:
7474
- name: PMM_AGENT_SIDECAR_SLEEP
7575
value: "5"
7676
- name: PMM_AGENT_PATHS_TEMPDIR
77-
value: /tmp
77+
value: /tmp/pmm
7878
- name: PMM_AGENT_PRERUN_SCRIPT
7979
value: /var/lib/mysql/pmm-prerun.sh
8080
- name: DB_CLUSTER
@@ -89,7 +89,7 @@ spec:
8989
- name: DB_HOST
9090
value: localhost
9191
- name: CLUSTER_NAME
92-
value: monitoring
92+
value: foo-custom-cluster-name
9393
- name: PMM_AGENT_SETUP_NODE_NAME
9494
value: $(POD_NAMESPACE)-$(POD_NAME)
9595
- name: DB_TYPE

e2e-tests/monitoring-pmm3/compare/statefulset_monitoring-haproxy-no-prefix.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ spec:
7474
- name: PMM_AGENT_SIDECAR_SLEEP
7575
value: "5"
7676
- name: PMM_AGENT_PATHS_TEMPDIR
77-
value: /tmp
77+
value: /tmp/pmm
7878
- name: PMM_AGENT_PRERUN_SCRIPT
7979
value: /var/lib/mysql/pmm-prerun.sh
8080
- name: DB_CLUSTER
@@ -89,7 +89,7 @@ spec:
8989
- name: DB_HOST
9090
value: localhost
9191
- name: CLUSTER_NAME
92-
value: monitoring
92+
value: foo-custom-cluster-name
9393
- name: PMM_AGENT_SETUP_NODE_NAME
9494
value: $(POD_NAMESPACE)-$(POD_NAME)
9595
- name: DB_TYPE

e2e-tests/monitoring-pmm3/compare/statefulset_monitoring-haproxy-oc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ spec:
7474
- name: PMM_AGENT_SIDECAR_SLEEP
7575
value: "5"
7676
- name: PMM_AGENT_PATHS_TEMPDIR
77-
value: /tmp
77+
value: /tmp/pmm
7878
- name: PMM_AGENT_PRERUN_SCRIPT
7979
value: /var/lib/mysql/pmm-prerun.sh
8080
- name: DB_CLUSTER
@@ -89,7 +89,7 @@ spec:
8989
- name: DB_HOST
9090
value: localhost
9191
- name: CLUSTER_NAME
92-
value: monitoring
92+
value: foo-custom-cluster-name
9393
- name: PMM_AGENT_SETUP_NODE_NAME
9494
value: $(PMM_PREFIX)$(POD_NAMESPACE)-$(POD_NAME)
9595
- name: DB_TYPE

0 commit comments

Comments
 (0)