Skip to content
Snippets Groups Projects
Commit b5096dde authored by Sören Henning's avatar Sören Henning
Browse files

Add support for ImagePatcher

parent 3bb1bb6f
No related branches found
No related tags found
No related merge requests found
Pipeline #4056 passed
...@@ -74,6 +74,10 @@ class PatcherFactory { ...@@ -74,6 +74,10 @@ class PatcherFactory {
k8sResource = resource, k8sResource = resource,
variableName = patcherDefinition.properties["variableName"] !! variableName = patcherDefinition.properties["variableName"] !!
) )
"ImagePatcher" -> ImagePatcher(
k8sResource = resource,
container = patcherDefinition.properties["container"]!!
)
else -> throw InvalidPatcherConfigurationException("Patcher type ${patcherDefinition.type} not found.") else -> throw InvalidPatcherConfigurationException("Patcher type ${patcherDefinition.type} not found.")
} }
} catch (e: Exception) { } catch (e: Exception) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment