Skip to content

Commit

Permalink
Disable buildkit sidecar when uses a buildkit per namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
wpjunior committed May 3, 2024
1 parent 351982e commit d746cfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/deploy-agent/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: 1.4.6
version: 1.4.7

# 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
2 changes: 2 additions & 0 deletions charts/deploy-agent/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}

{{- if not .Values.deployAgent.buildkit.autoDiscovery.useSameNamespaceAsTsuruApp }}
- name: buildkit
image: "{{ .Values.buildkit.image.repository }}:{{ .Values.buildkit.image.tag }}"
imagePullPolicy: {{ .Values.buildkit.image.pullPolicy }}
Expand Down Expand Up @@ -113,6 +114,7 @@ spec:
{{- with .Values.buildkit.volumeMounts }}
{{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}

volumes:
- name: buildkit-run
Expand Down

0 comments on commit d746cfd

Please sign in to comment.