Skip to content
This repository was archived by the owner on Feb 1, 2026. It is now read-only.

Latest commit

 

History

History
46 lines (36 loc) · 870 Bytes

File metadata and controls

46 lines (36 loc) · 870 Bytes

Introduction

These instructions should help you to build a custom version of the operator with your changes

Prerequisites

  • Golang (1.16.x)
  • Operator SDK version (1.11.x+)
  • podman, podman-docker or docker
  • Access to Kubernetes cluster (1.21+)
  • Container registry to store images

Set Environment Variables

export IMG=quay.io/user/cc-operator

Viewing available Make targets

make help

Building Operator image

make docker-build
make docker-push

Deploying Operator

Ensure KUBECONFIG points to target Kubernetes cluster

make install && make deploy IMG=quay.io/user/cc-operator

Create Custome Resource (CR)

kubectl create -f config/samples/ccruntime.yaml

Uninstalling Operator

Ensure KUBECONFIG points to target Kubernetes cluster

make uninstall && make undeploy IMG=quay.io/user/cc-operator