Skip to content

Instantly share code, notes, and snippets.

@pierDipi
Last active February 26, 2024 16:21
Show Gist options
  • Save pierDipi/3c9eb72131ebca9a60f42d54d822594c to your computer and use it in GitHub Desktop.
Save pierDipi/3c9eb72131ebca9a60f42d54d822594c to your computer and use it in GitHub Desktop.
Install Serverless midstream

Install Serverless midstream

These are unofficial installation instructions for early access OpenShift Serverless builds:

oc apply -f serverless.yaml

Notes

  • You can change image in the CatalogSource to a different early access build version
  • Upgrades or migration from this build to the official product builds are not supported, remove the operator and catalog sources and re-install it from the official Red Hat catalog
apiVersion: v1
kind: Namespace
metadata:
name: openshift-serverless
---
apiVersion: operators.coreos.com/v1alpha1
kind: CatalogSource
metadata:
name: serverless-operator
namespace: openshift-marketplace
spec:
displayName: Serverless Operator
image: registry.ci.openshift.org/knative/release-1.32:serverless-index
publisher: Red Hat
sourceType: grpc
---
apiVersion: operators.coreos.com/v1
kind: OperatorGroup
metadata:
name: serverless
namespace: openshift-serverless
---
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: serverless-operator
namespace: openshift-serverless
spec:
channel: "stable"
name: "serverless-operator"
source: "serverless-operator"
sourceNamespace: "openshift-marketplace"
installPlanApproval: Automatic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment