mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-02-14 18:09:57 +00:00
4
.github/workflows/go-postsubmit.yml
vendored
4
.github/workflows/go-postsubmit.yml
vendored
@@ -34,3 +34,7 @@ jobs:
|
||||
run: go install github.com/openshift/imagebuilder/cmd/imagebuilder@v1.2.1
|
||||
- name: images
|
||||
run: make images
|
||||
- name: push
|
||||
run: |
|
||||
echo ${{ secrets.DOCKER_PASSWORD }} | docker login quay.io --username ${{ secrets.DOCKER_USER }} --password-stdin
|
||||
docker push quay.io/open-cluster-management/registration-operator:latest
|
||||
|
||||
@@ -36,7 +36,7 @@ contribution. See the [DCO](DCO) file for details.
|
||||
|
||||
Anyone may comment on issues and submit reviews for pull requests. However, in
|
||||
order to be assigned an issue or pull request, you must be a member of the
|
||||
[open-cluster-management](https://github.com/open-cluster-management) GitHub organization.
|
||||
[open-cluster-management](https://github.com/open-cluster-management-io) GitHub organization.
|
||||
|
||||
Repo maintainers can assign you an issue or pull request by leaving a
|
||||
`/assign <your Github ID>` comment on the issue or pull request.
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
FROM registry.ci.openshift.org/open-cluster-management/builder:go1.16-linux AS builder
|
||||
WORKDIR /go/src/github.com/open-cluster-management/registration-operator
|
||||
WORKDIR /go/src/open-cluster-management.io/registration-operator
|
||||
COPY . .
|
||||
ENV GO_PACKAGE github.com/open-cluster-management/registration-operator
|
||||
ENV GO_PACKAGE open-cluster-management.io/registration-operator
|
||||
RUN make build --warn-undefined-variables
|
||||
|
||||
FROM registry.access.redhat.com/ubi8/ubi-minimal:latest
|
||||
ENV USER_UID=10001
|
||||
|
||||
COPY --from=builder /go/src/github.com/open-cluster-management/registration-operator/registration-operator /
|
||||
COPY --from=builder /go/src/open-cluster-management.io/registration-operator/registration-operator /
|
||||
RUN microdnf update && microdnf clean all
|
||||
|
||||
USER ${USER_UID}
|
||||
|
||||
@@ -9,7 +9,7 @@ metadata:
|
||||
containerImage: quay.io/open-cluster-management/registration-operator:latest
|
||||
createdAt: "2020-10-15T20:00:31Z"
|
||||
description: Manages the installation and upgrade of the ClusterManager.
|
||||
repository: https://github.com/open-cluster-management/registration-operator
|
||||
repository: https://github.com/open-cluster-management-io/registration-operator
|
||||
support: Red Hat, Inc.
|
||||
name: cluster-manager.vX.Y.Z
|
||||
namespace: placeholder
|
||||
@@ -74,7 +74,7 @@ spec:
|
||||
- ClusterManager
|
||||
links:
|
||||
- name: Registration Operator
|
||||
url: https://github.com/open-cluster-management/registration-operator
|
||||
url: https://github.com/open-cluster-management-io/registration-operator
|
||||
maintainers:
|
||||
- email: pmorie@redhat.com
|
||||
name: Paul Morie
|
||||
|
||||
@@ -25,7 +25,7 @@ metadata:
|
||||
description: Manages the installation and upgrade of the ClusterManager.
|
||||
operators.operatorframework.io/builder: operator-sdk-v1.1.0
|
||||
operators.operatorframework.io/project_layout: go
|
||||
repository: https://github.com/open-cluster-management/registration-operator
|
||||
repository: https://github.com/open-cluster-management-io/registration-operator
|
||||
support: Red Hat, Inc.
|
||||
name: cluster-manager.v0.4.0
|
||||
namespace: placeholder
|
||||
@@ -290,7 +290,7 @@ spec:
|
||||
- ClusterManager
|
||||
links:
|
||||
- name: Registration Operator
|
||||
url: https://github.com/open-cluster-management/registration-operator
|
||||
url: https://github.com/open-cluster-management-io/registration-operator
|
||||
maintainers:
|
||||
- email: pmorie@redhat.com
|
||||
name: Paul Morie
|
||||
|
||||
@@ -9,7 +9,7 @@ metadata:
|
||||
containerImage: quay.io/open-cluster-management/registration-operator:latest
|
||||
createdAt: "2020-10-15T20:00:31Z"
|
||||
description: Manages the installation and upgrade of the Klusterlet.
|
||||
repository: https://github.com/open-cluster-management/registration-operator
|
||||
repository: https://github.com/open-cluster-management-io/registration-operator
|
||||
support: Red Hat, Inc.
|
||||
name: klusterlet.v0.2.0
|
||||
namespace: placeholder
|
||||
@@ -81,7 +81,7 @@ spec:
|
||||
- Klusterlet
|
||||
links:
|
||||
- name: Registration Operator
|
||||
url: https://github.com/open-cluster-management/registration-operator
|
||||
url: https://github.com/open-cluster-management-io/registration-operator
|
||||
maintainers:
|
||||
- email: pmorie@redhat.com
|
||||
name: Paul Morie
|
||||
|
||||
@@ -31,7 +31,7 @@ metadata:
|
||||
description: Manages the installation and upgrade of the Klusterlet.
|
||||
operators.operatorframework.io/builder: operator-sdk-v1.1.0
|
||||
operators.operatorframework.io/project_layout: go
|
||||
repository: https://github.com/open-cluster-management/registration-operator
|
||||
repository: https://github.com/open-cluster-management-io/registration-operator
|
||||
support: Red Hat, Inc.
|
||||
name: klusterlet.v0.4.0
|
||||
namespace: placeholder
|
||||
@@ -282,7 +282,7 @@ spec:
|
||||
- Klusterlet
|
||||
links:
|
||||
- name: Registration Operator
|
||||
url: https://github.com/open-cluster-management/registration-operator
|
||||
url: https://github.com/open-cluster-management-io/registration-operator
|
||||
maintainers:
|
||||
- email: pmorie@redhat.com
|
||||
name: Paul Morie
|
||||
|
||||
@@ -4,8 +4,6 @@ import (
|
||||
"context"
|
||||
"fmt"
|
||||
|
||||
operatorv1client "open-cluster-management.io/api/client/operator/clientset/versioned/typed/operator/v1"
|
||||
operatorapiv1 "open-cluster-management.io/api/operator/v1"
|
||||
admissionv1 "k8s.io/api/admissionregistration/v1"
|
||||
appsv1 "k8s.io/api/apps/v1"
|
||||
corev1 "k8s.io/api/core/v1"
|
||||
@@ -28,6 +26,8 @@ import (
|
||||
"k8s.io/client-go/util/retry"
|
||||
apiregistrationv1 "k8s.io/kube-aggregator/pkg/apis/apiregistration/v1"
|
||||
apiregistrationclient "k8s.io/kube-aggregator/pkg/client/clientset_generated/clientset/typed/apiregistration/v1"
|
||||
operatorv1client "open-cluster-management.io/api/client/operator/clientset/versioned/typed/operator/v1"
|
||||
operatorapiv1 "open-cluster-management.io/api/operator/v1"
|
||||
|
||||
"github.com/openshift/api"
|
||||
"github.com/openshift/library-go/pkg/operator/events"
|
||||
|
||||
Reference in New Issue
Block a user