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 | components['json-server'].chart_values |
combine( { combine( {
'seedData': { 'jsonServer': {
'configInline': ( components['json-server'].chart_values.seedData.configInline | to_json ) 'seedData': {
'configInline': ( components['json-server'].chart_values.jsonServer.seedData.configInline | to_json )
}
} }
} ) } )
}} }}

View File

@ -177,7 +177,7 @@ components:
json-server: json-server:
helm: helm:
version: v0.6.0 version: v0.7.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 |
@ -188,18 +188,19 @@ components:
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
seedData: jsonServer:
configInline: | seedData:
{ configInline: |
"appliance": { "version": "{{ appliance.version }}" }, {
"components": [ "appliance": { "version": "{{ appliance.version }}" },
{ "app": "cluster-api", "components": [
"management": { "foo": "bar" }, { "app": "cluster-api",
"workload": { "foo": "bar" } "management": { "foo": "bar" },
} "workload": { "foo": "bar" }
], }
"healthz": { "status": "running" } ],
} "healthz": { "status": "running" }
}
kube-prometheus-stack: kube-prometheus-stack:
helm: helm: