Browse Source

Remove variables for rbmq volume

Change-Id: Ibf39da71cec5a100152fe4abb5a18cc8049d5d06
Proskurin Kirill 2 years ago
parent
commit
fdd408db48
3 changed files with 3 additions and 4 deletions
  1. 0
    1
      service/files/defaults.yaml
  2. 1
    1
      service/files/rabbitmq-env.conf.j2
  3. 2
    2
      service/rabbitmq.yaml

+ 0
- 1
service/files/defaults.yaml View File

@@ -2,4 +2,3 @@ configs:
2 2
     rabbitmq_port: 5672
3 3
     rabbitmq_password: password
4 4
     rabbitmq_user: rabbitmq
5
-    rabbitmq_log_base: /var/log/ccp/rabbitmq

+ 1
- 1
service/files/rabbitmq-env.conf.j2 View File

@@ -1,2 +1,2 @@
1 1
 NODENAME=rabbitmq
2
-RABBITMQ_LOG_BASE={{ rabbitmq_log_base }}
2
+RABBITMQ_LOG_BASE=/var/log/ccp/rabbitmq

+ 2
- 2
service/rabbitmq.yaml View File

@@ -10,12 +10,12 @@ service:
10 10
         liveness: "true"
11 11
       volumes:
12 12
       - name: rabbitmq-logs
13
-        path: "{{ rabbitmq_log_base }}"
13
+        path: "/var/log/ccp/rabbitmq"
14 14
         type: host
15 15
         readOnly: False
16 16
       pre:
17 17
         - name: chown-logs-dir
18
-          command: "sudo /bin/chown rabbitmq: {{ rabbitmq_log_base }}"
18
+          command: "sudo /bin/chown rabbitmq: /var/log/ccp/rabbitmq"
19 19
       daemon:
20 20
         files:
21 21
           - rabbitmq-conf

Loading…
Cancel
Save