Skip to content

Commit

Permalink
feat: allow ability to add containers for things like gcp registry au…
Browse files Browse the repository at this point in the history
…th (#29)
  • Loading branch information
SamKirsch10 authored Sep 8, 2023
1 parent 0a1bb76 commit 1681599
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions spacelift-worker-pool/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ spec:
{{- with .Values.dind.extraVolumeMounts }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if .Values.additionalContainers }}
{{- toYaml .Values.additionalContainers | nindent 8 }}
{{- end }}
volumes:
- name: launcher-storage
{{- if not .Values.storageVolume }}
Expand Down
3 changes: 3 additions & 0 deletions spacelift-worker-pool/templates/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,9 @@ spec:
{{- with .Values.dind.extraVolumeMounts }}
{{- toYaml . | nindent 12 }}
{{- end }}
{{- if .Values.additionalContainers }}
{{- toYaml .Values.additionalContainers | nindent 8 }}
{{- end }}
volumes:
- name: launcher-storage
{{- if not (or .Values.storageVolume .Values.storageVolumeClaimTemplateSpec) }}
Expand Down
2 changes: 2 additions & 0 deletions spacelift-worker-pool/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ dind:
# extraVolumeMounts adds extra volume mounts to the dind container.
extraVolumeMounts: []

additionalContainers: []

nodeSelector: {}

tolerations: []
Expand Down

0 comments on commit 1681599

Please sign in to comment.