File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ kubeVersion: ">=1.16.0-0"
3131annotations :
3232 artifacthub.io/changes : |
3333 - kind: added
34- description: Add tpl support for ingress.labels and ingress.extraPaths
34+ description: Add tpl support for ingress.labels, ingress.extraPaths and nodeSelector
3535 links:
3636 - name: GitHub PR
3737 url: https://github.com/oauth2-proxy/manifests/pull/400
Original file line number Diff line number Diff line change @@ -82,3 +82,7 @@ serviceMonitor:
8282
8383customLabels :
8484 test-labels/test : " {{ $.Release.Name }}"
85+
86+ nodeOS : linux
87+ nodeSelector :
88+ kubernetes.io/os : " {{ .Values.nodeOS }}"
Original file line number Diff line number Diff line change @@ -421,7 +421,7 @@ spec:
421421 {{- end }}
422422 {{- with .Values.nodeSelector }}
423423 nodeSelector :
424- {{- toYaml . | nindent 8 }}
424+ {{- tpl ( toYaml .) $ | nindent 8 }}
425425 {{- end }}
426426 {{- with .Values.tolerations }}
427427 tolerations :
You can’t perform that action at this time.
0 commit comments