Skip to content

Commit

Permalink
[helm][admission]: add image version option in helm and update imageP…
Browse files Browse the repository at this point in the history
…ullPolicy IfNotPresent
  • Loading branch information
mingming.zhou committed Aug 17, 2022
1 parent 526e30f commit ed3992e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions helm/hwameistor/templates/admission-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ spec:
spec:
serviceAccountName: hwameistor-admin
initContainers:
- image: ghcr.io/hwameistor/self-signed:v1
imagePullPolicy: Always
name: admission-controller-init
- image: {{ .Values.hwameistorImageRegistry}}/{{ .Values.admission.selfSigned.imageRepository}}:{{ .Values.admission.selfSigned.tag}}
imagePullPolicy: IfNotPresent
name: self-signed
resources:
{{- toYaml .Values.admission.resources | nindent 12 }}
env:
Expand Down
4 changes: 4 additions & 0 deletions helm/hwameistor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ admission:
replicas: 1
imageRepository: hwameistor/admission
resources: {}
# self-signed is a tool image for generating self-signed certs used by api-server
selfSigned:
imageRepository: hwameistor/self-signed
tag: v1

localDiskManager:
tolerationsOnMaster: true
Expand Down

0 comments on commit ed3992e

Please sign in to comment.