Skip to content

Conversation

Thunderbottom
Copy link
Member

  • adds a variable: enable_tls on both client and server to enable mTLS config
  • adds a variable: tls_certificates that takes base64 encoded certificate files for ca_file, cert_file, key_file
  • adds variables: tls_http_enable and tls_rpc_enable to manually enable TLS for HTTP (default: false) and RPC (default: true). The default values enable intra-cluster mTLS while allowing end user to access Nomad using CLI without requiring the TLS certificates

Right now there's no way to verify if the variables are actually set, since terraform does not support validation based on other variable values.

* adds a variable: `enable_tls` on both client and server to enable mTLS
  config
* adds a variable: `tls_certificates` that takes base64 encoded
  certificate files for `ca_file`, `cert_file`, `key_file`
* adds variables: `tls_http_enable` and `tls_rpc_enable` to manually
  enable TLS for HTTP (default: `false`) and RPC (default: `true`). The
  default values enable intra-cluster mTLS while allowing end user to
  access Nomad using CLI without requiring the TLS certificates

Right now there's no way to verify if the variables are actually set,
since terraform does not support validation based on other variable
values.

Signed-off-by: Chinmay D. Pai <chinmay.pai@zerodha.com>
this ensures that if tls over http is disabled, then the end users are not
required to produce TLS certificates for accessing nomad cluster using
CLI

Signed-off-by: Chinmay D. Pai <chinmay.pai@zerodha.com>
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.

1 participant