Skip to content

Commit

Permalink
allow setting annotations for service types
Browse files Browse the repository at this point in the history
etiennedi committed Feb 8, 2022

Verified

This commit was signed with the committer’s verified signature.
etiennedi Etienne Dilocker
1 parent bf87080 commit d9a7b10
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions weaviate/templates/collectorProxyService.yaml
Original file line number Diff line number Diff line change
@@ -4,6 +4,9 @@ kind: Service
metadata:
name: {{ .Values.collector_proxy.service.name }}
namespace: {{ .Release.Namespace }}
{{- with .Values.collector_proxy.service.annotations }}
annotations: {{ toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.collector_proxy.service.type }}
selector:
3 changes: 3 additions & 0 deletions weaviate/templates/weaviateService.yaml
Original file line number Diff line number Diff line change
@@ -2,6 +2,9 @@ apiVersion: v1
kind: Service
metadata:
name: {{ .Values.service.name }}
{{- with .Values.service.annotations }}
annotations: {{ toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
selector:
2 changes: 2 additions & 0 deletions weaviate/values.yaml
Original file line number Diff line number Diff line change
@@ -60,6 +60,7 @@ service:
loadBalancerSourceRanges: []
# optionally set cluster IP if you want to set a static IP
clusterIP:
annotations: {}

# Adjust liveness and readiness configuration
livenessProbe:
@@ -380,6 +381,7 @@ collector_proxy:
name: 'usage-proxy'
port: 80
type: LoadBalancer
annotations: {}


nodeSelector: {}

0 comments on commit d9a7b10

Please sign in to comment.