Implement IMetadata interface (#998)
* V1PodTemplateSpec implements IMetadata interface This will allow using the ModelExteions methods over V1PodTemplateSpec * Typo
This commit is contained in:
@@ -21,7 +21,7 @@ namespace customResource
|
||||
public string Namespace { get; set; }
|
||||
}
|
||||
|
||||
public abstract class CustomResource : KubernetesObject
|
||||
public abstract class CustomResource : KubernetesObject, IMetadata<V1ObjectMeta>
|
||||
{
|
||||
[JsonPropertyName("metadata")]
|
||||
public V1ObjectMeta Metadata { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user