File tree Expand file tree Collapse file tree 3 files changed +30
-3
lines changed Expand file tree Collapse file tree 3 files changed +30
-3
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ apiVersion: v2
22name : trigger
33description : The official Trigger.dev Helm chart
44type : application
5- version : 4.0.0-beta.12
5+ version : 4.0.0-beta.14
66appVersion : trigger-helm-rc.1
77home : https://trigger.dev
88sources :
Original file line number Diff line number Diff line change @@ -48,10 +48,11 @@ spec:
4848 {{- include "trigger-v4.componentSelectorLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 6 }}
4949 template :
5050 metadata :
51- {{- with .Values.webapp.podAnnotations }}
5251 annotations :
52+ kubectl.kubernetes.io/default-container : webapp
53+ {{- with .Values.webapp.podAnnotations }}
5354 {{- toYaml . | nindent 8 }}
54- {{- end }}
55+ {{- end }}
5556 labels :
5657 {{- include "trigger-v4.componentSelectorLabels" (dict "Chart" .Chart "Release" .Release "Values" .Values "component" $component) | nindent 8 }}
5758 spec :
@@ -323,6 +324,9 @@ spec:
323324 volumeMounts :
324325 - name : shared
325326 mountPath : /home/node/shared
327+ {{- with .Values.webapp.extraVolumeMounts }}
328+ {{- toYaml . | nindent 12 }}
329+ {{- end }}
326330 volumes :
327331 - name : shared
328332 {{- if .Values.persistence.shared.enabled }}
@@ -331,6 +335,9 @@ spec:
331335 {{- else }}
332336 emptyDir : {}
333337 {{- end }}
338+ {{- with .Values.webapp.extraVolumes }}
339+ {{- toYaml . | nindent 8 }}
340+ {{- end }}
334341 {{- with .Values.webapp.nodeSelector }}
335342 nodeSelector :
336343 {{- toYaml . | nindent 8 }}
Original file line number Diff line number Diff line change @@ -115,6 +115,26 @@ webapp:
115115 # name: my-secret
116116 # key: secret-key
117117
118+ # Extra volumes for the webapp pod
119+ extraVolumes :
120+ []
121+ # - name: config-volume
122+ # configMap:
123+ # name: my-config
124+ # - name: secret-volume
125+ # secret:
126+ # secretName: my-secret
127+
128+ # Extra volume mounts for the webapp container
129+ extraVolumeMounts :
130+ []
131+ # - name: config-volume
132+ # mountPath: /etc/config
133+ # readOnly: true
134+ # - name: secret-volume
135+ # mountPath: /etc/secrets
136+ # readOnly: true
137+
118138 # ServiceMonitor for Prometheus monitoring
119139 serviceMonitor :
120140 enabled : false
You can’t perform that action at this time.
0 commit comments