g8s-admission-controller

command module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

README

G8S Admission Controller

Giant Swarm Control Plane admission controller that implements the following rules:

  • When the G8SControlPlane replicas is changed from 1 to 3 the Availavility Zones of the AWSControlPlane will be defaulted if needed.

The certificates for the webhook are created with CertManager and injected through the CA Injector.

Ownership

Firecracker Team

Local development

kind create cluster
CGO_ENABLED=0 go build .
docker build . -t g8s-admission-controller:dev
kind load docker-image g8s-admission-controller:dev
opsctl ensure crds -k "$(kind get kubeconfig)" -p aws
kubectl apply --context kind-kind -f local_dev/certmanager.yml
## Wait until certmanaget is up
kubectl apply --context kind-kind -f local_dev/clusterissuer.yml
helm template g8s-admission-controller -f helm/g8s-admission-controller/ci/default-values.yaml helm/g8s-admission-controller > local_dev/deploy.yaml
## Replace image name with g8s-admission-controller:dev
kubectl apply --context kind-kind -f local_dev/deploy.yaml
kind delete cluster

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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