Skip to content

Commit

Permalink
feat: add PRERUNNER_IMAGE
Browse files Browse the repository at this point in the history
  • Loading branch information
weixiao-huang authored and huangweixiao committed Sep 2, 2022
1 parent 1089ba9 commit dc19360
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deploy/helm/virtink/templates/virt-controller/deployment.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{{- $service := .Values.virtController }}
{{- $image := merge $service.image .Values.image }}
{{- $prerunnerImage := merge .Values.virtPrerunner.image .Values.image }}
apiVersion: apps/v1
kind: Deployment
metadata:
Expand Down Expand Up @@ -28,6 +29,9 @@ spec:
- name: virt-controller
image: {{ include "virtink.image" $image }}
imagePullPolicy: {{ $image.pullPolicy }}
env:
- name: PRERUNNER_IMAGE
value: {{ include "virtink.image" $prerunnerImage }}
args:
- --zap-time-encoding=iso8601
- --leader-elect
Expand Down
4 changes: 4 additions & 0 deletions deploy/helm/virtink/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ virtController:
image:
repository: smartxworks/virt-controller

virtPrerunner:
image:
repository: smartxworks/virt-prerunner

virtDaemon:
nodeSelector: {}
tolerations: []
Expand Down

0 comments on commit dc19360

Please sign in to comment.