Sync NGINX with upstream chart
While working on #727 (closed), my RKE cluster ended up v1.11.1
, and the nginx-ingress
class had a problem deploying due to missing spec.selector.matchLabels
on the DaemonSet
, which are not currently in upstream either. While checking upstream, I did find that they have bumped to appVersion: 0.19.0
, and we should likely update our fork to match.
Fix for selector
:
--- a/charts/nginx/templates/controller-daemonset.yaml
+++ b/charts/nginx/templates/controller-daemonset.yaml
@@ -13,6 +13,10 @@ spec:
updateStrategy:
{{ toYaml .Values.controller.updateStrategy | indent 4 }}
minReadySeconds: {{ .Values.controller.minReadySeconds }}
+ selector:
+ matchLabels:
+ app: {{ template "name" . }}
+ component: "{{ .Values.controller.name }}"