Skip to content

Commit

Permalink
fix(containerPort): add it as value (#62)
Browse files Browse the repository at this point in the history
* fix(containerPort): add it as value

* fix(containerPort): readme edit

* fix app version

---------

Co-authored-by: Cristian Greco <cristian@regolo.cc>
  • Loading branch information
dabcoder and cristiangreco authored Jun 10, 2024
1 parent 5025094 commit f73b17d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 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.36.0
version: 0.37.0
appVersion: "v0.60.0"
home: https://github.com/nerdswords/helm-charts
sources:
Expand Down
3 changes: 2 additions & 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.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)
![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)

Yace - Yet Another CloudWatch Exporter

Expand Down Expand Up @@ -28,6 +28,7 @@ helm install nerdswords/yet-another-cloudwatch-exporter
| aws.secret.includesSessionToken | bool | `false` | |
| aws.secret.name | string | `nil` | |
| 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"` | |
| containerPort | int | `5000` | |
| extraArgs | object | `{}` | |
| extraEnv | list | `[]` | |
| extraEnvFrom | list | `[]` | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ metadata:
labels:
{{- include "yet-another-cloudwatch-exporter.labels" . | nindent 4 }}
{{- with .Values.podAnnotations }}
annotations:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
Expand Down Expand Up @@ -48,7 +48,7 @@ spec:
- --{{ $key }}={{ $value }}
{{- end }}
{{- if .Values.lifecycle }}
lifecycle:
lifecycle:
{{- toYaml .Values.lifecycle | nindent 12 }}
{{- end }}
volumeMounts:
Expand Down Expand Up @@ -99,7 +99,7 @@ spec:
{{- end }}
ports:
- name: {{ .Values.portName }}
containerPort: 5000
containerPort: {{ .Values.containerPort }}
protocol: TCP
livenessProbe:
httpGet:
Expand Down
2 changes: 2 additions & 0 deletions charts/yet-another-cloudwatch-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ podLabels: {}

portName: http

containerPort: 5000

podSecurityContext: {}
# fsGroup: 2000

Expand Down

0 comments on commit f73b17d

Please sign in to comment.