Skip to content

Commit f73b17d

Browse files
fix(containerPort): add it as value (#62)
* fix(containerPort): add it as value * fix(containerPort): readme edit * fix app version --------- Co-authored-by: Cristian Greco <cristian@regolo.cc>
1 parent 5025094 commit f73b17d

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

charts/yet-another-cloudwatch-exporter/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: yet-another-cloudwatch-exporter
33
description: Yace - Yet Another CloudWatch Exporter
44
type: application
5-
version: 0.36.0
5+
version: 0.37.0
66
appVersion: "v0.60.0"
77
home: https://github.com/nerdswords/helm-charts
88
sources:

charts/yet-another-cloudwatch-exporter/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# yet-another-cloudwatch-exporter
22

3-
![Version: 0.36.0](https://img.shields.io/badge/Version-0.36.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.60.0](https://img.shields.io/badge/AppVersion-v0.60.0-informational?style=flat-square)
3+
![Version: 0.37.0](https://img.shields.io/badge/Version-0.37.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.60.0](https://img.shields.io/badge/AppVersion-v0.60.0-informational?style=flat-square)
44

55
Yace - Yet Another CloudWatch Exporter
66

@@ -28,6 +28,7 @@ helm install nerdswords/yet-another-cloudwatch-exporter
2828
| aws.secret.includesSessionToken | bool | `false` | |
2929
| aws.secret.name | string | `nil` | |
3030
| config | string | `"apiVersion: v1alpha1\nsts-region: eu-west-1\ndiscovery:\n exportedTagsOnMetrics:\n AWS/ES:\n - Name\n jobs:\n - type: AWS/ES\n regions:\n - eu-west-1\n searchTags:\n - key: type\n value: ^(easteregg|k8s)$\n metrics:\n - name: FreeStorageSpace\n statistics:\n - Sum\n period: 60\n length: 600\n - name: ClusterStatus.green\n statistics:\n - Minimum\n period: 60\n length: 600\n - name: ClusterStatus.yellow\n statistics:\n - Maximum\n period: 60\n length: 600\n - name: ClusterStatus.red\n statistics:\n - Maximum\n period: 60\n length: 600"` | |
31+
| containerPort | int | `5000` | |
3132
| extraArgs | object | `{}` | |
3233
| extraEnv | list | `[]` | |
3334
| extraEnvFrom | list | `[]` | |

charts/yet-another-cloudwatch-exporter/templates/deployment.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
labels:
77
{{- include "yet-another-cloudwatch-exporter.labels" . | nindent 4 }}
88
{{- with .Values.podAnnotations }}
9-
annotations:
9+
annotations:
1010
{{- toYaml . | nindent 4 }}
1111
{{- end }}
1212
spec:
@@ -48,7 +48,7 @@ spec:
4848
- --{{ $key }}={{ $value }}
4949
{{- end }}
5050
{{- if .Values.lifecycle }}
51-
lifecycle:
51+
lifecycle:
5252
{{- toYaml .Values.lifecycle | nindent 12 }}
5353
{{- end }}
5454
volumeMounts:
@@ -99,7 +99,7 @@ spec:
9999
{{- end }}
100100
ports:
101101
- name: {{ .Values.portName }}
102-
containerPort: 5000
102+
containerPort: {{ .Values.containerPort }}
103103
protocol: TCP
104104
livenessProbe:
105105
httpGet:

charts/yet-another-cloudwatch-exporter/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ podLabels: {}
3636

3737
portName: http
3838

39+
containerPort: 5000
40+
3941
podSecurityContext: {}
4042
# fsGroup: 2000
4143

0 commit comments

Comments
 (0)