Skip to content

Commit

Permalink
Merge pull request #31 from rabunkosar-dd/fix_annotations
Browse files Browse the repository at this point in the history
fix the location of annotations for pods
  • Loading branch information
Pokom authored Mar 13, 2023
2 parents 4e939b2 + bde660c commit 67530df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
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.2.0
version: 1.3.0
maintainers:
- name: mattray
url: https://mattray.dev
8 changes: 4 additions & 4 deletions charts/opencost/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ spec:
maxUnavailable: 1
type: RollingUpdate
template:
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 8 }}
{{- end }}
metadata:
labels:
{{- include "opencost.selectorLabels" . | nindent 8 }}
{{- if .Values.podAnnotations }}
annotations:
{{- toYaml .Values.podAnnotations | nindent 8 }}
{{- end }}
spec:
{{- if .Values.imagePullSecrets }}
imagePullSecrets: {{ toYaml .Values.imagePullSecrets | nindent 8 }}
Expand Down

0 comments on commit 67530df

Please sign in to comment.