Skip to content

Commit

Permalink
Update module name to carvel.dev/kapp-controller
Browse files Browse the repository at this point in the history
Signed-off-by: João Pereira <[email protected]>
  • Loading branch information
joaopapereira committed Nov 1, 2023
1 parent 709219c commit dc35eed
Show file tree
Hide file tree
Showing 197 changed files with 615 additions and 615 deletions.
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
4 changes: 2 additions & 2 deletions pkg/apis/kappctrl/v1alpha1/generated.pb.go

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

2 changes: 1 addition & 1 deletion pkg/apis/kappctrl/v1alpha1/generated.proto

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

2 changes: 1 addition & 1 deletion pkg/apis/packaging/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/packaging/v1alpha1"
"carvel.dev/kapp-controller/pkg/apis/packaging/v1alpha1"
"k8s.io/apimachinery/pkg/runtime"
)

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

import (
"carvel.dev/kapp-controller/pkg/apis/kappctrl/v1alpha1"
versions "carvel.dev/vendir/pkg/vendir/versions/v1alpha1"
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/apis/kappctrl/v1alpha1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/packaging/v1alpha1/package_repository.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/apis/kappctrl/v1alpha1"
"carvel.dev/kapp-controller/pkg/apis/kappctrl/v1alpha1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/packaging/v1alpha1/zz_generated.deepcopy.go

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

4 changes: 2 additions & 2 deletions pkg/apiserver/apis/datapackaging/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
package install

import (
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/apiserver/apis/datapackaging"
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/apiserver/apis/datapackaging/v1alpha1"
"carvel.dev/kapp-controller/pkg/apiserver/apis/datapackaging"
"carvel.dev/kapp-controller/pkg/apiserver/apis/datapackaging/v1alpha1"
"k8s.io/apimachinery/pkg/runtime"
utilruntime "k8s.io/apimachinery/pkg/util/runtime"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/apis/datapackaging/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
package datapackaging

import (
kcv1alpha1 "github.com/vmware-tanzu/carvel-kapp-controller/pkg/apis/kappctrl/v1alpha1"
kcv1alpha1 "carvel.dev/kapp-controller/pkg/apis/kappctrl/v1alpha1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/apis/datapackaging/v1alpha1/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

// +k8s:openapi-gen=true
// +k8s:deepcopy-gen=package
// +k8s:conversion-gen=github.com/vmware-tanzu/carvel-kapp-controller/pkg/apiserver/apis/datapackaging
// +k8s:conversion-gen=carvel.dev/kapp-controller/pkg/apiserver/apis/datapackaging
// +k8s:defaulter-gen=TypeMeta
// +groupName=data.packaging.carvel.dev

Expand Down
6 changes: 3 additions & 3 deletions pkg/apiserver/apis/datapackaging/v1alpha1/generated.pb.go

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

4 changes: 2 additions & 2 deletions pkg/apiserver/apis/datapackaging/v1alpha1/generated.proto

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

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

import (
kcv1alpha1 "github.com/vmware-tanzu/carvel-kapp-controller/pkg/apis/kappctrl/v1alpha1"
kcv1alpha1 "carvel.dev/kapp-controller/pkg/apis/kappctrl/v1alpha1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
)
Expand Down

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.

2 changes: 1 addition & 1 deletion pkg/apiserver/apis/datapackaging/validation/validations.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import (
"fmt"
"strings"

"carvel.dev/kapp-controller/pkg/apiserver/apis/datapackaging"
"carvel.dev/vendir/pkg/vendir/versions"
semver "github.com/k14s/semver/v4"
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/apiserver/apis/datapackaging"
"k8s.io/apimachinery/pkg/util/validation"
"k8s.io/apimachinery/pkg/util/validation/field"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ package validation_test
import (
"testing"

"carvel.dev/kapp-controller/pkg/apiserver/apis/datapackaging/validation"
"github.com/stretchr/testify/assert"
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/apiserver/apis/datapackaging/validation"
"k8s.io/apimachinery/pkg/util/validation/field"
)

Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/apis/datapackaging/zz_generated.deepcopy.go

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

14 changes: 7 additions & 7 deletions pkg/apiserver/apiserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ import (
"os"
"time"

kcinstall "carvel.dev/kapp-controller/pkg/apis/kappctrl/install"
"carvel.dev/kapp-controller/pkg/apiserver/apis/datapackaging"
datapkginginstall "carvel.dev/kapp-controller/pkg/apiserver/apis/datapackaging/install"
"carvel.dev/kapp-controller/pkg/apiserver/apis/datapackaging/v1alpha1"
"carvel.dev/kapp-controller/pkg/apiserver/openapi"
packagerest "carvel.dev/kapp-controller/pkg/apiserver/registry/datapackaging"
kcclient "carvel.dev/kapp-controller/pkg/client/clientset/versioned"
"github.com/go-logr/logr"
kcinstall "github.com/vmware-tanzu/carvel-kapp-controller/pkg/apis/kappctrl/install"
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/apiserver/apis/datapackaging"
datapkginginstall "github.com/vmware-tanzu/carvel-kapp-controller/pkg/apiserver/apis/datapackaging/install"
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/apiserver/apis/datapackaging/v1alpha1"
"github.com/vmware-tanzu/carvel-kapp-controller/pkg/apiserver/openapi"
packagerest "github.com/vmware-tanzu/carvel-kapp-controller/pkg/apiserver/registry/datapackaging"
kcclient "github.com/vmware-tanzu/carvel-kapp-controller/pkg/client/clientset/versioned"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
Expand Down
2 changes: 1 addition & 1 deletion pkg/apiserver/client/clientset/versioned/clientset.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.

2 changes: 1 addition & 1 deletion pkg/apiserver/client/clientset/versioned/fake/register.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.

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

Loading

0 comments on commit dc35eed

Please sign in to comment.