Deploy
This commit is contained in:
+13
-11
@@ -1,16 +1,19 @@
|
|||||||
---
|
---
|
||||||
# Uses the controller's kubeconfig. Required inputs have no invented image defaults.
|
# Uses the controller's kubeconfig. Required inputs have no invented image defaults.
|
||||||
- name: Deploy eom.dev Luanti WASM client
|
- name: Deploy eom.dev Luanti WASM client
|
||||||
hosts: localhost
|
hosts: alpha-control-plane
|
||||||
connection: local
|
become: true
|
||||||
gather_facts: false
|
vars_files:
|
||||||
|
- ../secrets.yaml
|
||||||
vars:
|
vars:
|
||||||
luanti_wasm_namespace: luanti-wasm
|
luanti_wasm_namespace: luanti-wasm
|
||||||
luanti_wasm_name: luanti-wasm
|
luanti_wasm_name: luanti-wasm
|
||||||
luanti_wasm_web_image: "{{ eom_luanti_wasm_web_image | default('') }}"
|
luanti_wasm_web_image: ericomeehan/luanti-wasm:latest
|
||||||
luanti_wasm_proxy_image: "{{ eom_luanti_wasm_proxy_image | default('') }}"
|
luanti_wasm_proxy_image: ericomeehan/luanti-wasm-proxy:latest
|
||||||
luanti_wasm_game_cidrs: "{{ eom_luanti_wasm_game_cidrs | default([]) }}"
|
luanti_wasm_game_cidrs:
|
||||||
luanti_wasm_https_cidrs: "{{ eom_luanti_wasm_https_cidrs | default([]) }}"
|
- 10.0.0.0/8
|
||||||
|
luanti_wasm_https_cidrs:
|
||||||
|
- 0.0.0.0/8
|
||||||
luanti_wasm_ingress_enabled: true
|
luanti_wasm_ingress_enabled: true
|
||||||
luanti_wasm_hostname: luanti.eom.dev
|
luanti_wasm_hostname: luanti.eom.dev
|
||||||
luanti_wasm_ingress_class: nginx
|
luanti_wasm_ingress_class: nginx
|
||||||
@@ -21,9 +24,8 @@
|
|||||||
- name: Require explicit eom build images and destination networks
|
- name: Require explicit eom build images and destination networks
|
||||||
ansible.builtin.assert:
|
ansible.builtin.assert:
|
||||||
that:
|
that:
|
||||||
- eom_luanti_wasm_web_image | default('') | length > 0
|
- luanti_wasm_web_image | default('') | length > 0
|
||||||
- eom_luanti_wasm_proxy_image | default('') | length > 0
|
- luanti_wasm_proxy_image | default('') | length > 0
|
||||||
- eom_luanti_wasm_game_cidrs | default([]) | length > 0
|
|
||||||
fail_msg: Supply eom_luanti_wasm_web_image, eom_luanti_wasm_proxy_image, and eom_luanti_wasm_game_cidrs.
|
fail_msg: Supply eom_luanti_wasm_web_image, eom_luanti_wasm_proxy_image, and eom_luanti_wasm_game_cidrs.
|
||||||
roles:
|
roles:
|
||||||
- ansible-role-luanti-wasm
|
- roles/ericomeehan.luanti-wasm
|
||||||
|
|||||||
Reference in New Issue
Block a user