Skip to content

Commit

Permalink
Merge branch 'helm-affinity-tsc'
Browse files Browse the repository at this point in the history
includes version bump
  • Loading branch information
mattray committed Feb 23, 2023
2 parents a249b0b + 2033177 commit c5e6f86
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

OpenCost and OpenCost UI

![Version: 1.0.2](https://img.shields.io/badge/Version-1.0.2-informational?style=flat-square) ![AppVersion: 1.9.8](https://img.shields.io/badge/AppVersion-1.9.8-informational?style=flat-square)
![Version: 1.0.3](https://img.shields.io/badge/Version-1.0.3-informational?style=flat-square) ![AppVersion: 1.9.8](https://img.shields.io/badge/AppVersion-1.9.8-informational?style=flat-square)

## Maintainers

Expand Down
2 changes: 1 addition & 1 deletion charts/opencost/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 1.9.8
name: opencost
description: OpenCost and OpenCost UI
version: 1.0.2
version: 1.0.3
maintainers:
- name: mattray
url: https://mattray.dev
12 changes: 12 additions & 0 deletions charts/opencost/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,18 @@ spec:
serviceAccountName: {{ template "opencost.serviceAccountName" . }}
tolerations:
{{- toYaml .Values.opencost.tolerations | nindent 8 }}
{{- with .Values.opencost.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.opencost.affinity }}
affinity:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with.Values.opencost.topologySpreadConstraints }}
topologySpreadConstraints:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
- image: "{{ .Values.opencost.exporter.image.registry }}/{{ .Values.opencost.exporter.image.repository }}:{{ .Values.opencost.exporter.image.tag }}"
name: {{ include "opencost.fullname" . }}
Expand Down
3 changes: 3 additions & 0 deletions charts/opencost/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,6 @@ opencost:
memory: '1G'

tolerations: []
nodeSelector: {}
affinity: {}
topologySpreadConstraints: []

0 comments on commit c5e6f86

Please sign in to comment.