Merge pull request #8887 from kaovilai/exposerv1
Run the E2E test on kind / build (push) Failing after 6m37s
Run the E2E test on kind / setup-test-matrix (push) Successful in 3s
Run the E2E test on kind / run-e2e-test (push) Has been skipped
Main CI / Build (push) Failing after 36s
Close stale issues and PRs / stale (push) Successful in 8s
Trivy Nightly Scan / Trivy nightly scan (velero, main) (push) Failing after 1m8s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-aws, main) (push) Failing after 54s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-gcp, main) (push) Failing after 52s
Trivy Nightly Scan / Trivy nightly scan (velero-plugin-for-microsoft-azure, main) (push) Failing after 55s

Fix undefined v1 for corev1api
This commit is contained in:
lyndon-li
2025-04-28 16:54:33 +08:00
committed by GitHub
+2 -2
View File
@@ -36,8 +36,8 @@ type inheritedPodInfo struct {
volumes []corev1api.Volume
logLevelArgs []string
logFormatArgs []string
dnsPolicy v1.DNSPolicy
dnsConfig *v1.PodDNSConfig
dnsPolicy corev1api.DNSPolicy
dnsConfig *corev1api.PodDNSConfig
}
func getInheritedPodInfo(ctx context.Context, client kubernetes.Interface, veleroNamespace string, osType string) (inheritedPodInfo, error) {