Skip to content

Commit

Permalink
pr: modify the image address of busybox (#93)
Browse files Browse the repository at this point in the history
* configure the override-configs container to use variables instead of hard code value

* configure the override-configs container to use variables instead of hard code value

* fix: update camel case in code change

* fix: set version to 0.3.1

* fix tailing space

---------

Co-authored-by: Leo Q <LeoQuote@users.noreply.github.com>
  • Loading branch information
visla-xugeng and LeoQuote authored Jul 12, 2024
1 parent 3fa7828 commit 2b9b59b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/goinception/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
appVersion: "1.0"
description: 一个集审核、执行、备份及生成回滚语句于一身的MySQL运维工具
description: 一个集审核、执行、备份及生成回滚语句于一身的MySQL运维工具
name: goinception
version: 0.3.0
version: 0.3.1
home: https://github.com/hanchuanchuan/goInception
maintainers:
- name: LeoQuote
Expand Down
3 changes: 2 additions & 1 deletion charts/goinception/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ spec:
spec:
initContainers:
- name: override-configs
image: busybox:1.28
image: "{{ .Values.overrideConfigs.image.repository }}:{{ .Values.overrideConfigs.image.tag }}"
imagePullPolicy: {{ .Values.overrideConfigs.image.pullPolicy }}
{{- with .Values.initEnv }}
env:
{{- toYaml . | nindent 12 }}
Expand Down
6 changes: 6 additions & 0 deletions charts/goinception/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ image:
tag: latest
pullPolicy: IfNotPresent

overrideConfigs:
image:
repository: busybox
tag: 1.28
pullPolicy: IfNotPresent

nameOverride: ""
fullnameOverride: ""

Expand Down

0 comments on commit 2b9b59b

Please sign in to comment.