(DIO-3229) Add non sensitive parameters as ENV vars, and expect the secrets to be passed as provider config

remove the change to support an override of the command as the entrypoint is needed
This commit is contained in:
Samuel Beaulieu 2022-07-08 09:07:04 -05:00
parent c96029fa87
commit 4781c47e49
No known key found for this signature in database
GPG key ID: 12030F74136D0F34
6 changed files with 38 additions and 34 deletions

View file

@ -44,12 +44,6 @@ spec:
- containerPort: {{ .Values.service.port }}
resources:
{{- toYaml .Values.manager.resources | nindent 12 }}
{{- if .Values.overrideCmd -}}
{{- with .Values.overrideCmd }}
command:
{{- toYaml . | nindent 10 }}
{{- end }}
{{- end }}
args:
- 'manager'
livenessProbe:
@ -71,6 +65,8 @@ spec:
env:
- name: GOOGLE_APPLICATION_CREDENTIALS
value: '{{ .Values.gce.keyfile }}'
- name: AWS_KEY_FILE_LOCATION
value: '{{ .Values.ec2.keyfile }}'
- name: JRUBY_OPTS
value: '-J-XX:+UseG1GC -Xinvokedynamic.yield=false'
- name: TASK_LIMIT