Kubewarden SDK Documentation

Function mutate​Request(mutated​Object:​)

public func mutateRequest(mutatedObject: JSON) -> String  

This function accepts the admission request as valid

Parameters

mutated​Object JSON

an instance of GenericJSON.JSON that holds the new object

Returns

A ValidationResponse object serialized to JSON