Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Add opendistro_security.cookie.secure: false to service scripts settings for TAR/DEB/RPM/DOCKER/WINDOWS #398

Merged
merged 1 commit into from
Sep 23, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/scripts/setup_runners_service.sh
Original file line number Diff line number Diff line change
Expand Up @@ -220,13 +220,16 @@ then
mkdir -p $KIBANA_ROOT
aws s3 cp s3://$S3_BUCKET/downloads/tarball/$KIBANA_PACKAGE_NAME/$KIBANA_PACKAGE_NAME-$OD_VERSION.tar.gz . --quiet; echo $?
tar -zxf $KIBANA_PACKAGE_NAME-$OD_VERSION.tar.gz -C $KIBANA_ROOT --strip-components 1
echo "opendistro_security.cookie.secure: false" >> $KIBANA_ROOT/config/kibana.yml
elif [ "$SETUP_DISTRO" = "docker" ]
then
echo "FROM opendistroforelasticsearch/opendistroforelasticsearch-kibana:$OD_VERSION" >> Dockerfile.kibana
echo "RUN echo 'opendistro_security.cookie.secure: false' >> /usr/share/kibana/config/kibana.yml" >> Dockerfile.kibana
docker build -t odfe-kibana-http:security -f Dockerfile.kibana .
sleep 5
else
sudo apt install $KIBANA_PACKAGE_NAME=$OD_VERSION* -y || sudo yum install $KIBANA_PACKAGE_NAME-$OD_VERSION -y
sudo echo "opendistro_security.cookie.secure: false" >> /etc/kibana/kibana.yml
fi
fi

Expand Down
1 change: 1 addition & 0 deletions .github/scripts/setup_runners_service_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ if ($SETUP_ACTION -eq "--kibana" -Or $SETUP_ACTION -eq "--kibana-nosec"){
$S3_KIBANA_PACKAGE="odfe-"+$OD_VERSION+"-kibana.zip"
aws s3 cp --quiet s3://artifacts.opendistroforelasticsearch.amazon.com/downloads/odfe-windows/staging/odfe-window-zip/$S3_KIBANA_PACKAGE . --quiet; echo $?\
unzip -qq .\$S3_KIBANA_PACKAGE
echo "opendistro_security.cookie.secure: false" >> opendistroforelasticsearch-kibana\config\kibana.yml
}

if ($SETUP_ACTION -eq "--kibana"){
Expand Down