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

Commit

Permalink
use app version and make repo configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
kschu91 committed Apr 22, 2022
1 parent 7faa35d commit c7d02cb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/sidecar-cleaner/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ version: 0.1.0
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.16.0"
appVersion: "v0.1.0"
2 changes: 1 addition & 1 deletion charts/sidecar-cleaner/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
- name: {{ .Chart.Name }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: {{ .Values.image | quote }}
image: "{{ .Values.image.repository }}:{{ default .Chart.AppVersion .Values.image.tag }}"
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.nodeSelector }}
Expand Down
4 changes: 3 additions & 1 deletion charts/sidecar-cleaner/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@

replicaCount: 1

image: ""
image:
repository: "ghcr.io/aoepeople/kubernetes-sidecar-cleaner"
tag: ""

imagePullSecrets:
- name: aws-eks
Expand Down

0 comments on commit c7d02cb

Please sign in to comment.