Skip to content

Commit

Permalink
Add maintenance-controller deployment labels + annotations to values.…
Browse files Browse the repository at this point in the history
…yaml
  • Loading branch information
Nuckal777 committed May 27, 2024
1 parent a189ef9 commit 4d50ed6
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
4 changes: 2 additions & 2 deletions system/maintenance-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: maintenance-controller
description: A controller to manage node maintenance
type: application
version: 1.0.3
appVersion: "1.5.1"
version: 1.0.4
appVersion: "1.5.3"
home: https://github.com/sapcc/maintenance-controller
dependencies:
- name: flatcar-linux-update-agent
Expand Down
7 changes: 7 additions & 0 deletions system/maintenance-controller/ci/test-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,12 @@ kubernikus:
enabled: true
config: some_config
cloud-config: cloud-config
deployment:
extraLabels:
a: b
c: d
extraAnnotations:
e: f
g: h
ingress:
enabled: true
2 changes: 2 additions & 0 deletions system/maintenance-controller/templates/manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ spec:
metadata:
labels:
app: maintenance-controller
{{- .Values.deployment.extraLabels | toYaml | nindent 8 }}
annotations:
prometheus.io/scrape: "true"
prometheus.io/targets: kubernetes
{{- if and $.Values.global.linkerd_enabled $.Values.global.linkerd_requested }}
linkerd.io/inject: enabled
{{- end }}
{{- .Values.deployment.extraAnnotations | toYaml | nindent 8 }}
spec:
affinity:
podAntiAffinity:
Expand Down
5 changes: 4 additions & 1 deletion system/maintenance-controller/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
replicaCount: 2
image:
repository: sapcc/maintenance-controller
tag: "1.5.1"
tag: "1.5.3"
pullPolicy: IfNotPresent
rbac:
create: false
Expand All @@ -23,6 +23,9 @@ ingress:
enabled: false
ca: true
oauthProxy: true
deployment:
extraLabels: {}
extraAnnotations: {}
tolerations: null
# key value pairs, that are injected as env vars
secrets: {}

0 comments on commit 4d50ed6

Please sign in to comment.