Skip to content

Commit 1be7b95

Browse files
committed
UPSTREAM: <carry>: Add OpenShift tooling, images, configs and docs
1 parent ebea65e commit 1be7b95

File tree

4 files changed

+30
-4
lines changed

4 files changed

+30
-4
lines changed

hack/make-rules/test.sh

+2-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,8 @@ kube::test::find_go_packages() {
5252
-e '^k8s.io/kubernetes/test/e2e$' \
5353
-e '^k8s.io/kubernetes/test/e2e_node(/.*)?$' \
5454
-e '^k8s.io/kubernetes/test/e2e_kubeadm(/.*)?$' \
55-
-e '^k8s.io/.*/test/integration(/.*)?$'
55+
-e '^k8s.io/.*/test/integration(/.*)?$' \
56+
-e '^k8s.io/kubernetes/openshift-hack/e2e(/.*)?$'
5657
)
5758
}
5859

openshift-hack/e2e/annotate/rules.go

+24-3
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,21 @@ var (
1111
"[Disabled:Alpha]": {
1212
`\[Feature:StorageVersionAPI\]`,
1313
`\[Feature:InPlacePodVerticalScaling\]`,
14-
`\[Feature:RecoverVolumeExpansionFailure\]`,
15-
`\[Feature:WatchList\]`,
1614
`\[Feature:ServiceCIDRs\]`,
1715
`\[Feature:ClusterTrustBundle\]`,
1816
`\[Feature:SELinuxMount\]`,
1917
`\[FeatureGate:SELinuxMount\]`,
20-
`\[Feature:RelaxedEnvironmentVariableValidation\]`,
2118
`\[Feature:UserNamespacesPodSecurityStandards\]`,
2219
`\[Feature:UserNamespacesSupport\]`, // disabled Beta
2320
`\[Feature:DynamicResourceAllocation\]`,
2421
`\[Feature:VolumeAttributesClass\]`, // disabled Beta
22+
// 4.19
23+
`\[Feature:PodLevelResources\]`,
24+
`\[Feature:SchedulerAsyncPreemption\]`,
25+
`\[Feature:RelaxedDNSSearchValidation\]`,
26+
`\[Feature:PodLogsQuerySplitStreams\]`,
27+
`\[Feature:PodLifecycleSleepActionAllowZero\]`,
28+
`\[Feature:volumegroupsnapshot\]`,
2529
},
2630
// tests for features that are not implemented in openshift
2731
"[Disabled:Unimplemented]": {
@@ -162,7 +166,24 @@ var (
162166
`\[sig-cli\] Kubectl client Kubectl prune with applyset should apply and prune objects`, // TODO(workloads): alpha feature in k8s 1.27. It's failing with `error: unknown flag: --applyset`. Needs investigation
163167

164168
// https://issues.redhat.com/browse/OCPBUGS-17194
169+
// https://redhat-internal.slack.com/archives/C07V32J0YKF/p1732908903851389
165170
`\[sig-node\] ImageCredentialProvider \[Feature:KubeletCredentialProviders\] should be able to create pod with image credentials fetched from external credential provider`,
171+
172+
// https://issues.redhat.com/browse/OCPBUGS-45214
173+
// Even though this feature is not GA in k/k, it will be GA in OCP 4.19, so we should fix it and unskip this test
174+
`\[Feature:volumegroupsnapshot\] VolumeGroupSnapshottable should create snapshots for multiple volumes in a pod`,
175+
176+
// https://issues.redhat.com/browse/OCPBUGS-45220
177+
`\[sig-api-machinery\] API Streaming`,
178+
179+
// https://redhat-internal.slack.com/archives/C07V32J0YKF/p1732906882980939
180+
`\[sig-network\] Services should implement NodePort and HealthCheckNodePort correctly when ExternalTrafficPolicy changes`,
181+
182+
// https://redhat-internal.slack.com/archives/C07V32J0YKF/p1732906393041609
183+
`\[sig-cli\] Kubectl Port forwarding Shutdown client connection while the remote stream is writing data to the port-forward connection port-forward should keep working after detect broken connection`,
184+
185+
// https://redhat-internal.slack.com/archives/C07V32J0YKF/p1732907788156959
186+
`\[sig-node\] PodRejectionStatus Kubelet should reject pod when the node didn't have enough resource`,
166187
},
167188
// tests that may work, but we don't support them
168189
"[Disabled:Unsupported]": {

staging/src/k8s.io/code-generator/examples/hack/verify-codegen.sh

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ else
4343
exit 1
4444
fi
4545

46+
GOFLAGS=-mod=readonly
47+
4648
# smoke test
4749
echo "Smoke testing examples by compiling..."
4850
pushd "${SCRIPT_ROOT}"

staging/src/k8s.io/code-generator/kube_codegen.sh

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ set -o pipefail
2727

2828
KUBE_CODEGEN_ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd -P)"
2929

30+
GOFLAGS=-mod=readonly
31+
3032
function kube::codegen::internal::findz() {
3133
# We use `find` rather than `git ls-files` because sometimes external
3234
# projects use this across repos. This is an imperfect wrapper of find,

0 commit comments

Comments
 (0)