Skip to content
Snippets Groups Projects
Commit 52d2f0e3 authored by Adrian-George Dumitrache's avatar Adrian-George Dumitrache
Browse files

Add GitLab Runner config

parent d506f48a
No related branches found
No related tags found
1 merge request!7Add GitLab Runner config
......@@ -22,6 +22,7 @@ minikube addons disable metrics-server
helm repo add kong https://charts.konghq.com
helm repo add portainer https://portainer.github.io/k8s/
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add gitlab https://charts.gitlab.io
helm repo update
kubectl apply -f prerequisites/
......@@ -36,7 +37,7 @@ helm install kong kong/ingress -n kong --create-namespace
helm install portainer portainer/portainer --set image.tag=lts
kubectl apply -f portainer/
# Install the Kube Prometheus stack
helm install prometheus prometheus-community/kube-prometheus-stack \
--namespace monitoring --create-namespace --version 45.7.1 \
-f grafana/grafana-values.yaml -f prometheus/prometheus-values.yaml
......@@ -44,6 +45,10 @@ helm install prometheus prometheus-community/kube-prometheus-stack \
kubectl apply -f prometheus/
kubectl apply -f grafana/
# Install GitLab Runner
helm install --namespace cicd gitlab-runner --create-namespace \
-f gitlab-runner/values.yaml gitlab/gitlab-runner
minikube tunnel # this will require root privileges and will block the terminal
```
......
gitlabUrl: "https://gitlab.cs.pub.ro"
serviceAccount:
create: true
rbac: { create: true }
runnerToken: glrt-t2_KDRCK952aDJFqsuF3qU9
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment