Skip to content

Commit

Permalink
Merge branch 'main' into quickwit-oss-helm-chart-91
Browse files Browse the repository at this point in the history
  • Loading branch information
idrissneumann authored Jul 11, 2024
2 parents ad9371e + 86f1b3d commit 3cc940a
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 5 deletions.
24 changes: 19 additions & 5 deletions charts/quickwit/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
type: {{ .Values.searcher.serviceType | default .Values.service.type }}
{{- if .Values.service.ipFamilyPolicy }}
ipFamilyPolicy: {{ .Values.service.ipFamilyPolicy }}
{{- end }}
Expand Down Expand Up @@ -80,7 +80,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
type: {{ .Values.indexer.serviceType | default .Values.service.type }}
{{- if .Values.service.ipFamilyPolicy }}
ipFamilyPolicy: {{ .Values.service.ipFamilyPolicy }}
{{- end }}
Expand Down Expand Up @@ -112,7 +112,7 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
type: {{ .Values.metastore.serviceType | default .Values.service.type }}
{{- if .Values.service.ipFamilyPolicy }}
ipFamilyPolicy: {{ .Values.service.ipFamilyPolicy }}
{{- end }}
Expand All @@ -136,8 +136,15 @@ metadata:
name: {{ include "quickwit.fullname" . }}-control-plane
labels:
{{- include "quickwit.labels" . | nindent 4 }}
annotations:
{{- with .Values.service.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.control_plane.serviceAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
type: {{ .Values.control_plane.serviceType | default .Values.service.type }}
{{- if .Values.service.ipFamilyPolicy }}
ipFamilyPolicy: {{ .Values.service.ipFamilyPolicy }}
{{- end }}
Expand All @@ -162,8 +169,15 @@ metadata:
name: {{ include "quickwit.fullname" . }}-janitor
labels:
{{- include "quickwit.labels" . | nindent 4 }}
annotations:
{{- with .Values.service.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.janitor.serviceAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
type: {{ .Values.service.type }}
type: {{ .Values.janitor.serviceType | default .Values.service.type }}
{{- if .Values.service.ipFamilyPolicy }}
ipFamilyPolicy: {{ .Values.service.ipFamilyPolicy }}
{{- end }}
Expand Down
15 changes: 15 additions & 0 deletions charts/quickwit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ searcher:

serviceAnnotations: {}

# serviceType: ClusterIP

nodeSelector: {}

tolerations: []
Expand Down Expand Up @@ -186,6 +188,8 @@ indexer:

serviceAnnotations: {}

# serviceType: ClusterIP

nodeSelector: {}

tolerations: []
Expand Down Expand Up @@ -256,6 +260,8 @@ metastore:

serviceAnnotations: {}

# serviceType: ClusterIP

nodeSelector: {}

tolerations: []
Expand Down Expand Up @@ -313,6 +319,10 @@ control_plane:

podAnnotations: {}

serviceAnnotations: {}

# serviceType: ClusterIP

nodeSelector: {}

tolerations: []
Expand Down Expand Up @@ -373,6 +383,10 @@ janitor:

podAnnotations: {}

serviceAnnotations: {}

# serviceType: ClusterIP

nodeSelector: {}

tolerations: []
Expand Down Expand Up @@ -551,6 +565,7 @@ prometheusRule:
# severity: warning

service:
# Service type configuration default for all Quickwit services
type: ClusterIP

# -- Set the ip family policy to configure dual-stack see [Configure dual-stack](https://kubernetes.io/docs/concepts/services-networking/dual-stack/#services)
Expand Down

0 comments on commit 3cc940a

Please sign in to comment.