Compare commits
No commits in common. "4f2a9ba9b7bd0ccb20c1239c29ec02d784dc6df8" and "817fdf175abf3cfd49bc3de7fb62da26df7b533d" have entirely different histories.
4f2a9ba9b7
...
817fdf175a
@ -45,7 +45,7 @@ The following table lists the configurable parameters of the Lib chart and their
|
||||
| `autoscaling.targetCPUUtilizationPercentage` | | `80` |
|
||||
| `secrets` | Secrets that needs to be created | `{}` |
|
||||
| `configs` | ConfigMaps that needs to be created | `{}` |
|
||||
| `env` | environment variables the controller should have | `[{"name": "TZ", "value": "Europe/Stockholm"}]` |
|
||||
| `env.TZ` | | `"Europe/Stockholm"` |
|
||||
| `volumes` | | `[]` |
|
||||
| `volumeMounts` | | `[]` |
|
||||
| `volumeClaimTemplates` | used for statefulset https://kubernetes.io/docs/concepts/workloads/controllers/statefulset | `[]` |
|
||||
|
@ -44,23 +44,18 @@ spec:
|
||||
{{- range $k, $v := $values.ports }}
|
||||
- name: {{ $k }}
|
||||
containerPort: {{ default $v.port $v.targetPort }}
|
||||
protocol: {{ default "HTTP" $v.protocol }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
env:
|
||||
{{- include "lib.environmentVariables" . | default "[]" | nindent 12 }}
|
||||
{{- with .Values.livenessProbe }}
|
||||
livenessProbe:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- with .Values.readinessProbe }}
|
||||
{{- toYaml .Values.livenessProbe | nindent 12 }}
|
||||
readinessProbe:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- with .Values.resources }}
|
||||
{{- toYaml .Values.readinessProbe | nindent 12 }}
|
||||
resources:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
{{- with .Values.volumeMounts }}
|
||||
volumeMounts:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
|
@ -19,7 +19,7 @@ spec:
|
||||
{{- range $k, $v := $values.ports }}
|
||||
- port: {{ $v.port }}
|
||||
targetPort: {{ default $v.port $v.targetPort }}
|
||||
protocol: {{ default "TCP" $v.protocol }}
|
||||
protocol: {{ default "HTTP" $v.protocol }}
|
||||
name: {{ $k }}
|
||||
{{- end }}
|
||||
selector:
|
||||
|
@ -46,24 +46,18 @@ spec:
|
||||
{{- range $k, $v := $values.ports }}
|
||||
- name: {{ $k }}
|
||||
containerPort: {{ $v.targetPort | default $v.port }}
|
||||
protocol: {{ default "TCP" $v.protocol }}
|
||||
protocol: {{ $v.protocol }}
|
||||
{{- end -}}
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
env:
|
||||
{{- include "lib.environmentVariables" . | default "[]" | nindent 12 }}
|
||||
{{- with .Values.livenessProbe }}
|
||||
livenessProbe:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- with .Values.readinessProbe }}
|
||||
{{- toYaml .Values.livenessProbe | nindent 12 }}
|
||||
readinessProbe:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- with .Values.resources }}
|
||||
{{- toYaml .Values.readinessProbe | nindent 12 }}
|
||||
resources:
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
volumeMounts:
|
||||
{{- range $i, $values := .Values.volumeClaimTemplates }}
|
||||
- name: {{ $values.name }}
|
||||
|
@ -99,8 +99,7 @@ configs: {} # ConfigMaps that needs to be created
|
||||
# KEY: VALUE
|
||||
|
||||
env: # environment variables the controller should have
|
||||
- name: TZ
|
||||
value: Europe/Stockholm
|
||||
TZ: Europe/Stockholm
|
||||
# Additional volumes on the output Deployment definition.
|
||||
volumes: []
|
||||
# - name: foo
|
||||
|
Loading…
Reference in New Issue
Block a user