Skip to content
Permalink
Browse files

cleaning up go pkg names

  • Loading branch information...
root
root committed Jun 6, 2019
1 parent 60c2039 commit d8f2237ac62d5bf8591aad60c168fed4d1358061
@@ -1,13 +1,13 @@
FROM golang
ENV RELEASE_VERSION v0.8.0
ENV GOPATH /go
ADD . /go/src/github.ibm.com/jtpape/secret-sync-operator
ADD . /go/src/github.com/ibm/secret-sync-operator
RUN apt update \
&& apt install -y curl
RUN curl -OJL https://github.com/operator-framework/operator-sdk/releases/download/${RELEASE_VERSION}/operator-sdk-${RELEASE_VERSION}-x86_64-linux-gnu \
&& chmod +x operator-sdk-${RELEASE_VERSION}-x86_64-linux-gnu && cp operator-sdk-${RELEASE_VERSION}-x86_64-linux-gnu /usr/local/bin/operator-sdk && rm operator-sdk-${RELEASE_VERSION}-x86_64-linux-gnu
RUN curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
WORKDIR /go/src/github.ibm.com/jtpape/secret-sync-operator
WORKDIR /go/src/github.com/ibm/secret-sync-operator
RUN PATH=$GOPATH/bin:$PATH dep ensure
RUN PATH=$GOPATH/bin:$PATH go build -o build/_output/bin/secret-sync-operator cmd/manager/main.go

@@ -18,8 +18,8 @@ ENV OPERATOR=/usr/local/bin/secret-sync-operator \
USER_UID=1001 \
USER_NAME=secret-sync-operator
# install operator binary
COPY --from=0 /go/src/github.ibm.com/jtpape/secret-sync-operator/build/_output/bin/secret-sync-operator ${OPERATOR}
COPY --from=0 /go/src/github.ibm.com/jtpape/secret-sync-operator/build/bin /usr/local/bin
COPY --from=0 /go/src/github.com/ibm/secret-sync-operator/build/_output/bin/secret-sync-operator ${OPERATOR}
COPY --from=0 /go/src/github.com/ibm/secret-sync-operator/build/bin /usr/local/bin
RUN /usr/local/bin/user_setup
ENTRYPOINT ["/usr/local/bin/entrypoint"]
USER ${USER_UID}
@@ -10,8 +10,8 @@ import (
// Import all Kubernetes client auth plugins (e.g. Azure, GCP, OIDC, etc.)
_ "k8s.io/client-go/plugin/pkg/client/auth"

"github.ibm.com/jtpape/secret-sync-operator/pkg/apis"
"github.ibm.com/jtpape/secret-sync-operator/pkg/controller"
"github.com/ibm/secret-sync-operator/pkg/apis"
"github.com/ibm/secret-sync-operator/pkg/controller"

// "github.com/operator-framework/operator-sdk/pkg/k8sutil"
"github.com/operator-framework/operator-sdk/pkg/leader"
@@ -1,7 +1,7 @@
package controller

import (
"github.ibm.com/jtpape/secret-sync-operator/pkg/controller/secret"
"github.com/ibm/secret-sync-operator/pkg/controller/secret"
)

func init() {

1 comment on commit d8f2237

@jpapejr

This comment has been minimized.

Copy link
Collaborator

commented on d8f2237 Jun 6, 2019

This was me. Not sure why it shows root.

Please sign in to comment.
You can’t perform that action at this time.