feat(chart) Add volumes to default-backend deployment

Update changelog and Chart.yml

Signed-off-by: Pierre Péronnet <pierre.peronnet@ovhcloud.com>
This commit is contained in:
Pierre Péronnet 2021-02-25 10:23:26 +01:00
parent a7fb791132
commit 59f930dd25
No known key found for this signature in database
GPG key ID: 510D15F164E4D14B
4 changed files with 22 additions and 2 deletions

View file

@ -4,6 +4,10 @@ This file documents all notable changes to [ingress-nginx](https://github.com/ku
### Unreleased ### Unreleased
### 3.24.0
- [X] [#6908](https://github.com/kubernetes/ingress-nginx/pull/6908) Add volumes to default-backend deployment
### 3.23.0 ### 3.23.0
- Update ingress-nginx v0.44.0 - Update ingress-nginx v0.44.0

View file

@ -2,7 +2,7 @@ apiVersion: v2
name: ingress-nginx name: ingress-nginx
# When the version is modified, make sure the artifacthub.io/changes list is updated # When the version is modified, make sure the artifacthub.io/changes list is updated
# Also update CHANGELOG.md # Also update CHANGELOG.md
version: 3.23.0 version: 3.24.0
appVersion: 0.44.0 appVersion: 0.44.0
home: https://github.com/kubernetes/ingress-nginx home: https://github.com/kubernetes/ingress-nginx
description: Ingress controller for Kubernetes using NGINX as a reverse proxy and load balancer description: Ingress controller for Kubernetes using NGINX as a reverse proxy and load balancer
@ -21,4 +21,4 @@ annotations:
# List of changes for the release in artifacthub.io # List of changes for the release in artifacthub.io
# https://artifacthub.io/packages/helm/ingress-nginx/ingress-nginx?modal=changelog # https://artifacthub.io/packages/helm/ingress-nginx/ingress-nginx?modal=changelog
artifacthub.io/changes: | artifacthub.io/changes: |
- Update ingress-nginx v0.44.0 - Add volumes to default-backend deployment

View file

@ -88,6 +88,9 @@ spec:
- name: http - name: http
containerPort: {{ .Values.defaultBackend.port }} containerPort: {{ .Values.defaultBackend.port }}
protocol: TCP protocol: TCP
{{- if .Values.defaultBackend.extraVolumeMounts }}
volumeMounts: {{- toYaml .Values.defaultBackend.extraVolumeMounts | nindent 12 }}
{{- end }}
{{- if .Values.defaultBackend.resources }} {{- if .Values.defaultBackend.resources }}
resources: {{ toYaml .Values.defaultBackend.resources | nindent 12 }} resources: {{ toYaml .Values.defaultBackend.resources | nindent 12 }}
{{- end }} {{- end }}
@ -102,4 +105,7 @@ spec:
affinity: {{ toYaml .Values.defaultBackend.affinity | nindent 8 }} affinity: {{ toYaml .Values.defaultBackend.affinity | nindent 8 }}
{{- end }} {{- end }}
terminationGracePeriodSeconds: 60 terminationGracePeriodSeconds: 60
{{- if .Values.defaultBackend.extraVolumes }}
volumes: {{ toYaml .Values.defaultBackend.extraVolumes | nindent 8 }}
{{- end }}
{{- end }} {{- end }}

View file

@ -677,6 +677,16 @@ defaultBackend:
# cpu: 10m # cpu: 10m
# memory: 20Mi # memory: 20Mi
extraVolumeMounts: []
## Additional volumeMounts to the default backend container.
# - name: copy-portal-skins
# mountPath: /var/lib/lemonldap-ng/portal/skins
extraVolumes: []
## Additional volumes to the default backend pod.
# - name: copy-portal-skins
# emptyDir: {}
autoscaling: autoscaling:
enabled: false enabled: false
minReplicas: 1 minReplicas: 1