Skip to content

Commit c38b31b

Browse files
authored
Fix/kics findings (#24)
* Remove unused "tests" directory * Replace static token with random one
1 parent e99c218 commit c38b31b

File tree

6 files changed

+1
-152
lines changed

6 files changed

+1
-152
lines changed

molecule/patroni-etcdv2-ssl/prepare.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"listen-client-urls": "{{ 'https://' + etcd_ipv4_address + ':' + etcd_client_port + ',https://127.0.0.1:' + etcd_client_port }}"
3838
"peer-client-cert-auth": "true" # Enable peer client cert authentication
3939
"client-cert-auth": "true" # Enable client cert authentication
40-
"initial-cluster-token": "etcd-cluster-0" # Initial cluster token for the etcd cluster during bootstrap.
40+
"initial-cluster-token": "{{ lookup('password', '/opt/etcdpass length=8 chars=ascii_letters') }}" # Initial cluster token for the etcd cluster during bootstrap.
4141
"initial-cluster-state": "new" # Initial cluster state ('new' or 'existing')
4242
"data-dir": "{{ etcd_data_dir }}" # etcd data directory (etcd database files so to say)
4343
"wal-dir": "" # Dedicated wal directory ("" means no separated WAL directory)

tests/centos-7-compose.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

tests/etcd-compose.yml

Lines changed: 0 additions & 44 deletions
This file was deleted.

tests/hosts

Lines changed: 0 additions & 26 deletions
This file was deleted.

tests/patroni.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

tests/ubuntu-16.04-compose.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)