forked from RobertFach/etcd-formula
-
Notifications
You must be signed in to change notification settings - Fork 21
/
pillar.example
72 lines (62 loc) · 1.8 KB
/
pillar.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# ``etcd`` formula configuration:
## Minimal optional configuration
etcd:
version: 3.2.24
## More optional pillars follow ... (see defaults.yaml)
src_hashsum:
src_hashurl:
#use_upstream_repo: 'homebrew' #not mandatory for MacOS
service:
name: etcd0
data_dir: /var/lib/etcd/etcd0
initial_cluster: 'etcd0=https://0.0.0.0:2380'
initial_cluster_state: new
initial_cluster_token: etcd-cluster-1
initial_advertise_peer_urls: 'https://0.0.0.0:2380'
listen_peer_urls: 'https://0.0.0.0:2380'
listen_client_urls: 'https://0.0.0.0:2379'
advertise_client_urls: 'https://0.0.0.0:2379'
##Security https://coreos.com/etcd/docs/latest/op-guide/security.html
cert_file: /etc/ssl/etcd/ca.pem
key_file: /etc/ssl/etcd/client.pem
ca_file: /etc/ssl/etcd/client-key.pem
cmd_args: ''
auto_tls: False
peer_auto_tls: False
etcdctl:
api: 2
#discovery_srv: example.com
peers: 'https://0.0.0.0:2379'
endpoint: 'https://0.0.0.0:2379'
cert_file:
key_file:
ca_file:
username:
data_dir:
backup_dir:
#linux:
#alternatives disabled by default. Set 'altprioriy' value to enable.
#altpriority: {{ range(1, 90000) | random }}
#dl:
#base_uri: 'https://github.com/myfork/etcd/releases/download'
docker:
enabled: True
# If docker_enabled=True, defaults can be overridden here
###image: quay.io/coreos/etcd
###image: gcr.io/etcd-development/etcd
version: latest
skip_translate: True
environment:
- ETCD_AUTO_TLS: False
- ETCD_PEER_AUTO_TLS: False
ports:
- 2379
- 2380
- 2379/udp
- 2380/udp
port_bindings:
- 0.0.0.0:2379:2379
- 0.0.0.0:2380:2380
volumes:
- /usr/share/ca-certificates/:/etc/ssl/certs
stop_local_etcd_service_first: False