Skip to content

Commit

Permalink
adding [annotations] directly to the top [metadata] section of the de…
Browse files Browse the repository at this point in the history
…ployment yaml template (#50)

* adding [annotations] directly to the top [metadata] section of the deployment yaml template

* adding [annotations] directly to the top [metadata] section of the deployment yaml template if [annotations] available

* Update chart version

---------

Co-authored-by: gwang <[email protected]>
Co-authored-by: Cristian Greco <[email protected]>
  • Loading branch information
3 people committed Mar 13, 2024
1 parent 29d03f9 commit be4dc1b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion charts/yet-another-cloudwatch-exporter/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: yet-another-cloudwatch-exporter
description: Yace - Yet Another CloudWatch Exporter
type: application
version: 0.30.0
version: 0.31.0
appVersion: "v0.57.1"
home: https://github.com/nerdswords/helm-charts
sources:
Expand Down
2 changes: 1 addition & 1 deletion charts/yet-another-cloudwatch-exporter/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# yet-another-cloudwatch-exporter

![Version: 0.30.0](https://img.shields.io/badge/Version-0.30.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.57.1](https://img.shields.io/badge/AppVersion-v0.57.1-informational?style=flat-square)
![Version: 0.31.0](https://img.shields.io/badge/Version-0.31.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.57.1](https://img.shields.io/badge/AppVersion-v0.57.1-informational?style=flat-square)

Yace - Yet Another CloudWatch Exporter

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ metadata:
namespace: {{ .Release.Namespace }}
labels:
{{- include "yet-another-cloudwatch-exporter.labels" . | nindent 4 }}
{{- with .Values.podAnnotations }}
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
replicas: {{ .Values.replicaCount }}
selector:
Expand Down

0 comments on commit be4dc1b

Please sign in to comment.