Skip to content

Commit

Permalink
push update...
Browse files Browse the repository at this point in the history
  • Loading branch information
cachemeoutside committed Nov 27, 2023
1 parent 1382b3c commit f1c9f75
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
23 changes: 23 additions & 0 deletions charts/templates/deployment-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,29 @@ spec:
name: {{ include "chart.fullname" . }}-env
- secretRef:
name: {{ include "chart.fullname" . }}-secrets
env:
- name: SOLR_ADMIN_USER
valueFrom:
configMapKeyRef:
name: oralhistory-env
key: SOLR_ADMIN_USER
- name: SOLR_HOST
valueFrom:
configMapKeyRef:
name: oralhistory-env
key: SOLR_HOST
- name: SOLR_PORT
valueFrom:
configMapKeyRef:
name: oralhistory-env
key: SOLR_PORT
- name: SOLR_ADMIN_PASSWORD
valueFrom:
secretKeyRef:
name: oral-history-secrets
key: SOLR_ADMIN_PASSWORD
- name: SOLR_URL
value: http://$(SOLR_ADMIN_USER):$(SOLR_ADMIN_PASSWORD)@$(SOLR_HOST):$(SOLR_PORT)/solr/blacklight-core
ports:
- name: http
containerPort: 80
Expand Down
23 changes: 23 additions & 0 deletions charts/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,29 @@ spec:
name: {{ include "chart.fullname" . }}-env
- secretRef:
name: {{ include "chart.fullname" . }}-secrets
env:
- name: SOLR_ADMIN_USER
valueFrom:
configMapKeyRef:
name: oralhistory-env
key: SOLR_ADMIN_USER
- name: SOLR_HOST
valueFrom:
configMapKeyRef:
name: oralhistory-env
key: SOLR_HOST
- name: SOLR_PORT
valueFrom:
configMapKeyRef:
name: oralhistory-env
key: SOLR_PORT
- name: SOLR_ADMIN_PASSWORD
valueFrom:
secretKeyRef:
name: oral-history-secrets
key: SOLR_ADMIN_PASSWORD
- name: SOLR_URL
value: http://$(SOLR_ADMIN_USER):$(SOLR_ADMIN_PASSWORD)@$(SOLR_HOST):$(SOLR_PORT)/solr/blacklight-core
ports:
- name: http
containerPort: 80
Expand Down

0 comments on commit f1c9f75

Please sign in to comment.