diff --git a/src/LibKubernetesGenerator/templates/ModelExtensions.cs.template b/src/LibKubernetesGenerator/templates/ModelExtensions.cs.template index bad5507bc..446534200 100644 --- a/src/LibKubernetesGenerator/templates/ModelExtensions.cs.template +++ b/src/LibKubernetesGenerator/templates/ModelExtensions.cs.template @@ -22,6 +22,7 @@ namespace k8s {{ for definition in definitions }} [JsonSerializable(typeof({{ GetClassName definition }}))] {{ end }} + [JsonSerializable(typeof(k8s.KubeConfigModels.ExecCredentialResponse))] internal partial class SourceGenerationContext : JsonSerializerContext { }