Skip to content

Commit

Permalink
Merge branch 'pr/118'
Browse files Browse the repository at this point in the history
  • Loading branch information
mattray committed Oct 19, 2023
2 parents 9e8288e + ccc42f7 commit e25278d
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion charts/opencost/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ keywords:
- kubecost
- opencost
- monitoring
version: 1.21.2
version: 1.21.3
maintainers:
- name: mattray
url: https://mattray.dev
Expand Down
2 changes: 1 addition & 1 deletion charts/opencost/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

OpenCost and OpenCost UI

![Version: 1.21.1](https://img.shields.io/badge/Version-1.21.1-informational?style=flat-square)
![Version: 1.21.3](https://img.shields.io/badge/Version-1.21.3-informational?style=flat-square)
![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square)
![AppVersion: 1.106.3](https://img.shields.io/badge/AppVersion-1.106.3-informational?style=flat-square)

Expand Down
6 changes: 1 addition & 5 deletions charts/opencost/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@ spec:
replicas: {{ .Values.opencost.exporter.replicas }}
selector:
matchLabels: {{- include "opencost.selectorLabels" . | nindent 6 }}
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
strategy: {{ toYaml .Values.updateStrategy | nindent 4 }}
template:
metadata:
labels:
Expand Down
6 changes: 6 additions & 0 deletions charts/opencost/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ serviceAccount:
# -- Whether pods running as this service account should have an API token automatically mounted
automountServiceAccountToken: true

# -- Strategy to be used for the Deployment
updateStrategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
# -- Annotations to add to the all the resources
annotations: {}
# -- Annotations to add to the OpenCost Pod
Expand Down

0 comments on commit e25278d

Please sign in to comment.