Add annotations to githubWebhookServer Service in Helm Chart (#665)
Improves #664 by adding annotations to the server's service. Beyond general applications, we use these annotations within my own projects to configure various LB values.
This commit is contained in:
parent
b1bfa8787f
commit
67031acdc4
|
|
@ -15,7 +15,7 @@ type: application
|
||||||
# This is the chart version. This version number should be incremented each time you make changes
|
# This is the chart version. This version number should be incremented each time you make changes
|
||||||
# to the chart and its templates, including the app version.
|
# to the chart and its templates, including the app version.
|
||||||
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
# Versions are expected to follow Semantic Versioning (https://semver.org/)
|
||||||
version: 0.12.5
|
version: 0.12.6
|
||||||
|
|
||||||
# Used as the default manager tag value when no tag property is provided in the values.yaml
|
# Used as the default manager tag value when no tag property is provided in the values.yaml
|
||||||
appVersion: 0.19.0
|
appVersion: 0.19.0
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,10 @@ metadata:
|
||||||
namespace: {{ .Release.Namespace }}
|
namespace: {{ .Release.Namespace }}
|
||||||
labels:
|
labels:
|
||||||
{{- include "actions-runner-controller.labels" . | nindent 4 }}
|
{{- include "actions-runner-controller.labels" . | nindent 4 }}
|
||||||
|
{{- if .Values.githubWebhookServer.service.annotations }}
|
||||||
|
annotations:
|
||||||
|
{{ toYaml .Values.githubWebhookServer.service.annotations | nindent 4 }}
|
||||||
|
{{- end }}
|
||||||
spec:
|
spec:
|
||||||
type: {{ .Values.githubWebhookServer.service.type }}
|
type: {{ .Values.githubWebhookServer.service.type }}
|
||||||
ports:
|
ports:
|
||||||
|
|
|
||||||
|
|
@ -146,6 +146,7 @@ githubWebhookServer:
|
||||||
priorityClassName: ""
|
priorityClassName: ""
|
||||||
service:
|
service:
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
|
annotations: {}
|
||||||
ports:
|
ports:
|
||||||
- port: 80
|
- port: 80
|
||||||
targetPort: http
|
targetPort: http
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue