fix: Refactor version endpoint json creation to guarantee variable substitution
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
36c30ca646
commit
393b1092e5
@ -31,13 +31,11 @@
|
|||||||
values: |
|
values: |
|
||||||
{{
|
{{
|
||||||
components['json-server'].chart_values |
|
components['json-server'].chart_values |
|
||||||
combine( {
|
combine( { 'jsonServer': { 'seedData': { 'configInline': (
|
||||||
'jsonServer': {
|
components['json-server'].chart_values.jsonServer.seedData.configInline |
|
||||||
'seedData': {
|
combine( { 'components': manifest_versions }, { 'appliance': { "version": appliance.version } } ) |
|
||||||
'configInline': (components['json-server'].chart_values.jsonServer.seedData.configInline | combine( { 'components': manifest_versions } ) | to_json)
|
to_json
|
||||||
}
|
) } } } )
|
||||||
}
|
|
||||||
} )
|
|
||||||
}}
|
}}
|
||||||
|
|
||||||
- name: Ensure json-server API availability
|
- name: Ensure json-server API availability
|
||||||
|
@ -192,7 +192,7 @@ components:
|
|||||||
seedData:
|
seedData:
|
||||||
configInline: |
|
configInline: |
|
||||||
{
|
{
|
||||||
"appliance": { "version": "{{ appliance.version }}" },
|
"appliance": {},
|
||||||
"components": [],
|
"components": [],
|
||||||
"healthz": { "status": "running" }
|
"healthz": { "status": "running" }
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user