Skip to content

Commit

Permalink
feat(yace): allow overriding image registry (#52)
Browse files Browse the repository at this point in the history
Signed-off-by: Yann Soubeyrand <[email protected]>
  • Loading branch information
yann-soubeyrand committed Mar 13, 2024
1 parent 6f83ddb commit 29d03f9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 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.29.0
version: 0.30.0
appVersion: "v0.57.1"
home: https://github.com/nerdswords/helm-charts
sources:
Expand Down
5 changes: 3 additions & 2 deletions 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.29.0](https://img.shields.io/badge/Version-0.29.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.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)

Yace - Yet Another CloudWatch Exporter

Expand Down Expand Up @@ -35,7 +35,8 @@ helm install nerdswords/yet-another-cloudwatch-exporter
| extraVolumes | list | `[]` | |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"ghcr.io/nerdswords/yet-another-cloudwatch-exporter"` | |
| image.registry | string | `"ghcr.io"` | |
| image.repository | string | `"nerdswords/yet-another-cloudwatch-exporter"` | |
| image.tag | string | `""` | |
| imagePullSecrets | list | `[]` | |
| ingress.annotations | object | `{}` | |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
image: "{{ .Values.image.registry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command:
- "yace"
Expand Down Expand Up @@ -125,4 +125,4 @@ spec:
name: vol-yet-another-cloudwatch-exporter
{{- if .Values.extraVolumes }}
{{- toYaml .Values.extraVolumes | nindent 8}}
{{- end }}
{{- end }}
3 changes: 2 additions & 1 deletion charts/yet-another-cloudwatch-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
replicaCount: 1

image:
repository: ghcr.io/nerdswords/yet-another-cloudwatch-exporter
registry: ghcr.io
repository: nerdswords/yet-another-cloudwatch-exporter
pullPolicy: IfNotPresent
# Overrides the image tag whose default is the chart appVersion.
tag: ""
Expand Down

0 comments on commit 29d03f9

Please sign in to comment.