Skip to content

Commit

Permalink
fix: bento-image-snapshotter helm chart (#118)
Browse files Browse the repository at this point in the history
  • Loading branch information
yetone authored Nov 21, 2024
1 parent 9c3c53d commit 01fa7d1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,7 @@ jobs:
- name: Render yatai-image-builder Helm Template
working-directory: ./helm/yatai-image-builder
run: make template

- name: Render bento-image-snapshotter Helm Template
working-directory: ./helm/bento-image-snapshotter
run: make template
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ spec:
value: /host
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: {{ template "bento-image-snapshotter.image" . }}
image: "{{ .Values.image.registry | default .Values.global.imageRegistry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
resources:
{{ toYaml .Values.resources | indent 12 }}
Expand Down
2 changes: 1 addition & 1 deletion helm/bento-image-snapshotter/templates/daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ spec:
{{- end }}
containers:
- name: bento-image-snapshotter
image: {{ template "bento-image-snapshotter.image" . }}
image: "{{ .Values.image.registry | default .Values.global.imageRegistry }}/{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
env:
- name: S3_ENDPOINT_URL
value: {{ .Values.s3.endpoint_url }}
Expand Down

0 comments on commit 01fa7d1

Please sign in to comment.