Skip to content

Commit

Permalink
Merge pull request #12 from opf/feature/add-localized-seeding
Browse files Browse the repository at this point in the history
Add localized seeding
  • Loading branch information
machisuji authored May 25, 2023
2 parents 77d1255 + 9eb395b commit 6d5219b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/openproject/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: "A Helm chart for running OpenProject via Kubernetes"
home: "https://www.openproject.org/"
icon: "https://www.openproject.org/assets/images/press/openproject-icon-original-color-41055eb6.png"
type: "application"
version: "1.7.0"
version: "1.7.1"
appVersion: "12"
maintainers:
- name: OpenProject
Expand Down
2 changes: 2 additions & 0 deletions charts/openproject/templates/secrets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ stringData:
DATABASE_URL: "postgresql://{{ .Values.postgresql.auth.username }}:{{ .Values.postgresql.auth.password }}@{{ .Values.postgresql.connection.host }}:{{ .Values.postgresql.connection.port }}/{{ .Values.postgresql.auth.database }}"
{{- end }}
OPENPROJECT_HTTPS: {{ .Values.openproject.https | quote }}
OPENPROJECT_DEFAULT_LANGUAGE: {{ .Values.openproject.default_language | quote }}
OPENPROJECT_SEED_LOCALE: {{ .Values.openproject.default_language | quote }}
OPENPROJECT_HOST__NAME: {{ .Values.openproject.host | default .Values.ingress.host | quote }}
OPENPROJECT_HSTS: {{ .Values.openproject.hsts | quote }}
OPENPROJECT_RAILS__CACHE__STORE: {{ .Values.openproject.cache.store | quote }}
Expand Down
5 changes: 5 additions & 0 deletions charts/openproject/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,11 @@ openproject:
cache:
store: "memcache"

## Define the language to seed the instance in
# and for users to set as a default language.
#
default_language: "en"

## Define OpenID Connect providers
oidc:
enabled: false
Expand Down

0 comments on commit 6d5219b

Please sign in to comment.