Skip to content
Snippets Groups Projects
Commit 55578f8c authored by Andri Joos's avatar Andri Joos :blush:
Browse files

add annotations & labels to service

parent 545f68b7
No related branches found
No related tags found
No related merge requests found
Pipeline #7741 passed with stages
in 38 seconds
......@@ -3,6 +3,12 @@ apiVersion: v1
kind: Service
metadata:
name: {{ .Values.name }}
{{- with .Values.annotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
labels:
{{- include "common.variables.labels" . | nindent 4 }}
spec:
type: {{ .Values.type | default "ClusterIP" }}
{{- with .Values.ports }}
......@@ -12,4 +18,5 @@ spec:
{{- if .Values.additionalConfig }}
{{- toYaml .Values.additionalConfig | nindent 2 }}
{{- end }}
---
{{- end }}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment