Skip to content

Commit 7401291

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

File tree

4 files changed

+29
-4
lines changed

4 files changed

+29
-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

+23-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]": {
@@ -163,6 +167,22 @@ var (
163167

164168
// https://issues.redhat.com/browse/OCPBUGS-17194
165169
`\[sig-node\] ImageCredentialProvider \[Feature:KubeletCredentialProviders\] should be able to create pod with image credentials fetched from external credential provider`,
170+
171+
// https://issues.redhat.com/browse/OCPBUGS-45214
172+
// 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
173+
`\[Feature:volumegroupsnapshot\] VolumeGroupSnapshottable should create snapshots for multiple volumes in a pod`,
174+
175+
// https://issues.redhat.com/browse/OCPBUGS-45220
176+
// `\[sig-api-machinery\] API Streaming`,
177+
178+
// https://issues.redhat.com/browse/OCPBUGS-45273
179+
`\[sig-network\] Services should implement NodePort and HealthCheckNodePort correctly when ExternalTrafficPolicy changes`,
180+
181+
// https://issues.redhat.com/browse/OCPBUGS-45273
182+
`\[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`,
183+
184+
// https://github.com/kubernetes/kubernetes/issues/129056
185+
`\[sig-node\] PodRejectionStatus Kubelet should reject pod when the node didn't have enough resource`,
166186
},
167187
// tests that may work, but we don't support them
168188
"[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)