Skip to content

Commit a96b6c6

Browse files
committed
TEST: Don't allow insecure REVA connections via GRPC
1 parent 0bc4899 commit a96b6c6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.gitlab-ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,8 +779,10 @@ el9_asan_docker_image:
779779
- echo ${MGM_POD_HOSTNAME}
780780

781781
# We connect over https, and the certificate is only valid for the hostname, so replace localhost with the MGM's hostname
782-
- exec_cmd eos-mgm1 'sed -i -e "s/^\(master_url = \"https:\/\/\)localhost\(:[0-9][0-9]*\"\)/\1$(hostname -f)\2/" \
782+
- |
783+
exec_cmd eos-mgm1 'sed -i -e "s/^\(master_url = \"https:\/\/\)localhost\(:[0-9][0-9]*\"\)/\1$(hostname -f)\2/" \
783784
-e "s/^\(master_grpc_uri = \"\)localhost\(:[0-9][0-9]*\"\)/\1$(hostname -f)\2/" \
785+
-e "s/^\(allow_insecure = \)true/\1false/" \
784786
reva/tests/integration/reva-cli/config/revad-eos.toml'
785787
786788
# Start revad

0 commit comments

Comments
 (0)