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: |
|
||||
{{
|
||||
components['json-server'].chart_values |
|
||||
combine( {
|
||||
'jsonServer': {
|
||||
'seedData': {
|
||||
'configInline': (components['json-server'].chart_values.jsonServer.seedData.configInline | combine( { 'components': manifest_versions } ) | to_json)
|
||||
}
|
||||
}
|
||||
} )
|
||||
combine( { 'jsonServer': { 'seedData': { 'configInline': (
|
||||
components['json-server'].chart_values.jsonServer.seedData.configInline |
|
||||
combine( { 'components': manifest_versions }, { 'appliance': { "version": appliance.version } } ) |
|
||||
to_json
|
||||
) } } } )
|
||||
}}
|
||||
|
||||
- name: Ensure json-server API availability
|
||||
|
@ -192,7 +192,7 @@ components:
|
||||
seedData:
|
||||
configInline: |
|
||||
{
|
||||
"appliance": { "version": "{{ appliance.version }}" },
|
||||
"appliance": {},
|
||||
"components": [],
|
||||
"healthz": { "status": "running" }
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user