Skip to content

Commit

Permalink
Merge pull request #48 from curie-data-factory/doccano
Browse files Browse the repository at this point in the history
add extraEnv capability to doccano
  • Loading branch information
armandleopold committed Apr 7, 2022
2 parents 549cd07 + 7223af4 commit a16fef5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/doccano/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: doccano
appVersion: 1.6.2
version: 2.0.0
version: 2.0.1
description: A Helm chart for doccano, Open source text annotation tool for machine learning practitioner.
home: https://doccano.herokuapp.com/
icon: https://raw.githubusercontent.com/doccano/doccano/master/docs/images/logo/doccano.png
Expand Down
5 changes: 5 additions & 0 deletions charts/doccano/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ spec:
optional: false
- name: DATABASE_URL
value: "postgres://{{ .Values.postgresql.global.postgresql.auth.username }}:{{ .Values.postgresql.global.postgresql.auth.password }}@{{ .Release.Name }}-postgresql:5432/{{ .Values.postgresql.global.postgresql.auth.database }}?sslmode=disable"
{{- if .Values.extraEnv }}
{{- with .Values.extraEnv }}
{{ toYaml . | indent 8 }}
{{- end }}
{{- end }}
name: {{ .Values.image.name }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
Expand Down

0 comments on commit a16fef5

Please sign in to comment.