diff --git a/Chart.yaml b/Chart.yaml index 4875139..ffc8324 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -14,4 +14,4 @@ name: openspeedtest sources: - https://github.com/openspeedtest/Helm-chart type: application -version: 0.1.2 +version: 0.1.3 diff --git a/templates/service.yaml b/templates/service.yaml index dded4fb..cbc15fb 100644 --- a/templates/service.yaml +++ b/templates/service.yaml @@ -4,6 +4,10 @@ metadata: name: {{ include "openspeedtest.fullname" . }} labels: {{- include "openspeedtest.labels" . | nindent 4 }} + {{- with .Values.service.annotations }} + annotations: + {{- toYaml . | nindent 4 }} + {{- end }} spec: type: {{ .Values.service.type }} {{- if eq .Values.service.type "LoadBalancer" }} diff --git a/values.yaml b/values.yaml index b0c8379..a9e6b8e 100644 --- a/values.yaml +++ b/values.yaml @@ -41,6 +41,8 @@ service: type: LoadBalancer #loadBalancerIP: 10.10.10.10 port: 3000 + annotations: {} + # cloud.google.com/neg: '{"ingress": true}' ingress: enabled: false