Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 4 additions & 0 deletions .do/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ CODACY_URL?="https://dev.k8s.dev.codacy.org"
GRAFANA_URL?="https://grafana.k8s.dev.codacy.org"
RELEASE_NAME?="codacy"
NAMESPACE?="codacy"
MINIO_ACCESS_KEY=$(shell openssl rand -hex 14)
MINIO_SECRET_KEY=$(shell openssl rand -base64 14)
HELM_REPOSITORY?=codacy-incubator
DEPLOYMENTS?=$(shell kubectl get deployments -n "${NAMESPACE}" | awk '{print $$1}' | tail -n +2 | grep -v minio)
WORKER_VERSION?=$(shell grep "engine" -A 2 ../codacy/requirements.lock | grep version | cut -d : -f 2 | tr -d '[:blank:]')
Expand All @@ -17,6 +19,8 @@ define call_helm_install
-f ../codacy/values-production.yaml \
-f values.yaml \
--namespace ${2} \
--set global.minio.secretKey=$${MINIO_SECRET_KEY} \
--set global.minio.accessKey=$${MINIO_ACCESS_KEY} \
--set global.imagePullSecrets[0].name=docker-credentials \
--set global.play.cryptoSecret=$${SHARED_PLAY_CRYPTO_SECRET} \
--set global.akka.sessionSecret=$${SHARED_AKKA_SESSION_SECRET} \
Expand Down
2 changes: 0 additions & 2 deletions codacy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,6 @@ global:
create: true
location: codacy-minio
port: 9000
accessKey: "AKIAIOSFODNN7EXAMPLE"
secretKey: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY"

s3:
bucket:
Expand Down