Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion charts/gitsensor/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ maintainers:
- email: prakarsh@devtron.ai
name: Prakarsh
name: gitsensor
version: 0.11.7
version: 0.11.8
10 changes: 9 additions & 1 deletion charts/gitsensor/templates/generic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ spec:
securityContext:
{{ toYaml .Values.containerSecurityContext | indent 12 }}
{{- end }}
{{- if .Values.gitsensor.storage.existingVolume }}
volumes:
- name: "git-volume"
persistentVolumeClaim:
claimName: {{ .Values.gitsensor.storage.existingVolume }}
{{- end }}
{{- with .Values.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
Expand All @@ -85,6 +91,7 @@ spec:
affinity:
{{ toYaml .Values.gitsensor.spec.affinity | indent 8 }}
{{- end }}
{{- if not .Values.gitsensor.storage.existingVolume }}
volumeClaimTemplates:
- metadata:
name: git-volume
Expand All @@ -97,4 +104,5 @@ spec:
{{ if .Values.gitsensor.storage.nodeAffinity }}
nodeAffinity:
{{ toYaml .Values.gitsensor.storage.nodeAffinity | indent 10 }}
{{- end }}
{{- end }}
{{- end }}
1 change: 1 addition & 0 deletions charts/gitsensor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ gitsensor:
# values:
# - us-east-2
storage:
#existingVolume: "git-sensor"
class: gp2
requests: 2Gi
nodeAffinity: {}
Expand Down