Add Spamcheck to GitLab Helm chart
What does this MR do?
Add Spamcheck to the gitlab
Helm chart.
Closes #2936 (closed)
Testing
-
Ensure that your development environment is set up for charts development. See the Development environment setup page for instructions.
-
Clone the GitLab Helm repository, and checkout to the branch for this MR.
git clone git@gitlab.com:gitlab-org/charts/gitlab.git
git checkout <BRANCH_NAME>
- From within the branch, run the following Helm commands to install:
helm upgrade \
--install \
--namespace tests \
--create-namespace \
--set certmanager-issuer.email='me@example.com' \
--set global.hosts.domain='your.domain.com' \
--set global.spamcheck.enabled=true \
--set gitlab.spamcheck.image.tag=2c524472 \
mr-2241 .
-
Go to Admin > Settings > Reporting page in the GitLab instance, and update the external spamcheck settings as follows:
- Check the
Enable Spam Check via external API endpoint
checkbox - For URL of the external Spam Check endpoint use
grpc://gitlab-spamcheck.default.svc:8001
, wheredefault
is replaced with the Kubernetes namespace where GitLab is deployed. - Leave the API key field blank
- Check the
-
Create a public project in the GitLab instance.
-
As a different user (who is not a member of the project, and isn't using a gitlab.com email address), create an issue in the project with the following text as title and description:
fifa xxx porn stream fifa xxx porn stream
. -
See that issue creation has been blocked.
Edited by Juliet Wanjohi