Skip to content

Commit fc29ac9

Browse files
authored
helm-chart: Add annotations on webapp service (#12981)
1 parent 2351396 commit fc29ac9

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

charts/airbyte/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.3.2
18+
version: 0.3.3
1919

2020
# This is the version number of the application being deployed. This version number should be
2121
# incremented each time you make changes to the application. Versions are not expected to

charts/airbyte/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ Helm charts for Airbyte.
4747
| `webapp.readinessProbe.successThreshold` | Success threshold for readinessProbe | `1` |
4848
| `webapp.service.type` | The service type to use for the webapp service | `ClusterIP` |
4949
| `webapp.service.port` | The service port to expose the webapp on | `80` |
50+
| `webapp.service.annotations` | Annotations for the webapp service resource | `{}` |
5051
| `webapp.resources.limits` | The resources limits for the Web container | `{}` |
5152
| `webapp.resources.requests` | The requested resources for the Web container | `{}` |
5253
| `webapp.nodeSelector` | Node labels for pod assignment | `{}` |

charts/airbyte/templates/webapp/service.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ apiVersion: v1
33
kind: Service
44
metadata:
55
name: {{ include "common.names.fullname" . }}-webapp
6+
{{- with .Values.webapp.service.annotations }}
7+
annotations:
8+
{{- toYaml . | nindent 4 }}
9+
{{- end }}
610
spec:
711
type: {{ .Values.webapp.service.type }}
812
ports:

charts/airbyte/values.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,11 @@ webapp:
8989

9090
## @param webapp.service.type The service type to use for the webapp service
9191
## @param webapp.service.port The service port to expose the webapp on
92+
## @param webapp.service.annotations Annotations for the webapp service resource
9293
service:
9394
type: ClusterIP
9495
port: 80
96+
annotations: {}
9597

9698
## Web app resource requests and limits
9799
## ref: http://kubernetes.io/docs/user-guide/compute-resources/

0 commit comments

Comments
 (0)