共享 DeploymentRuntimeConfig 的提供者之间对 ServiceAccount 的 ownerReferences 进行争夺,导致无限的调解循环
作者: wasabii创建于 2026年8月22日更新于 2026年9月23日
The relevant code seems to be ServiceAccountWithOwnerReferences in internal/controller/pkg/runtime/runtime_override_options.go:
func ServiceAccountWithOwnerReferences(owners []metav1.OwnerReference) ServiceAccountOverride {
return func(sa *corev1.ServiceAccount) {
sa.OwnerReferences = owners
}
}which runtime.go
…
内容来源: crossplane/crossplane