gitops-conductor

module
v0.0.0-...-70dd35d Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2019 License: BSD-3-Clause

README

GitOps operator

GitOps conductor is a Kubernetes operator using the operator pattern for managing resources on a Kubernetes cluster. It builds on the concept introduced by WeaveWorks. The GitOps conductor philosophy is to build on the Unix philosohy and does not try to solve your whole CI/CD pipeline. GitOps conductor only takes care of ensuring the thing you want on your cluster is there.

The conductor works with read only permissions to the git repositories applied on the cluster. This philosophy is kept to ensure that a hacked cluster would not give a hacker possibility to hijack other clusters by pushing code to your deployment repo.


Get Started

Deploy the GitOps CRD and the operator modify the RBAC rules if you want to restrict access

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

Once the GitOps conductor is running you can deploy a CR instance to get the operator into work.

A simple example that deploys (and keeps) a busybox pod in your cluster

kubectl apply -f deploy/crds/ops_v1alpha1_gitops_cr.yaml

Directories

Path Synopsis
cmd
pkg
apis/ops/v1alpha1
Package v1alpha1 contains API Schema definitions for the ops v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=ops.dac.nokia.com
Package v1alpha1 contains API Schema definitions for the ops v1alpha1 API group +k8s:deepcopy-gen=package,register +groupName=ops.dac.nokia.com
crd
git
plugin
proto
Package proto is a generated protocol buffer package.
Package proto is a generated protocol buffer package.

Jump to

Keyboard shortcuts

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