diff --git a/docs/helm/Chart.yaml b/docs/helm/Chart.yaml index c5f85e0..5174e2f 100644 --- a/docs/helm/Chart.yaml +++ b/docs/helm/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: kube-metrics-adapter -version: 0.1.11 +version: 0.1.18 description: kube-metrics-adapter helm chart home: https://github.com/zalando-incubator/kube-metrics-adapter maintainers: diff --git a/docs/helm/templates/deployment.yaml b/docs/helm/templates/deployment.yaml index 1997805..16f14ae 100644 --- a/docs/helm/templates/deployment.yaml +++ b/docs/helm/templates/deployment.yaml @@ -16,8 +16,23 @@ spec: labels: application: kube-metrics-adapter version: {{ .Values.registry.imageTag }} + {{- if .Values.podAnnotations }} + annotations: {{- toYaml .Values.podAnnotations | nindent 8 }} + {{- end }} spec: serviceAccountName: kube-metrics-adapter + {{- if .Values.nodeSelector }} + nodeSelector: {{ toYaml .Values.nodeSelector | nindent 8 }} + {{- end }} + {{- if .Values.tolerations }} + tolerations: {{ toYaml .Values.tolerations | nindent 8 }} + {{- end }} + {{- if .Values.affinity }} + affinity: {{ toYaml .Values.affinity | nindent 8 }} + {{- end }} + {{- if .Values.priorityClassName }} + priorityClassName: {{ .Values.priorityClassName | quote }} + {{- end }} containers: - name: kube-metrics-adapter image: {{ .Values.registry.image}}:{{ .Values.registry.imageTag }} diff --git a/docs/helm/values.yaml b/docs/helm/values.yaml index bb69ef1..0589bc3 100644 --- a/docs/helm/values.yaml +++ b/docs/helm/values.yaml @@ -95,3 +95,14 @@ resources: scalingSchedule: enabled: false + +nodeSelector: + kubernetes.io/os: linux + +tolerations: [] + +affinity: {} + +priorityClassName: "" + +podAnnotations: {}