Instantly share code, notes, and snippets.

@madorn /tls.tf
Created Apr 16, 2018

Embed
What would you like to do?
module "kube_certs" {
source = "../../modules/tls/kube/user-provided"
ca_cert_pem_path = "/path/to/ca.pem"
kubelet_cert_pem_path = "/path/to/kubelet.pem"
kubelet_key_pem_path = "/path/to/kubelet.key"
apiserver_cert_pem_path = "/path/to/apiserver.pem"
apiserver_key_pem_path = "/path/to/apiserver.key"
}
module "etcd_certs" {
source = "../../modules/tls/etcd/user-provided"
etcd_ca_crt_pem_path = "/path/to/ca.pem"
etcd_server_crt_pem_path = "/path/to/etcd-server.pem"
etcd_server_key_pem_path = "/path/to/etcd-server.key"
etcd_peer_crt_pem_path = "/path/to/etcd-peer.pem"
etcd_peer_key_pem_path = "/path/to/etcd-peer.key"
etcd_client_crt_pem_path = "/path/to/etcd-client.pem"
etcd_client_key_pem_path = "/path/to/etcd-client.key"
}
module "ingress_certs" {
source = "../../modules/tls/ingress/user-provided"
ca_cert_pem_path = "/path/to/ca.pem"
cert_pem_path = "/path/to/ingress.pem"
key_pem_path = "/path/to/ingress.key"
}
module "identity_certs" {
source = "../../modules/tls/identity/user-provided"
client_key_pem_path = "/path/to/identity-client.key"
client_cert_pem_path = "/path/to/identity-client.pem"
server_key_pem_path = "/path/to/identity-server.key"
server_cert_pem_path = "/path/to/identity-server.pem"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment