GoLang tool to get and create secret: AWS Systems Manager Parameter Store <--> Kubernetes
⚠️ WARNING: Currently this project is working only for sharing the consul-federation secret (hardcoded values, see TODOs)
Prerequisites:
Start your local kind K8s cluster in Docker:
make kind
To deploy to kind cluster:
VERSION in Makefilemake build-dev && make deploy
Command-Line arguments
Should take precedence over environment variables
| Argument | Description | Default |
|---|---|---|
| paramPrefix | Prefix path for AWS Parameter | /consul/ |
| paramDescription | AWS Parameter description | Kubernetes Consul Federation |
| awsRegion | AWS Region | eu-central-1 |
| secretName | Name of Kubernetes secret | consul-federation |
| namespace | Name of Kubernetes namespace | consul |
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": [
"ssm:DescribeParameters",
"ssm:GetParameter",
"ssm:GetParameters",
"ssm:GetParametersByPath",
"ssm:PutParameter"
],
"Resource": "*"
}
]
}
| Name | Description | Example Value |
|---|
Content type
Image
Digest
Size
39.1 MB
Last updated
about 6 years ago
docker pull ventx/go-aws-parameter-k8s:0.1.3