add prometheus to deploy pipeline
This commit is contained in:
parent
242b70eb21
commit
e2cf25d255
1 changed files with 13 additions and 1 deletions
|
|
@ -92,3 +92,15 @@ steps:
|
|||
- kubectl apply -Rf manifests/pleroma
|
||||
# TODO: fix this
|
||||
- envsubst < manifests/pleroma/templates/deployment.yaml | kubectl apply -f -
|
||||
prometheus:
|
||||
image: cr.forge.lan/alk8s/alk8s
|
||||
pull: true
|
||||
environment:
|
||||
KUBECONFIG_BASE64:
|
||||
from_secret: kubeconfig_base64
|
||||
CI_COMMIT_SHA: ${CI_COMMIT_SHA}
|
||||
commands:
|
||||
- mkdir -p ~/.kube
|
||||
- echo $KUBECONFIG_BASE64 | base64 -d > ~/.kube/config
|
||||
- pwd
|
||||
- kubectl apply -Rf manifests/prometheus
|
||||
Loading…
Add table
Add a link
Reference in a new issue