paulbsd-salt/states/kubernetes/service.sls

9 lines
224 B
Plaintext

---
{%- from "kubernetes/map.jinja" import kubernetes with context %}
{%- for service in kubernetes.services %}
kubernetes-{{ service }}-service:
service.running:
- name: {{ service }}
- enable: true
{%- endfor %}