From a245cc3d48515f94332d83d2d3210af8dc4d82bc Mon Sep 17 00:00:00 2001 From: Danny Bessems Date: Fri, 14 Jul 2023 13:49:02 +0200 Subject: [PATCH] feat: Dynamically fill version endpoint database --- ansible/vars/metacluster.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ansible/vars/metacluster.yml b/ansible/vars/metacluster.yml index a08887f..201e7f1 100644 --- a/ansible/vars/metacluster.yml +++ b/ansible/vars/metacluster.yml @@ -177,7 +177,7 @@ components: json-server: helm: - version: v0.7.3 + version: v0.8.0 chart: spamasaurus/json-server parse_logic: helm template . | yq --no-doc eval '.. | .image? | select(.)' | sort -u | awk '!/ /' chart_values: !unsafe | @@ -194,13 +194,16 @@ components: { "appliance": { "version": "{{ appliance.version }}" }, "components": [ - { "app": "cluster-api", + { "id": 0, + "name": "cluster-api", "management": { "foo": "bar" }, "workload": { "foo": "bar" } } ], "healthz": { "status": "running" } } + sidecar: + targetUrl: version.{{ vapp['metacluster.fqdn'] }} kube-prometheus-stack: helm: