Categorygithub.com/RedHat-EMEA-SSA-Team/workshop-operator
modulepackage
0.0.0-20240502114058-1b359d19b547
Repository: https://github.com/redhat-emea-ssa-team/workshop-operator.git
Documentation: pkg.go.dev

# README

= Workshop Operator

== Overview

This is an https://coreos.com/operators/[Kubernetes Operator^] to install the infrastructure for running workshops on OpenShift provided by RHPDS.

[IMPORTANT]

This operator has been tested on OpenShift Container Platform 4.x with N preconfigured users (user1, user2, ..., userN).

== Deploy the Operator

[IMPORTANT]

Please use an OpenShift user with cluster-admin privileges

=== Run it from your local environment

Perform the following tasks:

[source,bash]

oc new-project workshop-infra make install make run ENABLE_WEBHOOKS=false

=== Deploy it on OpenShift

Perform the following tasks:

[source,bash]

oc new-project workshop-infra oc apply -f https://raw.githubusercontent.com/RedHat-EMEA-SSA-Team/workshop-operator/1.0/config/deploy/workshop_operator_deployment.yaml

== Install the Workshop Infrastructure

The Workshop Infrastructure is deployed by creating a Custom Resource based on the WorkShop Custom Resource Definition. There is examples of custom resources (CR) in https://github.com/RedHat-EMEA-SSA-Team/openshift-workshop-operator/tree/master/deploy/crds[crds]

For instance, to deploy the Workshop Infrastruture for the Cloud-Native Workshop, please execute the following command:

[source,bash]

oc apply -n workshop-infra -f config/samples/workshop_v1_cloud_native_workshop.yaml

== Development

=== Build and Push the Operator Image

[source,bash]

make podman-build IMG=quay.io/redhat-emea-ssa-team/workshop-operator make podman-push IMG=quay.io/redhat-emea-ssa-team/workshop-operator

# Packages

No description provided by the author
No description provided by the author
No description provided by the author