Skip to content

Add knative crds + move knative CRs to plugin-infra #1219

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -365,13 +365,21 @@ undeploy: kustomize ## Undeploy controller from the K8s cluster specified in ~/.
$(KUSTOMIZE) build config/profile/$(PROFILE) | $(KUBECTL) delete --ignore-not-found=$(ignore-not-found) -f -

.PHONY: plugin-infra
plugin-infra:
plugin-infra: install-crd
@if [ -d "config/profile/$(PROFILE)/plugin-infra" ]; then \
$(KUSTOMIZE) build config/profile/$(PROFILE)/plugin-infra | $(KUBECTL) apply -f -; \
else \
echo "Directory config/profile/$(PROFILE)/plugin-infra does not exist."; \
fi

install-crd:
@if [ -d "config/profile/$(PROFILE)/plugin-infra" ]; then \
$(KUBECTL) apply -f config/profile/$(PROFILE)/plugin-infra/crd/; \
$(KUBECTL) wait --for=condition=Established crd --all --timeout=60s; \
else \
echo "Directory config/profile/$(PROFILE)/plugin-infra does not exist."; \
fi

.PHONY: plugin-infra-undeploy
plugin-infra-undeploy:
@if [ -d "config/profile/$(PROFILE)/plugin-infra" ]; then \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ metadata:
}
}
]
createdAt: "2025-05-21T20:27:26Z"
createdAt: "2025-06-03T14:10:56Z"
description: Backstage Operator
operators.operatorframework.io/builder: operator-sdk-v1.37.0
operators.operatorframework.io/project_layout: go.kubebuilder.io/v4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ metadata:
categories: Developer Tools
certified: "true"
containerImage: registry.redhat.io/rhdh/rhdh-rhel9-operator:1.7
createdAt: "2025-05-21T20:27:25Z"
createdAt: "2025-06-03T14:10:54Z"
description: Red Hat Developer Hub is a Red Hat supported version of Backstage.
It comes with pre-built plug-ins and configuration settings, supports use of
an external database, and can help streamline the process of setting up a self-managed
Expand Down
19 changes: 0 additions & 19 deletions bundle/rhdh/manifests/rhdh-plugin-deps_v1_configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -65,25 +65,6 @@ data:
# Allow openshift-user-workload-monitoring pods to access the workflow.
kubernetes.io/metadata.name: openshift-user-workload-monitoring
---
apiVersion: operator.knative.dev/v1beta1
kind: KnativeEventing
metadata:
name: knative-eventing
namespace: knative-eventing
spec:
Registry: {}
---
apiVersion: operator.knative.dev/v1beta1
kind: KnativeServing
metadata:
name: knative-serving
namespace: knative-serving
spec:
controller-custom-certs:
name: ""
type: ""
registry: {}
---
apiVersion: sonataflow.org/v1alpha08
kind: SonataFlowPlatform
metadata:
Expand Down
19 changes: 0 additions & 19 deletions config/profile/rhdh/plugin-deps/sonataflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,25 +62,6 @@ spec:
# Allow openshift-user-workload-monitoring pods to access the workflow.
kubernetes.io/metadata.name: openshift-user-workload-monitoring
---
apiVersion: operator.knative.dev/v1beta1
kind: KnativeEventing
metadata:
name: knative-eventing
namespace: knative-eventing
spec:
Registry: {}
---
apiVersion: operator.knative.dev/v1beta1
kind: KnativeServing
metadata:
name: knative-serving
namespace: knative-serving
spec:
controller-custom-certs:
name: ""
type: ""
registry: {}
---
apiVersion: sonataflow.org/v1alpha08
kind: SonataFlowPlatform
metadata:
Expand Down
2,282 changes: 2,282 additions & 0 deletions config/profile/rhdh/plugin-infra/crd/knative-eventing-crd.yaml

Large diffs are not rendered by default.

2,373 changes: 2,373 additions & 0 deletions config/profile/rhdh/plugin-infra/crd/knative-serving-crd.yaml

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,23 @@ kind: Namespace
metadata:
name: knative-eventing

---
apiVersion: operator.knative.dev/v1beta1
kind: KnativeEventing
metadata:
name: knative-eventing
namespace: knative-eventing
spec:
Registry: {}
---
apiVersion: operator.knative.dev/v1beta1
kind: KnativeServing
metadata:
name: knative-serving
namespace: knative-serving
spec:
controller-custom-certs:
name: ""
type: ""
registry: {}
---
19 changes: 0 additions & 19 deletions dist/rhdh/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2097,25 +2097,6 @@ data:
# Allow openshift-user-workload-monitoring pods to access the workflow.
kubernetes.io/metadata.name: openshift-user-workload-monitoring
---
apiVersion: operator.knative.dev/v1beta1
kind: KnativeEventing
metadata:
name: knative-eventing
namespace: knative-eventing
spec:
Registry: {}
---
apiVersion: operator.knative.dev/v1beta1
kind: KnativeServing
metadata:
name: knative-serving
namespace: knative-serving
spec:
controller-custom-certs:
name: ""
type: ""
registry: {}
---
apiVersion: sonataflow.org/v1alpha08
kind: SonataFlowPlatform
metadata:
Expand Down