From 57a4ffdfb7687d1f2d7c9038d3cda75d549bcf77 Mon Sep 17 00:00:00 2001 From: Michal Kuratczyk Date: Tue, 9 May 2023 10:13:45 +0200 Subject: [PATCH] Simplify the example --- docs/examples/import-definitions/rabbitmq.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/examples/import-definitions/rabbitmq.yaml b/docs/examples/import-definitions/rabbitmq.yaml index 8969e8dbe..512f406af 100644 --- a/docs/examples/import-definitions/rabbitmq.yaml +++ b/docs/examples/import-definitions/rabbitmq.yaml @@ -12,7 +12,8 @@ spec: containers: - name: rabbitmq volumeMounts: - - mountPath: /path/to/exported/ # filename left out intentionally + - mountPath: /etc/rabbitmq/definitions.json + subPath: definitions.json # Name of the ConfigMap field containing definitions name: definitions volumes: - name: definitions @@ -20,4 +21,4 @@ spec: name: definitions # Name of the ConfigMap which contains definitions you wish to import rabbitmq: additionalConfig: | - load_definitions = /path/to/exported/definitions.json # Path to the mounted definitions file + load_definitions = /etc/rabbitmq/definitions.json # Path to the mounted definitions file