Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save pedrohdz/a5f59554464e7e8d60bcf2a34bab40d9 to your computer and use it in GitHub Desktop.
Save pedrohdz/a5f59554464e7e8d60bcf2a34bab40d9 to your computer and use it in GitHub Desktop.
global:
name: consulcli
datacenter: dc2
enabled: false
# Configure federation.
federation:
# If enabled, this datacenter will be federation-capable. Only federation
# via mesh gateways is supported.
# Mesh gateways and servers will be configured to allow federation.
# Requires `global.tls.enabled`, `meshGateway.enabled` and `connectInject.enabled`
# to be true. Requires Consul 1.8+.
enabled: true
tls:
enabled: true
caCert:
secretName: consul-federation
secretKey: caCert
caKey:
secretName: consul-federation
secretKey: caKey
gossipEncryption:
secretName: consul-federation
secretKey: gossipEncryptionKey
acls:
manageSystemACLs: true
bootstrapToken:
secretKey: token
secretName: copied-bootstrap-token
client:
enabled: true
# Set via cli with `client.join[0]=$DEMO_CONSUL_DC2_IP`
# join:
# - '10.31.246.59'
externalServers:
enabled: true
tlsServerName: server.dc2.consul
# Set via cli with `externalServers.hosts[0]=$DEMO_CONSUL_DC2_IP`
# hosts:
# - '10.31.246.59'
connectInject:
enabled: true
controller:
enabled: true
server:
enabled: false
ui:
enabled: false
meshGateway:
enabled: false
@pedrohdz
Copy link
Author

pedrohdz commented Aug 25, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment