diff --git a/charts/quickwit/templates/control-plane-deployment.yaml b/charts/quickwit/templates/control-plane-deployment.yaml index bbf964d..4a2cb87 100644 --- a/charts/quickwit/templates/control-plane-deployment.yaml +++ b/charts/quickwit/templates/control-plane-deployment.yaml @@ -4,6 +4,13 @@ metadata: name: {{ include "quickwit.fullname" . }}-control-plane labels: {{- include "quickwit.labels" . | nindent 4 }} + annotations: + {{- with .Values.annotations }} + {{- toYaml . | nindent 4 }} + {{- end }} + {{- with .Values.control_plane.annotations }} + {{- toYaml . | nindent 4 }} + {{- end }} spec: replicas: 1 selector: @@ -18,6 +25,9 @@ spec: {{- with .Values.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.control_plane.podAnnotations }} + {{- toYaml . | nindent 8 }} + {{- end }} labels: {{- include "quickwit.additionalLabels" . | nindent 8 }} {{- include "quickwit.control_plane.selectorLabels" . | nindent 8 }} diff --git a/charts/quickwit/templates/indexer-statefulset.yaml b/charts/quickwit/templates/indexer-statefulset.yaml index 399e467..51118c5 100644 --- a/charts/quickwit/templates/indexer-statefulset.yaml +++ b/charts/quickwit/templates/indexer-statefulset.yaml @@ -4,6 +4,13 @@ metadata: name: {{ include "quickwit.fullname" . }}-indexer labels: {{- include "quickwit.labels" . | nindent 4 }} + annotations: + {{- with .Values.annotations }} + {{- toYaml . | nindent 4 }} + {{- end }} + {{- with .Values.indexer.annotations }} + {{- toYaml . | nindent 4 }} + {{- end }} spec: replicas: {{ .Values.indexer.replicaCount }} serviceName: {{ include "quickwit.fullname" . }}-headless @@ -22,6 +29,9 @@ spec: {{- with .Values.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.indexer.podAnnotations }} + {{- toYaml . | nindent 8 }} + {{- end }} labels: {{- include "quickwit.additionalLabels" . | nindent 8 }} {{- include "quickwit.indexer.selectorLabels" . | nindent 8 }} diff --git a/charts/quickwit/templates/janitor-deployment.yaml b/charts/quickwit/templates/janitor-deployment.yaml index b5d87b7..1a3a42f 100644 --- a/charts/quickwit/templates/janitor-deployment.yaml +++ b/charts/quickwit/templates/janitor-deployment.yaml @@ -5,6 +5,13 @@ metadata: name: {{ include "quickwit.fullname" . }}-janitor labels: {{- include "quickwit.labels" . | nindent 4 }} + annotations: + {{- with .Values.annotations }} + {{- toYaml . | nindent 4 }} + {{- end }} + {{- with .Values.janitor.annotations }} + {{- toYaml . | nindent 4 }} + {{- end }} spec: replicas: 1 selector: @@ -19,6 +26,9 @@ spec: {{- with .Values.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.janitor.podAnnotations }} + {{- toYaml . | nindent 8 }} + {{- end }} labels: {{- include "quickwit.additionalLabels" . | nindent 8 }} {{- include "quickwit.janitor.selectorLabels" . | nindent 8 }} diff --git a/charts/quickwit/templates/metastore-deployment.yaml b/charts/quickwit/templates/metastore-deployment.yaml index a17afa5..c10106a 100644 --- a/charts/quickwit/templates/metastore-deployment.yaml +++ b/charts/quickwit/templates/metastore-deployment.yaml @@ -4,6 +4,13 @@ metadata: name: {{ include "quickwit.fullname" . }}-metastore labels: {{- include "quickwit.labels" . | nindent 4 }} + annotations: + {{- with .Values.annotations }} + {{- toYaml . | nindent 4 }} + {{- end }} + {{- with .Values.metastore.annotations }} + {{- toYaml . | nindent 4 }} + {{- end }} spec: replicas: {{ .Values.metastore.replicaCount }} selector: @@ -17,6 +24,9 @@ spec: {{- with .Values.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.metastore.podAnnotations }} + {{- toYaml . | nindent 8 }} + {{- end }} labels: {{- include "quickwit.additionalLabels" . | nindent 8 }} {{- include "quickwit.metastore.selectorLabels" . | nindent 8 }} diff --git a/charts/quickwit/templates/searcher-statefulset.yaml b/charts/quickwit/templates/searcher-statefulset.yaml index aa8fd68..c8387de 100644 --- a/charts/quickwit/templates/searcher-statefulset.yaml +++ b/charts/quickwit/templates/searcher-statefulset.yaml @@ -4,6 +4,13 @@ metadata: name: {{ include "quickwit.fullname" . }}-searcher labels: {{- include "quickwit.labels" . | nindent 4 }} + annotations: + {{- with .Values.annotations }} + {{- toYaml . | nindent 4 }} + {{- end }} + {{- with .Values.searcher.annotations }} + {{- toYaml . | nindent 4 }} + {{- end }} spec: replicas: {{ .Values.searcher.replicaCount }} serviceName: {{ include "quickwit.fullname" . }}-headless @@ -22,6 +29,9 @@ spec: {{- with .Values.podAnnotations }} {{- toYaml . | nindent 8 }} {{- end }} + {{- with .Values.searcher.podAnnotations }} + {{- toYaml . | nindent 8 }} + {{- end }} labels: {{- include "quickwit.additionalLabels" . | nindent 8 }} {{- include "quickwit.searcher.selectorLabels" . | nindent 8 }} diff --git a/charts/quickwit/templates/service.yaml b/charts/quickwit/templates/service.yaml index cc84d42..cdb0d5c 100644 --- a/charts/quickwit/templates/service.yaml +++ b/charts/quickwit/templates/service.yaml @@ -4,6 +4,13 @@ metadata: name: {{ include "quickwit.fullname" . }}-searcher labels: {{- include "quickwit.labels" . | nindent 4 }} + annotations: + {{- with .Values.service.annotations }} + {{- toYaml . | nindent 4 }} + {{- end }} + {{- with .Values.searcher.serviceAnnotations }} + {{- toYaml . | nindent 4 }} + {{- end }} spec: type: {{ .Values.service.type }} ports: @@ -23,6 +30,10 @@ metadata: name: {{ include "quickwit.fullname" . }}-headless labels: {{- include "quickwit.labels" . | nindent 4 }} + annotations: + {{- with .Values.service.annotations }} + {{- toYaml . | nindent 4 }} + {{- end }} spec: type: ClusterIP clusterIP: None @@ -49,6 +60,13 @@ metadata: name: {{ include "quickwit.fullname" . }}-indexer labels: {{- include "quickwit.labels" . | nindent 4 }} + annotations: + {{- with .Values.service.annotations }} + {{- toYaml . | nindent 4 }} + {{- end }} + {{- with .Values.indexer.serviceAnnotations }} + {{- toYaml . | nindent 4 }} + {{- end }} spec: type: {{ .Values.service.type }} ports: @@ -68,6 +86,13 @@ metadata: name: {{ include "quickwit.fullname" . }}-metastore labels: {{- include "quickwit.labels" . | nindent 4 }} + annotations: + {{- with .Values.service.annotations }} + {{- toYaml . | nindent 4 }} + {{- end }} + {{- with .Values.metastore.serviceAnnotations }} + {{- toYaml . | nindent 4 }} + {{- end }} spec: type: {{ .Values.service.type }} ports: diff --git a/charts/quickwit/values.yaml b/charts/quickwit/values.yaml index 068856c..82ee34e 100644 --- a/charts/quickwit/values.yaml +++ b/charts/quickwit/values.yaml @@ -25,6 +25,8 @@ serviceAccount: # If not set and create is true, a name is generated using the fullname template name: "" +annotations: {} + podAnnotations: {} podSecurityContext: @@ -83,6 +85,12 @@ searcher: path: /health/readyz port: rest + annotations: {} + + podAnnotations: {} + + serviceAnnotations: {} + nodeSelector: {} tolerations: [] @@ -129,6 +137,12 @@ indexer: path: /health/readyz port: rest + annotations: {} + + podAnnotations: {} + + serviceAnnotations: {} + nodeSelector: {} tolerations: [] @@ -175,6 +189,12 @@ metastore: path: /health/readyz port: rest + annotations: {} + + podAnnotations: {} + + serviceAnnotations: {} + nodeSelector: {} tolerations: [] @@ -211,6 +231,10 @@ control_plane: path: /health/readyz port: rest + annotations: {} + + podAnnotations: {} + nodeSelector: {} tolerations: [] @@ -250,6 +274,10 @@ janitor: path: /health/readyz port: rest + annotations: {} + + podAnnotations: {} + nodeSelector: {} tolerations: [] @@ -392,6 +420,8 @@ prometheusRule: service: type: ClusterIP + annotations: {} + ingress: enabled: false className: nginx