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

This commit is contained in:
Cody Jackson
2024-10-23 17:01:39 +02:00
committed by Francesco Torchia
parent 8b6dbc1789
commit fd39fdf173
5 changed files with 8 additions and 14 deletions
@@ -83,10 +83,12 @@ export default {
}
if (image && cryptoOperation) {
const imageObject = JSON.parse(image);
this.value.spec.securityParameters = {
cryptoOperation,
sourceImageName: image.metadata.name,
sourceImageNamespace: image.metadata.namespace
sourceImageName: imageObject.metadata.name,
sourceImageNamespace: imageObject.metadata.namespace
}
}
@@ -95,7 +97,7 @@ export default {
}
return {
selectedImage: image || null,
selectedImage: null,
images: [],
url: this.value.spec.url,
files: [],