Skip to content

Commit

Permalink
Merge pull request #28489 from deads2k/update-certs-again
Browse files Browse the repository at this point in the history
Update certs again
  • Loading branch information
openshift-merge-bot[bot] committed Jan 4, 2024
2 parents 8e7a6b2 + efc9644 commit 13c8e24
Show file tree
Hide file tree
Showing 21 changed files with 7,022 additions and 8,855 deletions.
13 changes: 13 additions & 0 deletions test/extended/operators/certs.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import (
"k8s.io/cli-runtime/pkg/genericclioptions"

"github.com/openshift/api/annotations"
configv1 "github.com/openshift/api/config/v1"

g "github.com/onsi/ginkgo/v2"
o "github.com/onsi/gomega"
Expand Down Expand Up @@ -92,6 +93,12 @@ var _ = g.Describe("[sig-arch][Late]", func() {
if ok, _ := exutil.IsMicroShiftCluster(kubeClient); ok {
g.Skip("microshift does not auto-collect TLS.")
}
configClient := oc.AdminConfigClient()
infra, err := configClient.ConfigV1().Infrastructures().Get(ctx, "cluster", metav1.GetOptions{})
o.Expect(err).NotTo(o.HaveOccurred())
if infra.Status.ControlPlaneTopology == configv1.ExternalTopologyMode {
g.Skip("hypershift creates TLS differently and we're not yet ready.")
}

nodes := map[string]int{}
controlPlaneLabel := labels.SelectorFromSet(map[string]string{"node-role.kubernetes.io/control-plane": ""})
Expand Down Expand Up @@ -155,6 +162,12 @@ var _ = g.Describe("[sig-arch][Late]", func() {
if ok, _ := exutil.IsMicroShiftCluster(kubeClient); ok {
g.Skip("microshift does not auto-collect TLS.")
}
configClient := oc.AdminConfigClient()
infra, err := configClient.ConfigV1().Infrastructures().Get(ctx, "cluster", metav1.GetOptions{})
o.Expect(err).NotTo(o.HaveOccurred())
if infra.Status.ControlPlaneTopology == configv1.ExternalTopologyMode {
g.Skip("hypershift creates TLS differently and we're not yet ready.")
}

nodes := map[string]int{}
controlPlaneLabel := labels.SelectorFromSet(map[string]string{"node-role.kubernetes.io/control-plane": ""})
Expand Down
428 changes: 55 additions & 373 deletions tls/autoregenerate-after-expiry/autoregenerate-after-expiry.json

Large diffs are not rendered by default.

0 comments on commit 13c8e24

Please sign in to comment.