Getting the encrypt image workflow to begin working while fixing up some build errors

This commit is contained in:
Cody Jackson authored and Francesco Torchia committed 2024-10-23 17:01:39 +02:00
1 parent 8b6dbc1789
commit fd39fdf173
5 files changed
+8 -14

No files matched your search

@@ -88,7 +88,7 @@ export default class HciVmImage extends HarvesterResource {
name: `${ HARVESTER_PRODUCT }-c-cluster-resource-create`,
params: { resource: HCI.IMAGE },
query: {
image: this,
image: JSON.stringify({metadata: { name: this.metadata.name, namespace: this.metadata.namespace }}),
fromPage: HCI.IMAGE,
sourceType: 'clone',
cryptoOperation: 'encrypt'
@@ -103,7 +103,7 @@ export default class HciVmImage extends HarvesterResource {
name: `${ HARVESTER_PRODUCT }-c-cluster-resource-create`,
params: { resource: HCI.IMAGE },
query: {
image: this,
image: JSON.stringify({metadata: { name: this.metadata.name, namespace: this.metadata.namespace }}),
fromPage: HCI.IMAGE,
sourceType: 'clone',
cryptoOperation: 'decrypt'