Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(yace): allow overriding image registry #52

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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