Skip to content
This repository was archived by the owner on Sep 3, 2024. It is now read-only.

Commit c7d02cb

Browse files
committed
use app version and make repo configurable
1 parent 7faa35d commit c7d02cb

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

charts/sidecar-cleaner/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ version: 0.1.0
2121
# incremented each time you make changes to the application. Versions are not expected to
2222
# follow Semantic Versioning. They should reflect the version the application is using.
2323
# It is recommended to use it with quotes.
24-
appVersion: "1.16.0"
24+
appVersion: "v0.1.0"

charts/sidecar-cleaner/templates/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ spec:
2929
- name: {{ .Chart.Name }}
3030
securityContext:
3131
{{- toYaml .Values.securityContext | nindent 12 }}
32-
image: {{ .Values.image | quote }}
32+
image: "{{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}"
3333
resources:
3434
{{- toYaml .Values.resources | nindent 12 }}
3535
{{- with .Values.nodeSelector }}

charts/sidecar-cleaner/values.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44

55
replicaCount: 1
66

7-
image: ""
7+
image:
8+
repository: "ghcr.io/aoepeople/kubernetes-sidecar-cleaner"
9+
tag: ""
810

911
imagePullSecrets:
1012
- name: aws-eks

0 commit comments

Comments
 (0)