Skip to content

Latest commit

 

History

History
91 lines (68 loc) · 2.79 KB

File metadata and controls

91 lines (68 loc) · 2.79 KB

labelsmanager-controller

Version: 1.0.3 Type: application AppVersion: 1.0.0

This is a simple Kubernetes Controller that injects required default labels into pods on creation.

Here's an example Labels resource:

apiVersion: labels.deliveryhero.com/v1beta1
kind: Labels
metadata:
name: labels-sample
spec:
priority: 1 # labels with highest priority takes precendence
labels:
    country: DE
    env: stg
    region: eu

Homepage: https://github.com/deliveryhero/labelsmanager-controller

How to install this chart

Add Delivery Hero public chart repo:

helm repo add deliveryhero https://charts.deliveryhero.io/

A simple install with default values:

helm install deliveryhero/labelsmanager-controller

To install the chart with the release name my-release:

helm install my-release deliveryhero/labelsmanager-controller

To install with some set values:

helm install my-release deliveryhero/labelsmanager-controller --set values_key1=value1 --set values_key2=value2

To install with custom values file:

helm install my-release deliveryhero/labelsmanager-controller -f values.yaml

Source Code

Values

Key Type Default Description
affinity object {}
controller.leaderElection bool false Enable leader election for running multiple controller pods
controller.metricAddr string "0" Address to serve prometheus metrics on. "0" is disabled.
controller.overwrite bool false Overwrite any similar label on the pod.
controller.production bool true The log level of the controller. enable for json logs
extraLabels object {}
fullnameOverride string ""
image.pullPolicy string "IfNotPresent"
image.repository string "thomasnyambati/labelsmanager-controller"
image.tag string ""
imagePullSecrets list []
nameOverride string ""
nodeSelector object {}
podAnnotations object {}
podLabels.enabled bool false
podLabels.labels object {}
podSecurityContext object {}
replicaCount int 1
resources object {}
securityContext object {}
tolerations list []

Maintainers

Name Email Url
nyambati [email protected]