Skip to content

Commit 12c7812

Browse files
Merge pull request openshift#7466 from qJkee/OCPVE-648
OCPVE-648: gomod: bump api version with CloudCredential cap
2 parents 29933f5 + 6433dc7 commit 12c7812

34 files changed

+2905
-192
lines changed

data/data/bootstrap/files/usr/local/bin/bootkube.sh.template

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,10 @@ then
440440
--manifests-dir=/assets/manifests \
441441
--cloud-credential-operator-image=${CLOUD_CREDENTIAL_OPERATOR_IMAGE}
442442

443-
cp cco-bootstrap/manifests/* manifests/
443+
# skip copy of manifests in case when CloudCredential capability disabled
444+
if [ -d cco-bootstrap/manifests ]; then
445+
cp cco-bootstrap/manifests/* manifests/
446+
fi
444447
# skip copy if static pod manifest does not exist (ie CCO has been disabled)
445448
if [ -f cco-bootstrap/bootstrap-manifests/cloud-credential-operator-pod.yaml ]; then
446449
cp cco-bootstrap/bootstrap-manifests/* bootstrap-manifests/

data/data/install.openshift.io_installconfigs.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ spec:
8080
- DeploymentConfig
8181
- ImageRegistry
8282
- OperatorLifecycleManager
83+
- CloudCredential
8384
type: string
8485
type: array
8586
baselineCapabilitySet:

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ require (
6060
github.com/microsoftgraph/msgraph-sdk-go v0.47.0
6161
github.com/nutanix-cloud-native/prism-go-client v0.2.1-0.20220804130801-c8a253627c64
6262
github.com/onsi/gomega v1.28.1
63-
github.com/openshift/api v0.0.0-20231128111040-e1845c5a7acd
63+
github.com/openshift/api v0.0.0-20231204192004-bfea29e5e6c4
6464
github.com/openshift/assisted-image-service v0.0.0-20230829160050-0b98ec74397b
6565
github.com/openshift/assisted-service/api v0.0.0
6666
github.com/openshift/assisted-service/client v0.0.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -952,8 +952,8 @@ github.com/opencontainers/selinux v1.8.2/go.mod h1:MUIHuUEvKB1wtJjQdOyYRgOnLD2xA
952952
github.com/openshift/api v0.0.0-20200326160804-ecb9283fe820/go.mod h1:RKMJ5CBnljLfnej+BJ/xnOWc3kZDvJUaIAEq2oKSPtE=
953953
github.com/openshift/api v0.0.0-20200827090112-c05698d102cf/go.mod h1:M3xexPhgM8DISzzRpuFUy+jfPjQPIcs9yqEYj17mXV8=
954954
github.com/openshift/api v0.0.0-20200829102639-8a3a835f1acf/go.mod h1:M3xexPhgM8DISzzRpuFUy+jfPjQPIcs9yqEYj17mXV8=
955-
github.com/openshift/api v0.0.0-20231128111040-e1845c5a7acd h1:bkX3IPDizf3+oYTIn10KbSIHTCsns1Ov6Ilv86Vm+Yc=
956-
github.com/openshift/api v0.0.0-20231128111040-e1845c5a7acd/go.mod h1:qNtV0315F+f8ld52TLtPvrfivZpdimOzTi3kn9IVbtU=
955+
github.com/openshift/api v0.0.0-20231204192004-bfea29e5e6c4 h1:5RyeLvTSZEn/fDQA6e6+qIvFPssWjreY8pbwfg4/EEQ=
956+
github.com/openshift/api v0.0.0-20231204192004-bfea29e5e6c4/go.mod h1:qNtV0315F+f8ld52TLtPvrfivZpdimOzTi3kn9IVbtU=
957957
github.com/openshift/assisted-image-service v0.0.0-20230829160050-0b98ec74397b h1:wLVEgmzQjs3t4Z96gZzSLF/ws6ULliAks7z1lozNJrE=
958958
github.com/openshift/assisted-image-service v0.0.0-20230829160050-0b98ec74397b/go.mod h1:KTt/pnfs9gt0McDPrb0zVTkwd0xIFNik/ZJROIBzsbc=
959959
github.com/openshift/assisted-service/api v0.0.0-20230831114549-1922eda29cf8 h1:+fZLKbycDo4JeLwPGVSAgf2XPaJGLM341l9ZfrrlxG0=

pkg/types/validation/installconfig_test.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -574,16 +574,6 @@ func TestValidateInstallConfig(t *testing.T) {
574574
}(),
575575
expectedError: `networking\.clusterNetworkMTU: Invalid value: 8000: cluster network MTU is not valid with network plugin OpenShiftSDN$`,
576576
},
577-
{
578-
name: "networking clusterNetworkMTU - unsupported network type",
579-
installConfig: func() *types.InstallConfig {
580-
c := validInstallConfig()
581-
c.Networking.NetworkType = string(operv1.NetworkTypeKuryr)
582-
c.Networking.ClusterNetworkMTU = 8000
583-
return c
584-
}(),
585-
expectedError: `networking\.clusterNetworkMTU: Invalid value: 8000: cluster network MTU is not valid with network plugin Kuryr\]$`,
586-
},
587577
{
588578
name: "missing control plane",
589579
installConfig: func() *types.InstallConfig {

vendor/github.com/openshift/api/config/v1/0000_00_cluster-version-operator_01_clusterversion.crd.yaml

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/openshift/api/config/v1/0000_10_config-operator_01_authentication.crd-CustomNoUpgrade.yaml

Lines changed: 155 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)