Skip to content

Commit 5812d80

Browse files
committed
feat(gravity): removed unnecessary entries
1 parent e98c10e commit 5812d80

2 files changed

Lines changed: 4 additions & 42 deletions

File tree

ansible/inventory/group_vars/dns_servers/main.yml

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -19,43 +19,3 @@ dns_service_definitions:
1919
log_options:
2020
max-size: "10m"
2121
max-file: "3"
22-
- name: gravity
23-
image: "ghcr.io/beryju/gravity:25d922bec97919b565f10a5c1b6b987ad475fed2"
24-
hostname: "{{ inventory_hostname }}"
25-
ports:
26-
- 53:53/udp
27-
- 8008:8008/tcp
28-
- 8009:8009/tcp
29-
env:
30-
BOOTSTRAP_ROLES: dns;dhcp;api;etcd;backup;monitoring;tsdb
31-
DATA_PATH: /data
32-
LOG_LEVEL: info
33-
ADMIN_PASSWORD: "{{ lookup('bws_cache', 'infra-gravity-secrets').value.admin_password }}"
34-
ADMIN_TOKEN: "{{ lookup('bws_cache', 'infra-gravity-secrets').value.admin_token }}"
35-
# ETCD_JOIN_CLUSTER: "{{ lookup('bws_cache', 'infra-gravity-secrets').value.etcd_join_token }},http://mgmt-srv-01.chkpwd.com:8008"
36-
volumes:
37-
- data:/data
38-
log_driver: json-file
39-
log_options:
40-
max-size: "10m"
41-
max-file: "3"
42-
- name: gravity
43-
image: "ghcr.io/beryju/gravity:25d922bec97919b565f10a5c1b6b987ad475fed2"
44-
hostname: "{{ inventory_hostname }}"
45-
ports:
46-
- 53:53/udp
47-
- 8008:8008/tcp
48-
- 8009:8009/tcp
49-
env:
50-
BOOTSTRAP_ROLES: dns;dhcp;api;etcd;backup;monitoring;tsdb
51-
DATA_PATH: /data
52-
LOG_LEVEL: info
53-
ADMIN_PASSWORD: "{{ lookup('bws_cache', 'infra-gravity-secrets').value.admin_password }}"
54-
ADMIN_TOKEN: "{{ lookup('bws_cache', 'infra-gravity-secrets').value.admin_token }}"
55-
# ETCD_JOIN_CLUSTER: "{{ lookup('bws_cache', 'infra-gravity-secrets').value.etcd_join_token }},http://mgmt-srv-01.chkpwd.com:8008"
56-
volumes:
57-
- data:/data
58-
log_driver: json-file
59-
log_options:
60-
max-size: "10m"
61-
max-file: "3"

ansible/inventory/host_vars/mgmt-srv-01.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,10 @@ service_definitions:
9494
TWINGATE_LABEL_DEPLOYED_BY: "docker"
9595
state: stopped
9696
- name: bws-cache
97-
image: ghcr.io/ripplefcl/bws-cache:pr-116
97+
image: ghcr.io/ripplefcl/bws-cache:v3.1.0
9898
env:
9999
PARSE_SECRET_VALUES: "true"
100-
LOG_LEVEL: "debug"
100+
LOG_LEVEL: "warning"
101+
ENABLE_TELEMETRY: "true"
102+
SENTRY_ENVIRONMENT: "chkpwd"
101103
ports: ["5000:5000"]

0 commit comments

Comments
 (0)