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

make installer image configurable #9

Merged
merged 1 commit into from
Feb 13, 2021
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 helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 0.1.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
4 changes: 2 additions & 2 deletions helm/templates/keepalived-installer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ spec:
- name: installer
securityContext:
privileged: true
image: busybox
imagePullPolicy: IfNotPresent
image: {{ .Values.installer.repository }}:{{ .Values.installer.tag | default "latest" }}
imagePullPolicy: {{ .Values.installer.pullPolicy }}
command: ["./scripts/install.sh"]
lifecycle:
preStop:
Expand Down
2 changes: 1 addition & 1 deletion helm/templates/keepalived-manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ data:
containers:
- name: keepalived
image: {{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}
imagePullPolicy: Always
imagePullPolicy: {{ .Values.image.pullPolicy }}
args: # override options in the Dockerfile
- --vrrp
- --log-detail
Expand Down
5 changes: 5 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ image:
pullPolicy: IfNotPresent
tag: ''

installer:
repository: busybox
pullPolicy: IfNotPresent
tag: latest

serviceAccount:
create: false
annotations: {}
Expand Down