Update deployment
This commit is contained in:
parent
974d8fb7c7
commit
427e1357a0
6 changed files with 41 additions and 43 deletions
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- name: calico setup
|
||||
- name: Diun setup
|
||||
block:
|
||||
# - name: Include vars
|
||||
# ansible.builtin.include_vars: "diun-files.yaml"
|
||||
|
|
@ -8,15 +8,13 @@
|
|||
kubernetes.core.k8s:
|
||||
state: present
|
||||
context: "{{ my_context }}"
|
||||
merge_type: merge
|
||||
resource_definition: "{{ lookup('template', item) | from_yaml }}"
|
||||
apply: true
|
||||
namespace: "duin"
|
||||
resource_definition: "{{ lookup('template', item) | from_yaml_all }}"
|
||||
with_items:
|
||||
- diun-ServiceAccount.yml.j2
|
||||
- diun-ClusterRole.yml.j2
|
||||
- diun-ClusterRoleBinding.yml.j2
|
||||
- diun-RBAC.yml.j2
|
||||
- diun-ConfigMap.yml.j2
|
||||
- diun-Deployment.yml.j2
|
||||
|
||||
|
||||
tags:
|
||||
- diun
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue