verrazzano-wko-operator

module
v0.0.14-0...-5404ca7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 21, 2021 License: UPL-1.0

README

Go Report Card

verrazzano-wko-operator

Kubernetes operator for handling WebLogic operators

Prerequisites

operator-sdk version must be v0.18.1

How to Build

make build

How to run outside a Kubernetes cluster

export GO111MODULE=on

export OPERATOR_NAME=verrazzano-wko-operator
operator-sdk up local --namespace=""

How to build and deploy in a Kubernetes cluster

operator-sdk build verrazzano-wko-operator:v0.0.1

sed -i -e 's|REPLACE_IMAGE|verrazzano-wko-operator:v0.0.1|g' deploy/operator.yaml
# This step is using the default namespace for the deployment. Change to desired
# namespace if need be.
sed -i -e "s|REPLACE_NAMESPACE|default|g" deploy/role_binding.yaml

kubectl apply -f deploy/service_account.yaml
kubectl apply -f deploy/role.yaml
kubectl apply -f deploy/role_binding.yaml
kubectl apply -f deploy/operator.yaml

How to update the CRD

# Make edits to pkg/apis/verrazzano/v1beta1/wlsoperator_types.go

# Regenerate
make generate

Directories

Path Synopsis
cmd
pkg
apis/verrazzano/v1beta1
Package v1beta1 contains API Schema definitions for the verrazzano v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=verrazzano.io Package v1beta1 contains API Schema definitions for the verrazzano v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=verrazzano.io
Package v1beta1 contains API Schema definitions for the verrazzano v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=verrazzano.io Package v1beta1 contains API Schema definitions for the verrazzano v1beta1 API group +k8s:deepcopy-gen=package,register +groupName=verrazzano.io
client/clientset/versioned
This package has the automatically generated clientset.
This package has the automatically generated clientset.
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
This package has the automatically generated fake clientset.
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
This package contains the scheme of the automatically generated clientset.
client/clientset/versioned/typed/verrazzano/v1beta1
This package has the automatically generated typed clients.
This package has the automatically generated typed clients.
client/clientset/versioned/typed/verrazzano/v1beta1/fake
Package fake has the automatically generated clients.
Package fake has the automatically generated clients.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL