Skip to content

Commit

Permalink
Remove adsk internal domains
Browse files Browse the repository at this point in the history
  • Loading branch information
greghaynes committed Oct 2, 2023
1 parent 56089e4 commit b6ba752
Show file tree
Hide file tree
Showing 26 changed files with 55 additions and 199 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
idpbuilder
bin/*
.DS_Store
cover.out
cover.out
pkg/controllers/resources/*
4 changes: 2 additions & 2 deletions api/v1alpha1/groupversion_info.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// +kubebuilder:object:generate=true
// +groupName=idpbuilder.adskeng.net
// +groupName=idpbuilder.cnoe.io
package v1alpha1

import (
Expand All @@ -9,7 +9,7 @@ import (

var (
// GroupVersion is group version used to register these objects
GroupVersion = schema.GroupVersion{Group: "idpbuilder.adskeng.net", Version: "v1alpha1"}
GroupVersion = schema.GroupVersion{Group: "idpbuilder.cnoe.io", Version: "v1alpha1"}

// SchemeBuilder is used to add go types to the GroupVersionKind scheme
SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion}
Expand Down
2 changes: 1 addition & 1 deletion api/v1alpha1/localbuild_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package v1alpha1
import (
"fmt"

"git.autodesk.com/forge-cd-services/idpbuilder/globals"
"github.com/cnoe-io/idpbuilder/globals"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)

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 git.autodesk.com/forge-cd-services/idpbuilder
module github.com/cnoe-io/idpbuilder

go 1.20

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package main

import "git.autodesk.com/forge-cd-services/idpbuilder/pkg/cmd"
import "github.com/cnoe-io/idpbuilder/pkg/cmd"

func main() {
cmd.Execute()
Expand Down
6 changes: 3 additions & 3 deletions pkg/apps/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"os"
"path/filepath"

"git.autodesk.com/forge-cd-services/idpbuilder/globals"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/docker"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/util"
"github.com/cnoe-io/idpbuilder/globals"
"github.com/cnoe-io/idpbuilder/pkg/docker"
"github.com/cnoe-io/idpbuilder/pkg/util"

"github.com/docker/docker/api/types"
registryTypes "github.com/docker/docker/api/types/registry"
Expand Down
6 changes: 3 additions & 3 deletions pkg/build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package build
import (
"context"

"git.autodesk.com/forge-cd-services/idpbuilder/api/v1alpha1"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/controllers"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/kind"
"github.com/cnoe-io/idpbuilder/api/v1alpha1"
"github.com/cnoe-io/idpbuilder/pkg/controllers"
"github.com/cnoe-io/idpbuilder/pkg/kind"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/client-go/rest"
Expand Down
4 changes: 2 additions & 2 deletions pkg/cmd/create/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"os"
"path/filepath"

"git.autodesk.com/forge-cd-services/idpbuilder/pkg/build"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/k8s"
"github.com/cnoe-io/idpbuilder/pkg/build"
"github.com/cnoe-io/idpbuilder/pkg/k8s"
"github.com/spf13/cobra"
ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/log/zap"
Expand Down
14 changes: 7 additions & 7 deletions pkg/cmd/gitserver/create/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import (
"os"
"path/filepath"

"git.autodesk.com/forge-cd-services/idpbuilder/api/v1alpha1"
"git.autodesk.com/forge-cd-services/idpbuilder/globals"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/apps"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/controllers"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/docker"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/k8s"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/kind"
"github.com/cnoe-io/idpbuilder/api/v1alpha1"
"github.com/cnoe-io/idpbuilder/globals"
"github.com/cnoe-io/idpbuilder/pkg/apps"
"github.com/cnoe-io/idpbuilder/pkg/controllers"
"github.com/cnoe-io/idpbuilder/pkg/docker"
"github.com/cnoe-io/idpbuilder/pkg/k8s"
"github.com/cnoe-io/idpbuilder/pkg/kind"
"github.com/spf13/cobra"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/tools/clientcmd"
Expand Down
2 changes: 1 addition & 1 deletion pkg/cmd/gitserver/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"os"

"git.autodesk.com/forge-cd-services/idpbuilder/pkg/cmd/gitserver/create"
"github.com/cnoe-io/idpbuilder/pkg/cmd/gitserver/create"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import (
"fmt"
"os"

"git.autodesk.com/forge-cd-services/idpbuilder/pkg/cmd/create"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/cmd/gitserver"
"github.com/cnoe-io/idpbuilder/pkg/cmd/create"
"github.com/cnoe-io/idpbuilder/pkg/cmd/gitserver"
"github.com/spf13/cobra"
)

Expand Down
4 changes: 2 additions & 2 deletions pkg/controllers/crd.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"fmt"
"time"

"git.autodesk.com/forge-cd-services/idpbuilder/pkg/k8s"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/util"
"github.com/cnoe-io/idpbuilder/pkg/k8s"
"github.com/cnoe-io/idpbuilder/pkg/util"
apiextensionsv1 "k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1"
apierrors "k8s.io/apimachinery/pkg/api/errors"
"k8s.io/apimachinery/pkg/runtime"
Expand Down
4 changes: 2 additions & 2 deletions pkg/controllers/gitserver/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"io/fs"
"time"

"git.autodesk.com/forge-cd-services/idpbuilder/api/v1alpha1"
"git.autodesk.com/forge-cd-services/idpbuilder/globals"
"github.com/cnoe-io/idpbuilder/api/v1alpha1"
"github.com/cnoe-io/idpbuilder/globals"
appsv1 "k8s.io/api/apps/v1"
v1 "k8s.io/api/core/v1"
networkingv1 "k8s.io/api/networking/v1"
Expand Down
4 changes: 2 additions & 2 deletions pkg/controllers/gitserver/controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"testing/fstest"
"time"

"git.autodesk.com/forge-cd-services/idpbuilder/api/v1alpha1"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/k8s"
"github.com/cnoe-io/idpbuilder/api/v1alpha1"
"github.com/cnoe-io/idpbuilder/pkg/k8s"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/client"
Expand Down
10 changes: 5 additions & 5 deletions pkg/controllers/gitserver/image.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import (
"context"
"fmt"

"git.autodesk.com/forge-cd-services/idpbuilder/api/v1alpha1"
"git.autodesk.com/forge-cd-services/idpbuilder/globals"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/apps"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/docker"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/kind"
"github.com/cnoe-io/idpbuilder/api/v1alpha1"
"github.com/cnoe-io/idpbuilder/globals"
"github.com/cnoe-io/idpbuilder/pkg/apps"
"github.com/cnoe-io/idpbuilder/pkg/docker"
"github.com/cnoe-io/idpbuilder/pkg/kind"
ctrl "sigs.k8s.io/controller-runtime"
"sigs.k8s.io/controller-runtime/pkg/log"
)
Expand Down
6 changes: 3 additions & 3 deletions pkg/controllers/gitserver/image_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import (
"strings"
"testing"

"git.autodesk.com/forge-cd-services/idpbuilder/api/v1alpha1"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/apps"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/docker"
"github.com/cnoe-io/idpbuilder/api/v1alpha1"
"github.com/cnoe-io/idpbuilder/pkg/apps"
"github.com/cnoe-io/idpbuilder/pkg/docker"
"github.com/docker/docker/api/types"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
controllerruntime "sigs.k8s.io/controller-runtime"
Expand Down
6 changes: 3 additions & 3 deletions pkg/controllers/localbuild/argo.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"context"
"embed"

"git.autodesk.com/forge-cd-services/idpbuilder/api/v1alpha1"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/k8s"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/util"
"github.com/cnoe-io/idpbuilder/api/v1alpha1"
"github.com/cnoe-io/idpbuilder/pkg/k8s"
"github.com/cnoe-io/idpbuilder/pkg/util"
appsv1 "k8s.io/api/apps/v1"
corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
2 changes: 1 addition & 1 deletion pkg/controllers/localbuild/argo_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package localbuild
import (
"testing"

"git.autodesk.com/forge-cd-services/idpbuilder/pkg/k8s"
"github.com/cnoe-io/idpbuilder/pkg/k8s"
)

func TestGetRawInstallResources(t *testing.T) {
Expand Down
8 changes: 4 additions & 4 deletions pkg/controllers/localbuild/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"fmt"
"time"

"git.autodesk.com/forge-cd-services/idpbuilder/api/v1alpha1"
"git.autodesk.com/forge-cd-services/idpbuilder/globals"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/apps"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/resources/localbuild"
argov1alpha1 "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1"
"github.com/cnoe-io/idpbuilder/api/v1alpha1"
"github.com/cnoe-io/idpbuilder/globals"
"github.com/cnoe-io/idpbuilder/pkg/apps"
"github.com/cnoe-io/idpbuilder/pkg/resources/localbuild"
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down
70 changes: 0 additions & 70 deletions pkg/controllers/resources/idpbuilder.adskeng.net_gitservers.yaml

This file was deleted.

75 changes: 0 additions & 75 deletions pkg/controllers/resources/idpbuilder.adskeng.net_localbuilds.yaml

This file was deleted.

6 changes: 3 additions & 3 deletions pkg/controllers/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package controllers
import (
"context"

"git.autodesk.com/forge-cd-services/idpbuilder/pkg/apps"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/controllers/gitserver"
"git.autodesk.com/forge-cd-services/idpbuilder/pkg/controllers/localbuild"
"github.com/cnoe-io/idpbuilder/pkg/apps"
"github.com/cnoe-io/idpbuilder/pkg/controllers/gitserver"
"github.com/cnoe-io/idpbuilder/pkg/controllers/localbuild"
"sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/manager"
)
Expand Down
2 changes: 1 addition & 1 deletion pkg/k8s/schema.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package k8s

import (
"git.autodesk.com/forge-cd-services/idpbuilder/api/v1alpha1"
argov1alpha1 "github.com/argoproj/argo-cd/v2/pkg/apis/application/v1alpha1"
"github.com/cnoe-io/idpbuilder/api/v1alpha1"
admissionregistrationv1 "k8s.io/api/admissionregistration/v1"
appsv1 "k8s.io/api/apps/v1"
batchv1 "k8s.io/api/batch/v1"
Expand Down
Loading

0 comments on commit b6ba752

Please sign in to comment.