Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the module name #1390 #1557

Merged
merged 1 commit into from
May 13, 2024
Merged
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions cmd/controller/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ import (
"strings"
"time"

"carvel.dev/kapp-controller/pkg/apiserver"
pkgclient "carvel.dev/kapp-controller/pkg/apiserver/client/clientset/versioned"
"carvel.dev/kapp-controller/pkg/app"
kcclient "carvel.dev/kapp-controller/pkg/client/clientset/versioned"
"carvel.dev/kapp-controller/pkg/componentinfo"
kcconfig "carvel.dev/kapp-controller/pkg/config"
"carvel.dev/kapp-controller/pkg/exec"
"carvel.dev/kapp-controller/pkg/kubeconfig"
"carvel.dev/kapp-controller/pkg/memdir"
"carvel.dev/kapp-controller/pkg/metrics"
pkginstall "carvel.dev/kapp-controller/pkg/packageinstall"
"carvel.dev/kapp-controller/pkg/pkgrepository"
"carvel.dev/kapp-controller/pkg/reftracker"
"carvel.dev/kapp-controller/pkg/sidecarexec"
"github.com/go-logr/logr"
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/apiserver"
pkgclient "github.com/vmware-tanzu/carvel-kapp-controller/pkg/apiserver/client/clientset/versioned"
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/app"
kcclient "github.com/vmware-tanzu/carvel-kapp-controller/pkg/client/clientset/versioned"
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/componentinfo"
kcconfig "github.com/vmware-tanzu/carvel-kapp-controller/pkg/config"
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/exec"
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/kubeconfig"
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/memdir"
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/metrics"
pkginstall "github.com/vmware-tanzu/carvel-kapp-controller/pkg/packageinstall"
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/pkgrepository"
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/reftracker"
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/sidecarexec"
"k8s.io/client-go/kubernetes"
_ "k8s.io/client-go/plugin/pkg/client/auth/gcp" // Initialize gcp client auth plugin
"k8s.io/component-base/cli/flag"
Expand Down
4 changes: 2 additions & 2 deletions cmd/controller/sidecarexec.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"syscall"
"time"

"carvel.dev/kapp-controller/pkg/exec"
"carvel.dev/kapp-controller/pkg/sidecarexec"
"github.com/go-logr/logr"
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/exec"
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/sidecarexec"
"sigs.k8s.io/controller-runtime/pkg/log/zap"
)

Expand Down
2 changes: 1 addition & 1 deletion docs/dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ This workflow will:
* Upload `release.yml` to the GitHub release

After the release process finishes successfully, you can view the newly drafted release via
the GitHub UI [here](https://github.com/vmware-tanzu/carvel-kapp-controller/releases).
the GitHub UI [here](https://github.com/carvel-dev/kapp-controller/releases).

The newly published release will be available as a Draft (i.e. not available to the public).
Release notes can be autogenerated by GitHub, but make sure to call attention to any points
Expand Down
4 changes: 2 additions & 2 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

Since you need to provide service account for App CRs, we've included two common service account configurations:

- https://github.com/vmware-tanzu/carvel-kapp-controller/blob/master/examples/rbac/default-ns.yml: It creates `default-ns-sa` service account in `default` namespace that allows to change any resource in `default` namespace. (Example usage: `simple-app-http.yml`)
- https://github.com/carvel-dev/kapp-controller/blob/master/examples/rbac/default-ns.yml: It creates `default-ns-sa` service account in `default` namespace that allows to change any resource in `default` namespace. (Example usage: `simple-app-http.yml`)

- https://github.com/vmware-tanzu/carvel-kapp-controller/blob/master/examples/rbac/cluster-admin.yml: It creates `cluster-admin-sa` service account within `default` namespace that allows to change _any_ resource in the cluster. (Example usage: `istio-knative.yml`)
- https://github.com/carvel-dev/kapp-controller/blob/master/examples/rbac/cluster-admin.yml: It creates `cluster-admin-sa` service account within `default` namespace that allows to change _any_ resource in the cluster. (Example usage: `istio-knative.yml`)

```bash
$ kapp deploy -a default-ns-rbac -f https://raw.githubusercontent.com/carvel-dev/kapp-controller/develop/examples/rbac/default-ns.yml
Expand Down
2 changes: 1 addition & 1 deletion examples/kc-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
serviceAccountName: cluster-admin-sa
fetch:
- http:
url: https://github.com/vmware-tanzu/carvel-kapp-controller/releases/download/v0.35.0/release.yml
url: https://github.com/carvel-dev/kapp-controller/releases/download/v0.35.0/release.yml
template:
- ytt: {}
- kbld: {}
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/vmware-tanzu/carvel-kapp-controller
module carvel.dev/kapp-controller

go 1.21

Expand Down
2 changes: 1 addition & 1 deletion hack/gen-apiserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set -o xtrace
source hack/utils.sh
export GOPATH="$(go_mod_gopath_hack)"
trap "rm -rf ${GOPATH}; git checkout vendor" EXIT
KC_PKG="github.com/vmware-tanzu/carvel-kapp-controller"
KC_PKG="carvel.dev/kapp-controller"

# Following patch allows us to name gen-s with a name Package
# (without it generated Go code is not valid since word "package" is reserved)
Expand Down
2 changes: 1 addition & 1 deletion hack/gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set -o xtrace
source hack/utils.sh
export GOPATH="$(go_mod_gopath_hack)"
trap "rm -rf ${GOPATH}" EXIT
KC_PKG="github.com/vmware-tanzu/carvel-kapp-controller"
KC_PKG="carvel.dev/kapp-controller"

rm -rf pkg/client

Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/internalpackaging/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
package install

import (
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/apis/internalpackaging/v1alpha1"
"carvel.dev/kapp-controller/pkg/apis/internalpackaging/v1alpha1"
"k8s.io/apimachinery/pkg/runtime"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/internalpackaging/v1alpha1/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
package v1alpha1

import (
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/apiserver/apis/datapackaging"
"carvel.dev/kapp-controller/pkg/apiserver/apis/datapackaging"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/kappctrl/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
package install

import (
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/apis/kappctrl/v1alpha1"
"carvel.dev/kapp-controller/pkg/apis/kappctrl/v1alpha1"
"k8s.io/apimachinery/pkg/runtime"
)

Expand Down
Loading
Loading