Skip to content

Commit

Permalink
Fix missing set serviceAccount.name when deployed in EKS
Browse files Browse the repository at this point in the history
  • Loading branch information
crazygit committed Nov 6, 2024
1 parent 12fa26b commit bc5ca2c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
```

Expand Down

0 comments on commit bc5ca2c

Please sign in to comment.