salt-states/pod/loki.sls

25 lines
459 B
Plaintext
Raw Permalink Normal View History

2023-06-27 07:16:37 +00:00
{% from 'lib.sls' import pod_deploy with context %}
Create loki root directory:
file.directory:
- name: /srv/loki
- user: 10001
- group: root
- mode: "0755"
Create loki data directory:
file.directory:
- name: /srv/loki
- user: 10001
- group: root
- mode: "0755"
Create loki config directory:
file.directory:
- name: /srv/loki/config
- user: 10001
- group: root
- mode: "0755"
{{ pod_deploy('loki') }}