From bc5ca2c2c750047bd756271728ea7a8d9e9e2cd6 Mon Sep 17 00:00:00 2001 From: Crazygit Date: Wed, 6 Nov 2024 22:21:27 +0800 Subject: [PATCH] Fix missing set serviceAccount.name when deployed in EKS --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7fdbf00..f136904 100644 --- a/README.md +++ b/README.md @@ -343,7 +343,8 @@ See the [Development environment](#development-environment) to start the Prometh --version ${PROMETHEUS_RDS_EXPORTER_VERSION} \ --install \ --namespace ${KUBERNETES_NAMESPACE} \ - --set serviceAccount.annotations."eks\.amazonaws\.com\/role-arn"="${SERVICE_ACCOUNT_ANNOTATION}" + --set serviceAccount.annotations."eks\.amazonaws\.com\/role-arn"="${SERVICE_ACCOUNT_ANNOTATION}" \ + --set serviceAccount.name="${IAM_ROLE_NAME}" ``` 1. Option. Customize Prometheus exporter settings @@ -379,6 +380,7 @@ See the [Development environment](#development-environment) to start the Prometh --install \ --namespace ${KUBERNETES_NAMESPACE} \ --set serviceAccount.annotations."eks\.amazonaws\.com\/role-arn"="${SERVICE_ACCOUNT_ANNOTATION}" \ + --set serviceAccount.name="${IAM_ROLE_NAME}" \ --values values.yaml ```