Create optional serviceAnnotations value in helm chart (#867)

* Create optional serviceAnnotations value in helm chart

* update annotation key

* update annotation key - webhook service

* fix README.md

* docs: using consistent tense

* docs: making the code comments more generic
This commit is contained in:
Arun Anandhan
2021-10-17 15:37:43 -06:00
committed by GitHub
parent 43141cb751
commit 0401b2d786
4 changed files with 14 additions and 0 deletions

View File

@@ -5,6 +5,10 @@ metadata:
{{- include "actions-runner-controller.labels" . | nindent 4 }}
name: {{ include "actions-runner-controller.metricsServiceName" . }}
namespace: {{ .Release.Namespace }}
{{- with .Values.metrics.serviceAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
ports:
- name: metrics-port