This repo contains a terraform module to deploy a privately managed docker registry in your AWS EKS Kubernetes cluster. The images will be stored on s3.
Look into the minimal example for an example for simple usage of the module. After terraform applying, you should now be able to push docker images to your registry by including the DNS when tagging your images.
No requirements.
Name | Version |
---|---|
AWS | n/a |
kubernetes | n/a |
Name | Description | Type | Default | Required |
---|---|---|---|---|
http_secret | A random piece of data used to sign state that may be stored with the client to protect against tampering. For production environments you should generate a random piece of data using a cryptographically secure random generator. | string |
n/a | yes |
image_pull_policy | Image pull policy | string |
"IfNotPresent" |
no |
image_version | Version of the docker image to be used | string |
"2.7.1" |
no |
ingress_annotations | ingress annotations to add | map(string) |
{} |
no |
ingress_dns | DNS name for the ingress | string |
n/a | yes |
labels | Contains the labels the kubernetes resources should have | map(string) |
{ |
no |
namespace | Name of the namespace where the module should be installed | string |
"docker-registry" |
no |
namespace_annotations | Annotations to be added to the namespace | map(string) |
{} |
no |
s3_access_key | s3 access key to access the bucket | string |
n/a | yes |
s3_bucket | s3 bucket where the images will be stored | string |
n/a | yes |
s3_region | aws region where the s3 bucket lives | string |
n/a | yes |
s3_secret_key | s3 secret key to access the bucket | string |
n/a | yes |
service_port | Port where the service should be defined on | number |
5000 |
no |
No output.