ci(jenkins): fix glue test VM URL and default SA observer RBAC

This commit is contained in:
Brad Stein 2026-04-19 15:06:13 -03:00
parent 32410555cd
commit 9e3cc0f760
2 changed files with 10 additions and 1 deletions

View File

@ -7,7 +7,10 @@ import requests
import yaml
VM_URL = os.environ.get("VM_URL", "http://victoria-metrics-single-server:8428").rstrip("/")
VM_URL = os.environ.get(
"VM_URL",
"http://victoria-metrics-single-server.monitoring.svc.cluster.local:8428",
).rstrip("/")
CONFIG_PATH = Path(__file__).with_name("config.yaml")

View File

@ -35,6 +35,9 @@ subjects:
- kind: ServiceAccount
name: jenkins
namespace: jenkins
- kind: ServiceAccount
name: default
namespace: jenkins
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
@ -60,6 +63,9 @@ subjects:
- kind: ServiceAccount
name: jenkins
namespace: jenkins
- kind: ServiceAccount
name: default
namespace: jenkins
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole