paulbsd-salt/states/kubernetes/service.sls

9 lines
224 B
Plaintext
Raw Permalink Normal View History

2022-08-26 20:15:09 +02:00
---
{%- from "kubernetes/map.jinja" import kubernetes with context %}
2022-10-10 10:18:33 +02:00
{%- for service in kubernetes.services %}
kubernetes-{{ service }}-service:
2022-10-01 20:08:12 +02:00
service.running:
2022-10-10 10:18:33 +02:00
- name: {{ service }}
2022-10-01 20:08:12 +02:00
- enable: true
2022-10-10 10:18:33 +02:00
{%- endfor %}