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` |
|
| `autoscaling.targetCPUUtilizationPercentage` | | `80` |
|
||||||
| `secrets` | Secrets that needs to be created | `{}` |
|
| `secrets` | Secrets that needs to be created | `{}` |
|
||||||
| `configs` | ConfigMaps 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` | | `[]` |
|
| `volumes` | | `[]` |
|
||||||
| `volumeMounts` | | `[]` |
|
| `volumeMounts` | | `[]` |
|
||||||
| `volumeClaimTemplates` | used for statefulset https://kubernetes.io/docs/concepts/workloads/controllers/statefulset | `[]` |
|
| `volumeClaimTemplates` | used for statefulset https://kubernetes.io/docs/concepts/workloads/controllers/statefulset | `[]` |
|
||||||
|
@ -44,23 +44,18 @@ spec:
|
|||||||
{{- range $k, $v := $values.ports }}
|
{{- range $k, $v := $values.ports }}
|
||||||
- name: {{ $k }}
|
- name: {{ $k }}
|
||||||
containerPort: {{ default $v.port $v.targetPort }}
|
containerPort: {{ default $v.port $v.targetPort }}
|
||||||
|
protocol: {{ default "HTTP" $v.protocol }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
{{- include "lib.environmentVariables" . | default "[]" | nindent 12 }}
|
{{- include "lib.environmentVariables" . | default "[]" | nindent 12 }}
|
||||||
{{- with .Values.livenessProbe }}
|
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml .Values.livenessProbe | nindent 12 }}
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.readinessProbe }}
|
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml .Values.readinessProbe | nindent 12 }}
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.resources }}
|
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.volumeMounts }}
|
{{- with .Values.volumeMounts }}
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
|
@ -19,7 +19,7 @@ spec:
|
|||||||
{{- range $k, $v := $values.ports }}
|
{{- range $k, $v := $values.ports }}
|
||||||
- port: {{ $v.port }}
|
- port: {{ $v.port }}
|
||||||
targetPort: {{ default $v.port $v.targetPort }}
|
targetPort: {{ default $v.port $v.targetPort }}
|
||||||
protocol: {{ default "TCP" $v.protocol }}
|
protocol: {{ default "HTTP" $v.protocol }}
|
||||||
name: {{ $k }}
|
name: {{ $k }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
selector:
|
selector:
|
||||||
|
@ -46,24 +46,18 @@ spec:
|
|||||||
{{- range $k, $v := $values.ports }}
|
{{- range $k, $v := $values.ports }}
|
||||||
- name: {{ $k }}
|
- name: {{ $k }}
|
||||||
containerPort: {{ $v.targetPort | default $v.port }}
|
containerPort: {{ $v.targetPort | default $v.port }}
|
||||||
protocol: {{ default "TCP" $v.protocol }}
|
protocol: {{ $v.protocol }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
env:
|
env:
|
||||||
{{- include "lib.environmentVariables" . | default "[]" | nindent 12 }}
|
{{- include "lib.environmentVariables" . | default "[]" | nindent 12 }}
|
||||||
{{- with .Values.livenessProbe }}
|
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml .Values.livenessProbe | nindent 12 }}
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.readinessProbe }}
|
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml .Values.readinessProbe | nindent 12 }}
|
||||||
{{- end }}
|
|
||||||
{{- with .Values.resources }}
|
|
||||||
resources:
|
resources:
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml .Values.resources | nindent 12 }}
|
||||||
{{- end }}
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
{{- range $i, $values := .Values.volumeClaimTemplates }}
|
{{- range $i, $values := .Values.volumeClaimTemplates }}
|
||||||
- name: {{ $values.name }}
|
- name: {{ $values.name }}
|
||||||
|
@ -99,8 +99,7 @@ configs: {} # ConfigMaps that needs to be created
|
|||||||
# KEY: VALUE
|
# KEY: VALUE
|
||||||
|
|
||||||
env: # environment variables the controller should have
|
env: # environment variables the controller should have
|
||||||
- name: TZ
|
TZ: Europe/Stockholm
|
||||||
value: Europe/Stockholm
|
|
||||||
# Additional volumes on the output Deployment definition.
|
# Additional volumes on the output Deployment definition.
|
||||||
volumes: []
|
volumes: []
|
||||||
# - name: foo
|
# - name: foo
|
||||||
|
Loading…
Reference in New Issue
Block a user