Skip to content

Commit 0a65559

Browse files
Merge pull request #28395 from deads2k/certs-11-fix-certs-after-break
Certs 11 fix certs after break
2 parents cab1ad4 + 2191486 commit 0a65559

File tree

8 files changed

+143
-45
lines changed

8 files changed

+143
-45
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ require (
2828
github.com/openshift/apiserver-library-go v0.0.0-20230915134751-5c71e94d6f05
2929
github.com/openshift/build-machinery-go v0.0.0-20220913142420-e25cf57ea46d
3030
github.com/openshift/client-go v0.0.0-20230926161409-848405da69e1
31-
github.com/openshift/library-go v0.0.0-20231102154438-cfcf2b4fbc87
31+
github.com/openshift/library-go v0.0.0-20231114105342-8fcee5af3f13
3232
github.com/pborman/uuid v1.2.0
3333
github.com/pkg/errors v0.9.1
3434
github.com/prometheus/client_golang v1.16.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -711,8 +711,8 @@ github.com/openshift/kubernetes/staging/src/k8s.io/pod-security-admission v0.0.0
711711
github.com/openshift/kubernetes/staging/src/k8s.io/pod-security-admission v0.0.0-20230926120034-e3ba6d9fbe72/go.mod h1:oLJ4FetmCVvyDXVnFb66XAdf9DXcnR4v3EE6ENVzDQI=
712712
github.com/openshift/kubernetes/staging/src/k8s.io/sample-apiserver v0.0.0-20230926120034-e3ba6d9fbe72 h1:W8NL1MiHFYzofXMtXE7ma2zH/wAzlj87crc9l/J8QzU=
713713
github.com/openshift/kubernetes/staging/src/k8s.io/sample-apiserver v0.0.0-20230926120034-e3ba6d9fbe72/go.mod h1:WYbrwAJFfUVjC8ddXYCLss7gvvlmZULpvn9aVcaZZME=
714-
github.com/openshift/library-go v0.0.0-20231102154438-cfcf2b4fbc87 h1:GcaI98ric0Q3WbZsTh8cIE39pgw12v3s3xuiIFO5zQ0=
715-
github.com/openshift/library-go v0.0.0-20231102154438-cfcf2b4fbc87/go.mod h1:8UzmrBMCn7+GzouL8DVYkL9COBQTB1Ggd13/mHJQCUg=
714+
github.com/openshift/library-go v0.0.0-20231114105342-8fcee5af3f13 h1:/ogd2wx77xZqW7sFXZRBGJ7qM36NrG2vr9P38nTeNzs=
715+
github.com/openshift/library-go v0.0.0-20231114105342-8fcee5af3f13/go.mod h1:8UzmrBMCn7+GzouL8DVYkL9COBQTB1Ggd13/mHJQCUg=
716716
github.com/openshift/onsi-ginkgo/v2 v2.6.1-0.20230811135323-13a5964cc98e h1:WgaylNSIB4uff7ieewaqIiEG3mP6jSMER8LCkoOEkys=
717717
github.com/openshift/onsi-ginkgo/v2 v2.6.1-0.20230811135323-13a5964cc98e/go.mod h1:gCQYp2Q+kSoIj7ykSVb9nskRSsR6PUj4AiLywzIhbKM=
718718
github.com/opentracing/opentracing-go v1.1.0/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=

test/extended/operators/certs.go

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,9 @@ var _ = g.Describe("[sig-arch][Late]", func() {
4141
o.Expect(err).NotTo(o.HaveOccurred())
4242
tlsArtifactFilename := fmt.Sprintf("raw-tls-artifacts-%s-%s-%s-%s.json", jobType.Topology, jobType.Architecture, jobType.Platform, jobType.Network)
4343

44-
currentPKIContent, err := certgraphanalysis.GatherCertsFromPlatformNamespaces(ctx, kubeClient, certgraphanalysis.SkipRevisioned)
44+
currentPKIContent, err := certgraphanalysis.GatherCertsFromPlatformNamespaces(ctx, kubeClient, certgraphanalysis.SkipRevisioned, certgraphanalysis.ElideProxyCADetails)
4545
o.Expect(err).NotTo(o.HaveOccurred())
4646

47-
// the content here is good, but proxy-ca contains a lot of entries for system-trust that doesn't help
48-
// us visualize the OCP certs, so if we detect that condition snip it
49-
pruneSystemTrust(currentPKIContent)
50-
5147
jsonBytes, err := json.MarshalIndent(currentPKIContent, "", " ")
5248
o.Expect(err).NotTo(o.HaveOccurred())
5349

vendor/github.com/openshift/library-go/pkg/certs/cert-inspection/certgraphanalysis/collection_options.go

Lines changed: 46 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/library-go/pkg/certs/cert-inspection/certgraphanalysis/collector.go

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

vendor/github.com/openshift/library-go/pkg/certs/cert-inspection/certgraphanalysis/metadata_options.go

Lines changed: 46 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/library-go/pkg/certs/cert-inspection/certgraphanalysis/options.go

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

vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,7 @@ github.com/openshift/client-go/user/informers/externalversions/internalinterface
971971
github.com/openshift/client-go/user/informers/externalversions/user
972972
github.com/openshift/client-go/user/informers/externalversions/user/v1
973973
github.com/openshift/client-go/user/listers/user/v1
974-
# github.com/openshift/library-go v0.0.0-20231102154438-cfcf2b4fbc87
974+
# github.com/openshift/library-go v0.0.0-20231114105342-8fcee5af3f13
975975
## explicit; go 1.20
976976
github.com/openshift/library-go/pkg/apiserver/admission/admissionrestconfig
977977
github.com/openshift/library-go/pkg/apiserver/admission/admissiontimeout

0 commit comments

Comments
 (0)