mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Added the possibility to specify affinity options to kube2iam chart (#4203)
This commit is contained in:
committed by
k8s-ci-robot
parent
6020983d5c
commit
a14c8a25d1
@@ -1,5 +1,5 @@
|
||||
name: kube2iam
|
||||
version: 0.8.2
|
||||
version: 0.8.3
|
||||
description: Provide IAM credentials to pods based on annotations.
|
||||
keywords:
|
||||
- kube2iam
|
||||
|
||||
@@ -41,6 +41,7 @@ The following table lists the configurable parameters of the kube2iam chart and
|
||||
|
||||
Parameter | Description | Default
|
||||
--- | --- | ---
|
||||
`affinity` | affinity configuration for pod assignment | `{}`
|
||||
`extraArgs` | Additional container arguments | `{}`
|
||||
`host.ip` | IP address of host | `$(HOST_IP)`
|
||||
`host.iptables` | Add iptables rule | `false`
|
||||
|
||||
@@ -85,6 +85,10 @@ spec:
|
||||
{{- if .Values.nodeSelector }}
|
||||
nodeSelector:
|
||||
{{ toYaml .Values.nodeSelector | indent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.affinity }}
|
||||
affinity:
|
||||
{{ toYaml .Values.affinity | indent 8 }}
|
||||
{{- end }}
|
||||
serviceAccountName: {{ if .Values.rbac.create }}{{ template "kube2iam.fullname" . }}{{ else }}"{{ .Values.rbac.serviceAccountName }}"{{ end }}
|
||||
tolerations:
|
||||
|
||||
@@ -22,10 +22,15 @@ aws:
|
||||
region: ""
|
||||
|
||||
## Node labels for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
||||
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
|
||||
##
|
||||
nodeSelector: {}
|
||||
|
||||
## Affinity configuration for pod assignment
|
||||
## Ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
|
||||
##
|
||||
affinity: {}
|
||||
|
||||
## Annotations to be added to pods
|
||||
##
|
||||
podAnnotations: {}
|
||||
|
||||
Reference in New Issue
Block a user