Skip to content

Commit

Permalink
feat(chart): add custom service labels and annotations to helm-chart …
Browse files Browse the repository at this point in the history
…for yawol-controller and yawol-cloud-controller (#227)

* feat(chart): add custom service labels and annotations to helm-chart for yawol-controller and yawol-cloud-controller

Signed-off-by: Niclas Schad <[email protected]>

* Bump chart version

---------

Signed-off-by: Niclas Schad <[email protected]>
Co-authored-by: Tim Ebert <[email protected]>
  • Loading branch information
Niclas Schad and timebertt authored Jul 28, 2023
1 parent 470e0c8 commit 5a1f73f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
4 changes: 2 additions & 2 deletions charts/yawol-controller/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ description: Helm chart for yawol-controller
name: yawol-controller
sources:
- https://github.com/stackitcloud/yawol
version: 0.17.1
appVersion: v0.17.1
version: 0.17.2
appVersion: v0.17.2
10 changes: 10 additions & 0 deletions charts/yawol-controller/templates/yawol-gardener-monitoring.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,12 @@ kind: Service
metadata:
name: yawol-cloud-controller
namespace: {{ .Release.Namespace }}
annotations:
{{- toYaml .Values.yawolCloudController.service.annotations | nindent 4 }}
labels:
{{- with .Values.yawolCloudController.service.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
app: kubernetes
role: yawol-cloud-controller
spec:
Expand Down Expand Up @@ -118,7 +123,12 @@ kind: Service
metadata:
name: yawol-controller
namespace: {{ .Release.Namespace }}
annotations:
{{- toYaml .Values.yawolController.service.annotations | nindent 4 }}
labels:
{{- with .Values.yawolController.service.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
app: kubernetes
role: yawol-controller
spec:
Expand Down
7 changes: 7 additions & 0 deletions charts/yawol-controller/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ podLabels: {}
featureGates: {}
proxy: {}
namespace: kube-system

vpa:
enabled: false
yawolCloudController:
Expand All @@ -15,6 +16,9 @@ yawolCloudController:
enabled: true
gardenerMonitoringEnabled: false
clusterRoleEnabled: true
service:
annotations: {}
labels: {}
image:
repository: ghcr.io/stackitcloud/yawol/yawol-cloud-controller
# -- Allows you to override the yawol version in this chart. Use at your own risk.
Expand All @@ -24,6 +28,9 @@ yawolController:
gardenerMonitoringEnabled: false
errorBackoffBaseDelay: 5ms
errorBackoffMaxDelay: 1000s
service:
annotations: {}
labels: {}
image:
repository: ghcr.io/stackitcloud/yawol/yawol-controller
# -- Allows you to override the yawol version in this chart. Use at your own risk.
Expand Down

0 comments on commit 5a1f73f

Please sign in to comment.