Skip to content

Instantly share code, notes, and snippets.

@madorn
Created April 16, 2018 15:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save madorn/396ad7c4be6464f96bbf94f61f004093 to your computer and use it in GitHub Desktop.
Save madorn/396ad7c4be6464f96bbf94f61f004093 to your computer and use it in GitHub Desktop.
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