部署动态 Pod Runner 控制器
yaml / yaml (pull_request) Successful in 12s

This commit is contained in:
2026-09-16 14:34:47 +00:00
parent 21b7b48cdf
commit 246b5023e7
11 changed files with 334 additions and 3 deletions
@@ -0,0 +1,17 @@
apiVersion: spire.spiffe.io/v1alpha1
kind: ClusterSPIFFEID
metadata:
name: gitea-dynamic-runner
spec:
className: spire-mgmt-spire
spiffeIDTemplate: 'spiffe://{{ .TrustDomain }}/ci/{{ index .PodMeta.Annotations "ci.ddupan.top/spiffe-path" }}'
namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: microvm-runner
podSelector:
matchLabels:
app.kubernetes.io/name: gitea-dynamic-runner
ci.ddupan.top/identity-bound: "true"
workloadSelectorTemplates:
- k8s:ns:microvm-runner
- k8s:sa:gitea-dynamic-runner