sample

command module
v0.0.0-...-7fa7e87 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

README

Usage

Install the Custom Resource Definitions

The sample controller implements custom resources using a Custom Resource Definition (CRD). Install the sample CRD into your Kubernetes cluster before starting the controller.

kubectl apply -f config/crd/bases/

Start the Manager

Be sure to set your kubectl context to the desired cluster before running the manager.

Use the provided Run Configuration ("go run sample") to run the manager in sample/main.go.

Apply a Sample Object

See the sample object in sample/config/samples/pulumi-controller.example.com_v1_iamaccount.yaml.

Observe that a KSA is created and that the object's condition turns to Ready.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1
Package v1 contains API Schema definitions for the pulumi-controller v1 API group +kubebuilder:object:generate=true +groupName=pulumi-controller.example.com
Package v1 contains API Schema definitions for the pulumi-controller v1 API group +kubebuilder:object:generate=true +groupName=pulumi-controller.example.com

Jump to

Keyboard shortcuts

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