(maint) set extra_config the same way we do the manager app

This commit is contained in:
Samuel Beaulieu 2022-03-30 13:38:08 -05:00
parent 8aee252795
commit 19be60d230
No known key found for this signature in database
GPG key ID: 12030F74136D0F34
4 changed files with 29 additions and 11 deletions

View file

@ -11,6 +11,9 @@ metadata:
annotations:
configmap.reloader.stakater.com/reload: "{{ .Values.configmapName }},vmpooler-pools"
secret.reloader.stakater.com/reload: 'redis'
{{- with .Values.api.annotations }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
replicas: {{ .Values.api.replicaCount }}
selector:
@ -72,7 +75,7 @@ spec:
- name: VMPOOLER_TRACING_JAEGER_HOST
value: '{{ .Values.tracing.jaegerHost }}'
- name: EXTRA_CONFIG
value: '/etc/vmpooler/config/pools.yaml'
value: '{{ .Values.additionalConfigFiles }}'
- name: REDIS_SERVER
value: 'redis-master'
- name: ONDEMAND_REQUEST_TTL