The process of deploying a project to AWS EKS is best followed in the following order:
How to organize AWS EKS
Install Argo CD to deploy services on AWS EKS
How to set the AWS secret manager with AWS EKS
Connecting GitHub and ArgoCD and manage service
Managing environment variables in AWS EKS.
Now that we have installed Argo CD following the previous documentation, let’s proceed with explaining how to use AWS Secret Manager to configure environment variables for services running on EKS.
You can refer to Reference documentation
To begin, we will use Helm to install the external-secrets program.
$ helm install external-secrets external-secrets/external-secrets -n {your namespac }
NAME: external-secrets
LAST DEPLOYED: Fri Jun 9 11:07:00 2023
NAMESPACE: remex-dev
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
external-secrets has been deployed successfully!
In order to begin using ExternalSecrets, you will need to set up a SecretStore
or ClusterSecretStore resource (for example, by creating a 'vault' SecretStore).
More information on the different types of SecretStores and how to configure them
can be found in our Github: https://github.com/external-secrets/external-secrets
To create the awssm-secret, you will need the access key and secret key.