Skip to content

Commit

Permalink
Move pkg/helm to internal/helm (#3537)
Browse files Browse the repository at this point in the history
* Move pkg/helm to internal/helm
* internal/helm: move types to internal/types

Co-authored-by: Joe Lanford <[email protected]>
  • Loading branch information
hasbro17 and joelanford authored Jul 27, 2020
1 parent 62a8f29 commit 8b95fdc
Show file tree
Hide file tree
Showing 19 changed files with 26 additions and 11 deletions.
15 changes: 15 additions & 0 deletions changelog/fragments/mv-pkg-helm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# entries is a list of entries to include in
# release notes and/or the migration guide
entries:
- description: >
Move pkg/helm to internal/helm
kind: "removal"
# Is this a breaking change?
breaking: yes
migration:
header: Move pkg/helm to internal/helm
body: >
TBD
8 changes: 4 additions & 4 deletions cmd/helm-operator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ import (
"sigs.k8s.io/controller-runtime/pkg/manager"
"sigs.k8s.io/controller-runtime/pkg/manager/signals"

"github.com/operator-framework/operator-sdk/internal/helm/controller"
"github.com/operator-framework/operator-sdk/internal/helm/flags"
"github.com/operator-framework/operator-sdk/internal/helm/release"
"github.com/operator-framework/operator-sdk/internal/helm/watches"
"github.com/operator-framework/operator-sdk/internal/log/zap"
"github.com/operator-framework/operator-sdk/internal/util/k8sutil"
"github.com/operator-framework/operator-sdk/pkg/helm/controller"
"github.com/operator-framework/operator-sdk/pkg/helm/flags"
"github.com/operator-framework/operator-sdk/pkg/helm/release"
"github.com/operator-framework/operator-sdk/pkg/helm/watches"
sdkVersion "github.com/operator-framework/operator-sdk/version"
)

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ import (

libhandler "github.com/operator-framework/operator-lib/handler"
"github.com/operator-framework/operator-lib/predicate"
"github.com/operator-framework/operator-sdk/internal/helm/release"
"github.com/operator-framework/operator-sdk/internal/util/k8sutil"
"github.com/operator-framework/operator-sdk/pkg/helm/release"
)

var log = logf.Log.WithName("helm.controller")
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ import (
"sigs.k8s.io/controller-runtime/pkg/controller/controllerutil"
"sigs.k8s.io/controller-runtime/pkg/reconcile"

"github.com/operator-framework/operator-sdk/pkg/helm/internal/diff"
"github.com/operator-framework/operator-sdk/pkg/helm/internal/types"
"github.com/operator-framework/operator-sdk/pkg/helm/release"
"github.com/operator-framework/operator-sdk/internal/helm/internal/diff"
"github.com/operator-framework/operator-sdk/internal/helm/internal/types"
"github.com/operator-framework/operator-sdk/internal/helm/release"
)

// blank assignment to verify that HelmOperatorReconciler implements reconcile.Reconciler
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import (
"k8s.io/apimachinery/pkg/util/strategicpatch"
"k8s.io/cli-runtime/pkg/resource"

"github.com/operator-framework/operator-sdk/pkg/helm/internal/types"
"github.com/operator-framework/operator-sdk/internal/helm/internal/types"
)

// Manager manages a Helm release. It can install, upgrade, reconcile,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import (
v1 "k8s.io/client-go/kubernetes/typed/core/v1"
crmanager "sigs.k8s.io/controller-runtime/pkg/manager"

"github.com/operator-framework/operator-sdk/pkg/helm/client"
"github.com/operator-framework/operator-sdk/pkg/helm/internal/types"
"github.com/operator-framework/operator-sdk/internal/helm/client"
"github.com/operator-framework/operator-sdk/internal/helm/internal/types"
)

// ManagerFactory creates Managers that are specific to custom resources. It is
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8b95fdc

Please sign in to comment.