Skip to content

Commit

Permalink
Ok I think I have both pals and adventist figured out through this
Browse files Browse the repository at this point in the history
  • Loading branch information
aprilrieger committed Feb 20, 2024
1 parent ec283fa commit f7c1960
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions ops/demo-deploy.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ extraEnvVars: &envVars
value: http://admin:[email protected]:8983/solr/

worker:
enabled: true
replicaCount: 1
resources:
limits:
Expand All @@ -195,6 +194,7 @@ worker:
runAsGroup: 101
fsGroup: 101
fsGroupChangePolicy: "OnRootMismatch"
# additionalEnvVars: []

# When adding/removing key-value pairs to this block, ensure the
# corresponding changes are made in the `extraDeploy` block below.
Expand All @@ -207,7 +207,14 @@ workerAuxiliary:
requests:
memory: "4Gi"
cpu: "2"
extraEnvVars:
extraVolumeMounts: *volMounts
extraEnvVars: *envVars
podSecurityContext:
runAsUser: 1001
runAsGroup: 101
fsGroup: 101
fsGroupChangePolicy: "OnRootMismatch"
additionalEnvVars:
- name: AUXILIARY_WORKER_THREAD_COUNT
value: "1"
- name: SIDEKIQ_CONFIG
Expand Down Expand Up @@ -245,8 +252,8 @@ extraDeploy:
- secretRef:
name: {{ template "hyrax.fullname" . }}
env:
{{- toYaml .Values.workerAuxiliary.additionalEnvVars | nindent 12 }}
{{- toYaml .Values.workerAuxiliary.extraEnvVars | nindent 12 }}
{{- toYaml .Values.worker.extraEnvVars | nindent 12 }}
command:
- sh
- -c
Expand Down Expand Up @@ -280,7 +287,7 @@ extraDeploy:
{{- toYaml . | nindent 12 }}
{{- end }}
env:
{{- toYaml .Values.workerAuxiliary.extraEnvVars | nindent 12 }}
{{- toYaml .Values.worker.additionalEnvVars | nindent 12 }}
{{- toYaml .Values.worker.extraEnvVars | nindent 12 }}
{{- if .Values.worker.readinessProbe.enabled }}
readinessProbe:
Expand Down

0 comments on commit f7c1960

Please sign in to comment.