require "kubernetes" module ContainerMom # Source credentials structure struct SourceCredentials include Kubernetes::Serializable field username : String field password : String end # Source configuration structure struct SourceConfig include Kubernetes::Serializable field type : String field url : String field credentials : SourceCredentials? end # Define the ContainerDeployment spec structure struct ContainerDeploymentSpec include Kubernetes::Serializable field regions : Array(String) field resources : Hash(String, String)? field domain : Hash(String, String)? field billing : Hash(String, String)? field source : SourceConfig end end