Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .ci-operator.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
build_root_image:
name: release
namespace: openshift
tag: golang-1.15
tag: golang-1.16
2 changes: 1 addition & 1 deletion Dockerfile.rhel7
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.15-openshift-4.8 AS builder
FROM registry.ci.openshift.org/ocp/builder:rhel-8-golang-1.16-openshift-4.8 AS builder
WORKDIR /go/src/github.com/openshift/cluster-authentication-operator
COPY . .
ENV GO_PACKAGE github.com/openshift/cluster-authentication-operator
Expand Down
38 changes: 17 additions & 21 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,33 +1,29 @@
module github.com/openshift/cluster-authentication-operator

go 1.15
go 1.16

require (
github.com/davecgh/go-spew v1.1.1
github.com/ghodss/yaml v1.0.0
github.com/go-bindata/go-bindata v3.1.2+incompatible
github.com/openshift/api v0.0.0-20210706092853-b63d499a70ce
github.com/openshift/build-machinery-go v0.0.0-20210423112049-9415d7ebd33e
github.com/openshift/client-go v0.0.0-20210521082421-73d9475a9142
github.com/openshift/library-go v0.0.0-20210715155611-70a39c8ba7a1
github.com/spf13/cobra v1.1.1
github.com/openshift/api v0.0.0-20210831091943-07e756545ac1
github.com/openshift/build-machinery-go v0.0.0-20210806203541-4ea9b6da3a37
github.com/openshift/client-go v0.0.0-20210831095141-e19a065e79f7
github.com/openshift/library-go v0.0.0-20211207082558-36821c7a1fa2
github.com/spf13/cobra v1.1.3
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.6.1
go.etcd.io/etcd v0.5.0-alpha.5.0.20200910180754-dd1b699fc489
go.uber.org/multierr v1.1.1-0.20180122172545-ddea229ff1df // indirect
golang.org/x/net v0.0.0-20210224082022-3d97a244fca7
github.com/stretchr/testify v1.7.0
go.etcd.io/etcd/client/v3 v3.5.0
golang.org/x/net v0.0.0-20210520170846-37e1c6afe023
gopkg.in/square/go-jose.v2 v2.2.2
gopkg.in/yaml.v2 v2.4.0
k8s.io/api v0.21.1
k8s.io/apimachinery v0.21.1
k8s.io/apiserver v0.21.1
k8s.io/client-go v0.21.1
k8s.io/component-base v0.21.1
k8s.io/klog/v2 v2.8.0
k8s.io/kube-aggregator v0.21.1
k8s.io/utils v0.0.0-20201110183641-67b214c5f920
k8s.io/api v0.22.1
k8s.io/apimachinery v0.22.1
k8s.io/apiserver v0.22.1
k8s.io/client-go v0.22.1
k8s.io/component-base v0.22.1
k8s.io/klog/v2 v2.9.0
k8s.io/kube-aggregator v0.22.1
k8s.io/utils v0.0.0-20210707171843-4b05e18ac7d9
sigs.k8s.io/kube-storage-version-migrator v0.0.4
)

// points to temporary-watch-reduction-patch-1.21 to pick up k/k/pull/101102 - please remove it once the pr merges and a new Z release is cut
replace k8s.io/apiserver => github.com/openshift/kubernetes-apiserver v0.0.0-20210419140141-620426e63a99
365 changes: 259 additions & 106 deletions go.sum

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pkg/controllers/configobservation/oauth/brand_ocp.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build ocp
// +build ocp

package oauth
Expand Down
1 change: 1 addition & 0 deletions pkg/controllers/configobservation/oauth/brand_okd.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build !ocp
// +build !ocp

package oauth
Expand Down
1 change: 1 addition & 0 deletions pkg/dependencymagnet/dependencymagnet.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
//go:build tools
// +build tools

// go mod won't pull in code that isn't depended upon, but we have some code we don't depend on from code that must be included
Expand Down
8 changes: 6 additions & 2 deletions pkg/operator/starter.go
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ func prepareOauthAPIServerOperator(ctx context.Context, controllerContext *contr
kubeInformers := certinformers.NewSharedInformerFactory(operatorCtx.kubeClient, resync)

nodeProvider := encryptiondeployer.NewDeploymentNodeProvider("openshift-oauth-apiserver", operatorCtx.kubeInformersForNamespaces)
deployer, err := encryptiondeployer.NewRevisionLabelPodDeployer("revision", "openshift-oauth-apiserver", operatorCtx.kubeInformersForNamespaces, operatorCtx.resourceSyncController, operatorCtx.kubeClient.CoreV1(), operatorCtx.kubeClient.CoreV1(), nodeProvider)
deployer, err := encryptiondeployer.NewRevisionLabelPodDeployer("revision", "openshift-oauth-apiserver", operatorCtx.kubeInformersForNamespaces, operatorCtx.kubeClient.CoreV1(), operatorCtx.kubeClient.CoreV1(), nodeProvider)
if err != nil {
return err
}
Expand Down Expand Up @@ -601,6 +601,7 @@ func prepareOauthAPIServerOperator(ctx context.Context, controllerContext *contr
operatorCtx.configClient.ConfigV1().APIServers(),
operatorCtx.operatorConfigInformer.Config().V1().APIServers(),
operatorCtx.kubeInformersForNamespaces,
operatorCtx.resourceSyncController,
).WithUnsupportedConfigPrefixForEncryptionControllers(
oauthapiconfigobservercontroller.OAuthAPIServerConfigPrefix,
).WithFinalizerController(
Expand Down Expand Up @@ -651,7 +652,7 @@ func prepareOauthAPIServerOperator(ctx context.Context, controllerContext *contr
eventRecorder,
)

authenticatorCertRequester := csr.NewClientCertificateController(
authenticatorCertRequester, err := csr.NewClientCertificateController(
csr.ClientCertOption{
SecretNamespace: "openshift-oauth-apiserver",
SecretName: "openshift-authenticator-certs",
Expand All @@ -671,6 +672,9 @@ func prepareOauthAPIServerOperator(ctx context.Context, controllerContext *contr
eventRecorder,
"OpenShiftAuthenticatorCertRequester",
)
if err != nil {
return err
}

labelsReq, err := labels.NewRequirement("authentication.openshift.io/csr", selection.Equals, []string{"openshift-authenticator"})
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion test/library/encryption/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"time"

"github.com/stretchr/testify/require"
"go.etcd.io/etcd/clientv3"
clientv3 "go.etcd.io/etcd/client/v3"

"k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
46 changes: 46 additions & 0 deletions vendor/github.com/coreos/go-systemd/v22/journal/journal.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

35 changes: 35 additions & 0 deletions vendor/github.com/coreos/go-systemd/v22/journal/journal_windows.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions vendor/github.com/coreos/pkg/NOTICE

This file was deleted.

39 changes: 0 additions & 39 deletions vendor/github.com/coreos/pkg/capnslog/README.md

This file was deleted.

Loading