Sign inSign up

fairfaxmedia/annotation-controller

By fairfaxmedia

Updated about 8 years ago

Build https://github.com/fairfaxmedia/annotation-controller/

Image
1

331

fairfaxmedia/annotation-controller repository overview

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

TypeOperations
namespaceCREATE/UPDATE

Building

make

Running

make deploy

Cleanup

make delete

Tag summary

Content type

Image

Digest

Size

10.7 MB

Last updated

about 8 years ago

docker pull fairfaxmedia/annotation-controller