Skip to content

Commit

Permalink
Liya/dev 2377 fix node selection for opik (#438)
Browse files Browse the repository at this point in the history
* fix toleration and nodeSelector configuration for opik

* fix indentation
  • Loading branch information
liyaka authored Oct 20, 2024
1 parent fcf24dc commit c65ae79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,16 +67,16 @@ spec:

{{- with .Values.clickhouse.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 10 }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.clickhouse.affinity }}
affinity:
{{- toYaml . | nindent 10 }}
{{- toYaml . | nindent 12 }}
{{- end }}

{{- with .Values.clickhouse.tolerations }}
tolerations:
{{- toYaml . | nindent 10 }}
{{- toYaml . | nindent 12 }}
{{- end }}

serviceTemplates:
Expand Down
6 changes: 3 additions & 3 deletions deployment/helm_chart/opik/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,16 +112,16 @@ spec:
volumes:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with $.Values.nodeSelector }}
{{- with $value.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with $.Values.affinity }}
{{- with $value.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}

{{- with $.Values.tolerations }}
{{- with $value.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
Expand Down

0 comments on commit c65ae79

Please sign in to comment.