This commit is contained in:
parent
327065a181
commit
149b4fa54b
4 changed files with 20 additions and 18 deletions
|
|
@ -1 +1,3 @@
|
||||||
my_context: minikube
|
my_context: minikube
|
||||||
|
# duin_version: "latest"
|
||||||
|
duin_version: "4.22.0"
|
||||||
|
|
@ -6,6 +6,6 @@ galaxy_info:
|
||||||
galaxy_tags: []
|
galaxy_tags: []
|
||||||
license: GPL2
|
license: GPL2
|
||||||
platforms:
|
platforms:
|
||||||
- name: kubernetes
|
- name: kubernetes
|
||||||
version:
|
version:
|
||||||
- all
|
- all
|
||||||
|
|
|
||||||
|
|
@ -1,21 +1,21 @@
|
||||||
---
|
---
|
||||||
- name: calico setup
|
- name: calico setup
|
||||||
block:
|
block:
|
||||||
# - name: Include vars
|
# - name: Include vars
|
||||||
# include_vars: "diun-files.yaml"
|
# ansible.builtin.include_vars: "diun-files.yaml"
|
||||||
|
|
||||||
- name: Diun install
|
- name: Diun install
|
||||||
kubernetes.core.k8s:
|
kubernetes.core.k8s:
|
||||||
state: present
|
state: present
|
||||||
context: "{{ my_context }}"
|
context: "{{ my_context }}"
|
||||||
merge_type: merge
|
merge_type: merge
|
||||||
resource_definition: "{{ lookup('template', item) | from_yaml }}"
|
resource_definition: "{{ lookup('template', item) | from_yaml }}"
|
||||||
with_items:
|
with_items:
|
||||||
- diun-ServiceAccount.yml.j2
|
- diun-ServiceAccount.yml.j2
|
||||||
- diun-ClusterRole.yml.j2
|
- diun-ClusterRole.yml.j2
|
||||||
- diun-ClusterRoleBinding.yml.j2
|
- diun-ClusterRoleBinding.yml.j2
|
||||||
- diun-ConfigMap.yml.j2
|
- diun-ConfigMap.yml.j2
|
||||||
- diun-Deployment.yml.j2
|
- diun-Deployment.yml.j2
|
||||||
|
|
||||||
|
|
||||||
tags:
|
tags:
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ spec:
|
||||||
serviceAccountName: diun
|
serviceAccountName: diun
|
||||||
containers:
|
containers:
|
||||||
- name: diun
|
- name: diun
|
||||||
image: crazymax/diun:latest
|
image: crazymax/diun:{{ duin_version }}
|
||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args: ["serve"]
|
args: ["serve"]
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue