Merge pull request #444 from gdurandvadas/feature/service-account-iam-role

Allow usage of IAM Role for service account
pull/455/head
Karolis 2019-10-17 12:15:47 +01:00 committed by GitHub
commit 26af799437
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 1 deletions

View File

@ -1,7 +1,7 @@
apiVersion: v1
name: keel
description: Open source, tool for automating Kubernetes deployment updates. Keel is stateless, robust and lightweight.
version: 0.8.15
version: 0.8.16
# Note that we use appVersion to get images tag, so make sure this is correct.
appVersion: 0.15.0-rc1
keywords:

View File

@ -85,6 +85,7 @@ The following table lists has the main configurable parameters (polling, trigger
| `gcr.projectId` | GCP Project ID GCR belongs to | |
| `gcr.pubsub.enabled` | Enable/disable GCP Pub/Sub trigger | `false` |
| `ecr.enabled` | Enable/disable AWS ECR Registry | `false` |
| `ecr.roleArn` | Service Account IAM Role ARN for EKS | |
| `ecr.accessKeyId` | AWS_ACCESS_KEY_ID for ECR Registry | |
| `ecr.secretAccessKey` | AWS_SECRET_ACCESS_KEY for ECR Registry | |
| `ecr.region` | AWS_REGION for ECR Registry | |

View File

@ -3,6 +3,10 @@ kind: ServiceAccount
metadata:
name: {{ template "keel.name" . }}
namespace: {{ .Release.Namespace }}
{{- if (and .Values.ecr.enabled .Values.ecr.roleArn) }}
annotations:
eks.amazonaws.com/role-arn: {{ .Values.ecr.roleArn }}
{{- end }}
labels:
app: {{ template "keel.name" . }}
chart: {{ template "keel.chart" . }}

View File

@ -40,6 +40,7 @@ notificationLevel: info
# https://keel.sh/v1/guide/documentation.html#Polling-with-AWS-ECR
ecr:
enabled: false
roleArn: ""
accessKeyId: ""
secretAccessKey: ""
region: ""