mirror of
https://github.com/dredx/prole.git
synced 2026-09-27 03:14:29 +00:00
- Tighten Cluster Environment screen layout; switch Service/Prod to kubectx context selection; keep namespace and key controls on one line; ensure Repair button remains reachable. - Add UI layout regression test to render with large mock data and assert key widgets remain visible and console is scrollable. - Make kubeconfig generation deterministic under tests by avoiding overwriting cert-based kubeconfigs; write token sidecar kubeconfig when needed. - Update common-services init scripts and add k3s/Helm deployment bits (svc-check, Kong/CertMgr tasks).
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
---
|
|
# Deploy a tiny static check site and route it through Kong as svc.prole.org
|
|
|
|
- name: Read prole type gif (controller)
|
|
ansible.builtin.slurp:
|
|
src: "{{ playbook_dir }}/../../img/prole-type.gif"
|
|
register: svc_check_gif
|
|
delegate_to: localhost
|
|
become: false
|
|
run_once: true
|
|
|
|
- name: Render svc-check Helm chart
|
|
ansible.builtin.command:
|
|
argv:
|
|
- helm
|
|
- template
|
|
- svc-check
|
|
- "{{ playbook_dir }}/../../infrastructure/deployments/svc-check-helm"
|
|
- --namespace
|
|
- "{{ k3s_svc_check_namespace }}"
|
|
- --set-string
|
|
- "svcCheck.domain={{ k3s_svc_check_domain }}"
|
|
- --set-string
|
|
- "svcCheck.gifB64={{ svc_check_gif.content | trim }}"
|
|
- --set-string
|
|
- "kong.namespace={{ k3s_svc_check_kong_namespace }}"
|
|
- --set-string
|
|
- "ingress.clusterIssuer=letsencrypt-prod"
|
|
register: svc_check_manifest
|
|
delegate_to: localhost
|
|
become: false
|
|
changed_when: false
|
|
run_once: true
|
|
|
|
- name: Apply svc-check manifest
|
|
ansible.builtin.command: k3s kubectl apply -f -
|
|
args:
|
|
stdin: "{{ svc_check_manifest.stdout }}"
|
|
run_once: true
|