feat: Upgrade version endpoint component
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2023-07-14 10:48:18 +02:00
parent 1446cba537
commit 51c477fb07
2 changed files with 18 additions and 15 deletions

View File

@ -11,8 +11,10 @@
{{
components['json-server'].chart_values |
combine( {
'seedData': {
'configInline': ( components['json-server'].chart_values.seedData.configInline | to_json )
'jsonServer': {
'seedData': {
'configInline': ( components['json-server'].chart_values.jsonServer.seedData.configInline | to_json )
}
}
} )
}}

View File

@ -177,7 +177,7 @@ components:
json-server:
helm:
version: v0.6.0
version: v0.7.3
chart: spamasaurus/json-server
parse_logic: helm template . | yq --no-doc eval '.. | .image? | select(.)' | sort -u | awk '!/ /'
chart_values: !unsafe |
@ -188,18 +188,19 @@ components:
paths:
- path: /
pathType: Prefix
seedData:
configInline: |
{
"appliance": { "version": "{{ appliance.version }}" },
"components": [
{ "app": "cluster-api",
"management": { "foo": "bar" },
"workload": { "foo": "bar" }
}
],
"healthz": { "status": "running" }
}
jsonServer:
seedData:
configInline: |
{
"appliance": { "version": "{{ appliance.version }}" },
"components": [
{ "app": "cluster-api",
"management": { "foo": "bar" },
"workload": { "foo": "bar" }
}
],
"healthz": { "status": "running" }
}
kube-prometheus-stack:
helm: