Skip to content
This repository has been archived by the owner on Jan 14, 2020. It is now read-only.

fairfaxmedia/annotation-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Annotation Controller

Controller that defines an annotation type in Kubernetes.

This allows the type to manage Annotations of other types within Kubernetes.

Example

Defining an object of the type Annotation targeting the namespace object.

apiVersion: example.com/v1
kind: Annotation
metadata:
  name: example-annotation
  namespace: annotation-controller
spec:
  targets:
  - Data:
      ping: pong
    Kind: namespace

Will modify the annotations of the target resource

apiVersion: v1
kind: Namespace
metadata:
  annotations:
    ping: pong

Supported Types

Type Operations
namespace CREATE/UPDATE

Building

make

Running

make deploy

Cleanup

make delete

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages