repo name changes
This commit is contained in:
Родитель
a63d784992
Коммит
bbe16bb89e
|
@ -1,11 +1,11 @@
|
|||
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
|
||||
|
||||
ENV OPERATOR=/usr/local/bin/k8s-poolprovider \
|
||||
ENV OPERATOR=/usr/local/bin/poolprovider-for-k8s \
|
||||
USER_UID=1001 \
|
||||
USER_NAME=k8s-poolprovider
|
||||
USER_NAME=poolprovider-for-k8s
|
||||
|
||||
# install operator binary
|
||||
COPY build/_output/bin/k8s-poolprovider ${OPERATOR}
|
||||
COPY build/_output/bin/poolprovider-for-k8s ${OPERATOR}
|
||||
|
||||
COPY build/bin /usr/local/bin
|
||||
RUN /usr/local/bin/user_setup
|
||||
|
|
|
@ -8,8 +8,8 @@ import (
|
|||
|
||||
_ "k8s.io/client-go/plugin/pkg/client/auth"
|
||||
|
||||
"github.com/microsoft/k8s-poolprovider/pkg/apis"
|
||||
"github.com/microsoft/k8s-poolprovider/pkg/controller"
|
||||
"github.com/microsoft/poolprovider-for-k8s/pkg/apis"
|
||||
"github.com/microsoft/poolprovider-for-k8s/pkg/controller"
|
||||
|
||||
"github.com/operator-framework/operator-sdk/pkg/k8sutil"
|
||||
"github.com/operator-framework/operator-sdk/pkg/leader"
|
||||
|
|
|
@ -7,8 +7,8 @@ import (
|
|||
"k8s.io/apimachinery/pkg/runtime"
|
||||
"k8s.io/apimachinery/pkg/types"
|
||||
|
||||
v1alpha1 "github.com/microsoft/k8s-poolprovider/pkg/apis/dev/v1alpha1"
|
||||
v1controller "github.com/microsoft/k8s-poolprovider/pkg/controller/azurepipelinespool"
|
||||
v1alpha1 "github.com/microsoft/poolprovider-for-k8s/pkg/apis/dev/v1alpha1"
|
||||
v1controller "github.com/microsoft/poolprovider-for-k8s/pkg/controller/azurepipelinespool"
|
||||
appsv1 "k8s.io/api/apps/v1"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
|
||||
|
|
2
go.mod
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module github.com/microsoft/k8s-poolprovider
|
||||
module github.com/microsoft/poolprovider-for-k8s
|
||||
|
||||
go 1.13
|
||||
|
||||
|
|
|
@ -17,9 +17,9 @@ spec:
|
|||
containers:
|
||||
- name: k8s-poolprovider
|
||||
# Replace this with the built image name
|
||||
image: mcr.microsoft.com/azurepipelinespool/k8s-poolprovideroperator:v1.1
|
||||
image: prebansa/test:v3
|
||||
command:
|
||||
- k8s-poolprovider
|
||||
- poolprovider-for-k8s
|
||||
imagePullPolicy: Always
|
||||
env:
|
||||
- name: WATCH_NAMESPACE
|
||||
|
|
|
@ -4,7 +4,7 @@ import (
|
|||
"os"
|
||||
"path/filepath"
|
||||
|
||||
v1alpha1 "github.com/microsoft/k8s-poolprovider/pkg/apis/dev/v1alpha1"
|
||||
v1alpha1 "github.com/microsoft/poolprovider-for-k8s/pkg/apis/dev/v1alpha1"
|
||||
v1 "k8s.io/api/core/v1"
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
"k8s.io/client-go/kubernetes"
|
||||
|
|
|
@ -7,7 +7,7 @@ import (
|
|||
|
||||
"log"
|
||||
|
||||
v1alpha1 "github.com/microsoft/k8s-poolprovider/pkg/apis/dev/v1alpha1"
|
||||
v1alpha1 "github.com/microsoft/poolprovider-for-k8s/pkg/apis/dev/v1alpha1"
|
||||
|
||||
"github.com/ghodss/yaml"
|
||||
v1 "k8s.io/api/core/v1"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package apis
|
||||
|
||||
import (
|
||||
"github.com/microsoft/k8s-poolprovider/pkg/apis/dev/v1alpha1"
|
||||
"github.com/microsoft/poolprovider-for-k8s/pkg/apis/dev/v1alpha1"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package controller
|
||||
|
||||
import (
|
||||
"github.com/microsoft/k8s-poolprovider/pkg/controller/azurepipelinespool"
|
||||
"github.com/microsoft/poolprovider-for-k8s/pkg/controller/azurepipelinespool"
|
||||
)
|
||||
|
||||
func init() {
|
||||
|
|
|
@ -3,7 +3,7 @@ package azurepipelinespool
|
|||
import (
|
||||
"context"
|
||||
|
||||
devv1alpha1 "github.com/microsoft/k8s-poolprovider/pkg/apis/dev/v1alpha1"
|
||||
devv1alpha1 "github.com/microsoft/poolprovider-for-k8s/pkg/apis/dev/v1alpha1"
|
||||
appsv1 "k8s.io/api/apps/v1"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
"k8s.io/apimachinery/pkg/api/errors"
|
||||
|
|
Загрузка…
Ссылка в новой задаче