chart/hyrax/templates/configmap-env.yaml in hyrax-3.0.0.pre.rc4 vs chart/hyrax/templates/configmap-env.yaml in hyrax-3.0.0

- old
+ new

@@ -6,27 +6,26 @@ app.kubernetes.io/name: {{ include "hyrax.name" . }} helm.sh/chart: {{ include "hyrax.chart" . }} app.kubernetes.io/instance: {{ .Release.Name }} app.kubernetes.io/managed-by: {{ .Release.Service }} data: - {{- if .Values.postgresql.enabled }} - DB_HOST: {{ template "hyrax.postgresql.fullname" . }} + DB_HOST: {{ template "hyrax.postgresql.host" . }} DB_PORT: "5432" - {{- end }} {{- if .Values.memcached.enabled }} MEMCACHED_HOST: {{ template "hyrax.memcached.fullname" . }} {{- end }} RACK_ENV: production RAILS_ENV: production {{- if .Values.redis.enabled }} REDIS_HOST: {{ template "hyrax.redis.fullname" . }}-master {{- end }} - {{- if .Values.fcrepo.enabled }} + FCREPO_BASE_PATH: {{ .Values.fcrepoBasePathOverride | default (printf "/%s" (include "hyrax.fullname" .)) | quote }} + FCREPO_HOST: {{ template "hyrax.fcrepo.host" . }} FCREPO_PORT: {{ .Values.fcrepo.servicePort | default 8080 | quote }} - FCREPO_HOST: {{ template "hyrax.fcrepo.fullname" . }} - FCREPO_REST_PATH: {{ .Values.fcrepo.restPath | default "fcrepo/rest" }} - {{- end }} - {{- if .Values.solr.enabled }} - SOLR_HOST: {{ template "hyrax.solr.fullname" . }}-svc + FCREPO_REST_PATH: {{ .Values.fcrepo.restPath | default "rest" }} + SOLR_ADMIN_USER: {{ template "hyrax.solr.username" . }} + SOLR_ADMIN_PASSWORD: {{ template "hyrax.solr.password" . }} + SOLR_COLLECTION_NAME: {{ template "hyrax.solr.collectionName" . }} + SOLR_CONFIGSET_NAME: {{ template "hyrax.fullname" . }} + SOLR_HOST: {{ template "hyrax.solr.host" . }} SOLR_PORT: "8983" - SOLR_URL: http://{{ template "hyrax.solr.fullname" . }}-svc:8983/solr/hyrax - {{- end }} + SOLR_URL: {{ template "hyrax.solr.url" . }}