add prometheus to deploy pipeline

This commit is contained in:
red 2025-07-13 22:03:34 -04:00
parent 242b70eb21
commit e2cf25d255

View file

@ -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