feat: Include manifests in version endpoint
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2023-07-16 14:52:41 +02:00
parent 13f4965278
commit 8005b172a5

View File

@ -177,7 +177,7 @@ components:
json-server: json-server:
helm: helm:
version: v0.8.2 version: v0.8.3
chart: spamasaurus/json-server chart: spamasaurus/json-server
parse_logic: helm template . | yq --no-doc eval '.. | .image? | select(.)' | sort -u | awk '!/ /' parse_logic: helm template . | yq --no-doc eval '.. | .image? | select(.)' | sort -u | awk '!/ /'
chart_values: !unsafe | chart_values: !unsafe |
@ -196,8 +196,25 @@ components:
"components": [ "components": [
{ "id": 0, { "id": 0,
"name": "cluster-api", "name": "cluster-api",
"management": { "foo": "bar" }, "type": "manifest",
"workload": { "foo": "bar" } "versions": {
"management": {
"base": "{{ components.clusterapi.management.version.base }}",
"cert_manager": "{{ components.clusterapi.management.version.cert_manager }}",
"infrastructure_vsphere": "{{ components.clusterapi.management.version.infrastructure_vsphere }}",
"ipam_incluster": "{{ components.clusterapi.management.version.ipam_incluster }}",
"cpi_vsphere": "{{ components.clusterapi.management.version.cpi_vsphere }}"
},
"workload": {
"calico": "{{ components.clusterapi.workload.version.calico }}",
"k8s": "{{ components.clusterapi.workload.version.k8s }}"
}
}
},
{ "id": 1,
"name": "kube-vip",
"type": "manifest",
"version": "{{ components.kubevip.version }}"
} }
], ],
"healthz": { "status": "running" } "healthz": { "status": "running" }