diff --git a/helm/Chart.yaml b/helm/Chart.yaml index fe838a66..b3c7cef6 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v1 name: elasticache-chart description: A Helm chart for the ACK service controller for Amazon ElastiCache (ElastiCache) -version: v0.0.7 -appVersion: v0.0.7 +version: v0.0.8 +appVersion: v0.0.8 home: https://github.com/aws-controllers-k8s/elasticache-controller icon: https://raw.githubusercontent.com/aws/eks-charts/master/docs/logo/aws.png sources: diff --git a/helm/templates/deployment.yaml b/helm/templates/deployment.yaml index b0ade59f..904405b9 100644 --- a/helm/templates/deployment.yaml +++ b/helm/templates/deployment.yaml @@ -75,3 +75,12 @@ spec: value: {{ join "," .Values.resourceTags | quote }} terminationGracePeriodSeconds: 10 nodeSelector: {{ toYaml .Values.deployment.nodeSelector | nindent 8 }} + {{ if .Values.deployment.tolerations -}} + tolerations: {{ toYaml .Values.deployment.tolerations | nindent 8 }} + {{ end -}} + {{ if .Values.deployment.affinity -}} + affinity: {{ toYaml .Values.deployment.affinity | nindent 8 }} + {{ end -}} + {{ if .Values.deployment.priorityClassName -}} + priorityClassName: {{ .Values.deployment.priorityClassName -}} + {{ end -}} diff --git a/helm/values.yaml b/helm/values.yaml index 4306df32..54f68345 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -4,7 +4,7 @@ image: repository: public.ecr.aws/aws-controllers-k8s/elasticache-controller - tag: v0.0.7 + tag: v0.0.8 pullPolicy: IfNotPresent pullSecrets: [] @@ -15,9 +15,20 @@ deployment: annotations: {} labels: {} containerPort: 8080 + # Which nodeSelector to set? + # See: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector nodeSelector: kubernetes.io/os: linux - + # Which tolerations to set? + # See: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/ + tolerations: {} + # What affinity to set? + # See: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#affinity-and-anti-affinity + affinity: {} + # Which priorityClassName to set? + # See: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/#pod-priority + priorityClassName: + metrics: service: # Set to true to automatically create a Kubernetes Service resource for the