Skip to content

Commit c9c0cdb

Browse files
committed
pkg/util/k8sutil -> pkg/k8s, pkg/util/tlsutil -> pkg/tls
1 parent d8e1982 commit c9c0cdb

File tree

12 files changed

+7
-7
lines changed

12 files changed

+7
-7
lines changed

commands/operator-sdk/cmd/up/local.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ import (
3030
"github.com/operator-framework/operator-sdk/internal/util/projutil"
3131
ansibleOperator "github.com/operator-framework/operator-sdk/pkg/ansible/operator"
3232
proxy "github.com/operator-framework/operator-sdk/pkg/ansible/proxy"
33+
k8sutil "github.com/operator-framework/operator-sdk/pkg/k8s"
3334
"github.com/operator-framework/operator-sdk/pkg/scaffold"
3435
ansibleScaffold "github.com/operator-framework/operator-sdk/pkg/scaffold/ansible"
35-
"github.com/operator-framework/operator-sdk/pkg/util/k8sutil"
3636
sdkVersion "github.com/operator-framework/operator-sdk/version"
3737

3838
"github.com/sirupsen/logrus"
File renamed without changes.
File renamed without changes.
File renamed without changes.

pkg/scaffold/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import (
4444
"{{ .Repo }}/pkg/apis"
4545
"{{ .Repo }}/pkg/controller"
4646
47-
k8sutil "github.com/operator-framework/operator-sdk/pkg/util/k8sutil"
47+
k8sutil "github.com/operator-framework/operator-sdk/pkg/k8s"
4848
sdkVersion "github.com/operator-framework/operator-sdk/version"
4949
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
5050
"sigs.k8s.io/controller-runtime/pkg/client/config"

pkg/scaffold/cmd_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import (
4040
4141
"github.com/example-inc/app-operator/pkg/apis"
4242
"github.com/example-inc/app-operator/pkg/controller"
43-
k8sutil "github.com/operator-framework/operator-sdk/pkg/util/k8sutil"
43+
k8sutil "github.com/operator-framework/operator-sdk/pkg/k8s"
4444
sdkVersion "github.com/operator-framework/operator-sdk/version"
4545
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
4646
"sigs.k8s.io/controller-runtime/pkg/client/config"

pkg/sdk/metrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"net/http"
2020
"strconv"
2121

22-
k8sutil "github.com/operator-framework/operator-sdk/pkg/util/k8sutil"
22+
k8sutil "github.com/operator-framework/operator-sdk/pkg/k8s"
2323
"github.com/prometheus/client_golang/prometheus/promhttp"
2424
"github.com/sirupsen/logrus"
2525
v1 "k8s.io/api/core/v1"
File renamed without changes.

pkg/util/tlsutil/primitives.go renamed to pkg/tls/primitives.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ func newSelfSignedCACertificate(key *rsa.PrivateKey) (*x509.Certificate, error)
8787
NotAfter: now.Add(duration365d).UTC(),
8888
KeyUsage: x509.KeyUsageKeyEncipherment | x509.KeyUsageDigitalSignature | x509.KeyUsageCertSign,
8989
BasicConstraintsValid: true,
90-
IsCA: true,
90+
IsCA: true,
9191
}
9292
certDERBytes, err := x509.CreateCertificate(rand.Reader, &tmpl, &tmpl, key.Public(), key)
9393
if err != nil {
File renamed without changes.

0 commit comments

Comments
 (0)