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

Commit

Permalink
Merge pull request #9 from clastix/issues/6
Browse files Browse the repository at this point in the history
make installer image configurable
  • Loading branch information
bsctl authored Feb 13, 2021
2 parents dcaa102 + 92682e3 commit 849e820
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
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

0 comments on commit 849e820

Please sign in to comment.