Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker ca #40

Merged
merged 9 commits into from
Mar 21, 2016
Merged

Docker ca #40

merged 9 commits into from
Mar 21, 2016

Conversation

enxebre
Copy link
Contributor

@enxebre enxebre commented Mar 18, 2016

No description provided.

@@ -0,0 +1,128 @@
---
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we minimize this file, lot of unnecessary stuff

@@ -6,6 +6,7 @@ variable "private_key" {}
variable "ca_cert_pem" {}
variable "validity_period_hours" {}
variable "early_renewal_hours" {}
variable "user" {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like we should provide some defaults for these so we dont have to inject them all the time -
would provide defaults for validity_period_hours , validity_period_hours and user

@enxebre
Copy link
Contributor Author

enxebre commented Mar 21, 2016

migrating terraform bit to https://github.com/Capgemini/tf_tls/tree/master/docker

@@ -82,6 +83,30 @@ module "admin_cert" {
ca_private_key_pem = "${module.ca.ca_private_key_pem}"
}

module "docker_daemon_certs" {
source = "github.com/Capgemini/tf_tls//docker/daemon"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could these be done in 1-shot by just pointing to /docker and putting a TF file in the top level directory that calls down to both daemon+client to avoid repeating yourself here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like to have ability and granularity to configure both daemon and client by separate, otherwise you'll be assuming ip_addresses_list or count is same for both which it isn't necessarily

enxebre added a commit that referenced this pull request Mar 21, 2016
@enxebre enxebre merged commit b05df6f into master Mar 21, 2016
@enxebre enxebre deleted the docker-ca branch June 3, 2016 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants