Skip to content
Snippets Groups Projects
Commit 9c63eaf8 authored by richard.petersen's avatar richard.petersen :sailboat: Committed by julian.baeume
Browse files

Cleanup env variables doku and added CACHE_TTL

parent 919f21d8
No related merge requests found
CACHE_TTL=30000
PORT=8080 PORT=8080
MANIFEST_URLS= MANIFEST_URLS=
...@@ -33,13 +33,10 @@ helm upgrade -i -f manifest-service/values.yaml -f values/develop.yaml manifest- ...@@ -33,13 +33,10 @@ helm upgrade -i -f manifest-service/values.yaml -f values/develop.yaml manifest-
| Parameter | Description | Default | | Parameter | Description | Default |
|-----------------|---------------------------------|----------| |-----------------|---------------------------------|----------|
| `MANIFEST_URLS` | Comma separated list of servers | `""` |
| `PORT` | Exposed port | `"8080"` | | `PORT` | Exposed port | `"8080"` |
**kubernetes** **kubernetes**
| Parameter | Description | Default | | Parameter | Description | Default |
|----------------|---------------------------------|----------| |----------------|---------------------------------|----------|
| `manifestUrls` | list of servers | `""` |
| `port` | Exposed port | `"8080"` | | `port` | Exposed port | `"8080"` |
...@@ -37,6 +37,9 @@ spec: ...@@ -37,6 +37,9 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }} {{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}" image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }} imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: CACHE_TTL
value: "{{ .Values.cacheTTL | int }}"
ports: ports:
- name: http - name: http
containerPort: {{ .Values.containerPort | default 8080 }} containerPort: {{ .Values.containerPort | default 8080 }}
......
...@@ -82,3 +82,6 @@ nodeSelector: {} ...@@ -82,3 +82,6 @@ nodeSelector: {}
tolerations: [] tolerations: []
affinity: {} affinity: {}
# service specific configuration
cacheTTL: 30000
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment