Fix the issue [#21306] where DaemonSet fails to start due to missing getip. (#21318)

This commit is contained in:
opencmit2
2023-12-18 15:48:35 +08:00
committed by GitHub
parent 71081dafac
commit 3fe40540d4
3 changed files with 9 additions and 2 deletions

View File

@@ -34,4 +34,4 @@ maintainers:
name: nginx-ingress-controller
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/nginx-ingress-controller
version: 9.9.4
version: 9.9.5

View File

@@ -213,6 +213,10 @@ spec:
name: nginx-template-volume
readOnly: true
{{- end }}
# Workaround for upstream issue reported at https://github.com/kubernetes/ingress-nginx/issues/10601
# To be removed once the controller releases a fixed version
- name: geoip
mountPath: /etc/nginx/geoip/
{{- if .Values.extraVolumeMounts }}
{{- include "common.tplvalues.render" (dict "value" .Values.extraVolumeMounts "context" $) | nindent 12 }}
{{- end }}
@@ -228,6 +232,10 @@ spec:
- key: {{ .Values.customTemplate.configMapKey }}
path: nginx.tmpl
{{- end }}
# Workaround for upstream issue reported at https://github.com/kubernetes/ingress-nginx/issues/10601
# To be removed once the controller releases a fixed version
- name: geoip
emptyDir: {}
{{- if .Values.extraVolumes }}
{{- include "common.tplvalues.render" (dict "value" .Values.extraVolumes "context" $) | nindent 8 }}
{{- end }}

View File

@@ -207,7 +207,6 @@ spec:
# To be removed once the controller releases a fixed version
- name: geoip
mountPath: /etc/nginx/geoip/
readOnly: true
{{- if .Values.extraVolumeMounts }}
{{- include "common.tplvalues.render" (dict "value" .Values.extraVolumeMounts "context" $) | nindent 12 }}
{{- end }}