Skip to content

Commit

Permalink
Merge pull request #88 from dtfranz/revert-87-revert-86-olmv1-devel
Browse files Browse the repository at this point in the history
Merge rukpak updates into main + Required Fixes
  • Loading branch information
openshift-merge-robot committed Jul 11, 2023
2 parents 7996609 + 82830af commit 351aa1e
Show file tree
Hide file tree
Showing 1,162 changed files with 92,888 additions and 57,309 deletions.
6 changes: 1 addition & 5 deletions Dockerfile
Expand Up @@ -13,11 +13,7 @@ RUN make build
FROM registry.ci.openshift.org/ocp/4.14:base

COPY manifests /manifests

# ncdc: temporarily commenting out this label so this image is not included in the release payload. We are moving the
# rukpak manifests to openshift/cluster-olm-operator and have to do it through a series of PRs. The easiest way to do
# the move is to stop including platform-operators in the payload, then add it back after the move is done.
# LABEL io.openshift.release.operator=true
LABEL io.openshift.release.operator=true

COPY --from=builder /build/bin/manager /
USER 1001
Expand Down
19 changes: 1 addition & 18 deletions Makefile
Expand Up @@ -60,11 +60,7 @@ RBAC_LIST = rbac.authorization.k8s.io_v1_clusterrole_platform-operators-manager-
rbac.authorization.k8s.io_v1_clusterrolebinding_platform-operators-manager-rolebinding.yaml \
rbac.authorization.k8s.io_v1_clusterrolebinding_platform-operators-proxy-rolebinding.yaml \
rbac.authorization.k8s.io_v1_role_platform-operators-leader-election-role.yaml \
rbac.authorization.k8s.io_v1_rolebinding_platform-operators-leader-election-rolebinding.yaml \
rbac.authorization.k8s.io_v1_clusterrole_platform-operators-rukpak-bundle-reader.yaml \
rbac.authorization.k8s.io_v1_clusterrole_platform-operators-rukpak-bundle-uploader.yaml \
rbac.authorization.k8s.io_v1_clusterrole_platform-operators-rukpak-core-admin.yaml \
rbac.authorization.k8s.io_v1_clusterrolebinding_platform-operators-rukpak-core-admin.yaml
rbac.authorization.k8s.io_v1_rolebinding_platform-operators-leader-election-rolebinding.yaml

# Generate manifests e.g. CRD, RBAC etc.
.PHONY: manifests
Expand All @@ -78,19 +74,6 @@ manifests: generate yq kustomize
@# Move the vendored PlatformOperator CRD from o/api to the manifests folder
cp $(ROOT_DIR)/vendor/github.com/openshift/api/platform/v1alpha1/platformoperators.crd.yaml manifests/0000_50_cluster-platform-operator-manager_00-platformoperator.crd.yaml

@# Move all of the rukpak manifests into the manifests folder
$(MV_TMP_DIR)/apiextensions.k8s.io_v1_customresourcedefinition_bundledeployments.core.rukpak.io.yaml manifests/0000_50_cluster-platform-operator-manager_00-rukpak-bundledeployments.crd.yaml
$(MV_TMP_DIR)/apiextensions.k8s.io_v1_customresourcedefinition_bundles.core.rukpak.io.yaml manifests/0000_50_cluster-platform-operator-manager_00-rukpak-bundles.crd.yaml
$(MV_TMP_DIR)/v1_configmap_platform-operators-rukpak-core-tls.yaml manifests/0000_50_cluster-platform-operator-manager_01-core-ca.cm.yaml
$(MV_TMP_DIR)/v1_configmap_platform-operators-rukpak-webhook-tls.yaml manifests/0000_50_cluster-platform-operator-manager_01-webhook-ca.cm.yaml
$(MV_TMP_DIR)/v1_serviceaccount_platform-operators-rukpak-core-admin.yaml manifests/0000_50_cluster-platform-operator-manager_01-rukpak-core-admin.sa.yaml
$(MV_TMP_DIR)/v1_serviceaccount_platform-operators-rukpak-webhooks-admin.yaml manifests/0000_50_cluster-platform-operator-manager_01-rukpak-webhooks-admin.sa.yaml
$(MV_TMP_DIR)/v1_service_platform-operators-rukpak-core.yaml manifests/0000_50_cluster-platform-operator-manager_02-rukpak-core.service.yaml
$(MV_TMP_DIR)/v1_service_platform-operators-rukpak-webhook-service.yaml manifests/0000_50_cluster-platform-operator-manager_02-rukpak-webhook.service.yaml
$(MV_TMP_DIR)/apps_v1_deployment_platform-operators-rukpak-webhooks.yaml manifests/0000_50_cluster-platform-operator-manager_04-rukpak-webhooks.deployment.yaml
$(MV_TMP_DIR)/apps_v1_deployment_platform-operators-rukpak-core.yaml manifests/0000_50_cluster-platform-operator-manager_04-rukpak-core.deployment.yaml
$(MV_TMP_DIR)/admissionregistration.k8s.io_v1_validatingwebhookconfiguration_platform-operators-rukpak-validating-webhook-configuration.yaml manifests/0000_50_cluster-platform-operator-manager_05-rukpak.validating-webhook-configuration.yaml

@# Move all of the platform operators manifests into the manifests folder
$(MV_TMP_DIR)/v1_namespace_openshift-platform-operators.yaml manifests/0000_50_cluster-platform-operator-manager_00-namespace.yaml
$(MV_TMP_DIR)/v1_serviceaccount_platform-operators-controller-manager.yaml manifests/0000_50_cluster-platform-operator-manager_01-serviceaccount.yaml
Expand Down
6 changes: 0 additions & 6 deletions config/clusteroperator/aggregated_clusteroperator.yaml
Expand Up @@ -14,9 +14,3 @@ status:
- group: platform.openshift.io
name: ""
resource: platformoperators
- group: core.rukpak.io
name: ""
resource: bundles
- group: core.rukpak.io
name: ""
resource: bundledeployments
1 change: 0 additions & 1 deletion config/default/kustomization.yaml
Expand Up @@ -31,7 +31,6 @@ images:
bases:
- ../rbac
- ../manager
- ../rukpak
- ../clusteroperator
# [WEBHOOK] To enable webhook, uncomment all the sections with [WEBHOOK] prefix including the one in
# crd/kustomization.yaml
Expand Down

0 comments on commit 351aa1e

Please sign in to comment.