Class: Kuby::CertManager::DSL::Acme::V1::ChallengeSpecSolverHttp01IngressPodTemplateSpecAffinityPodAntiAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTerm

Inherits:
KubeDSL::DSLObject
  • Object
show all
Defined in:
lib/kuby/cert-manager/dsl/acme/v1/challenge_spec_solver_http01_ingress_pod_template_spec_affinity_pod_anti_affinity_prefer_d50853dd.rb

Instance Method Summary collapse

Instance Method Details

#kind_symObject



28
29
30
# File 'lib/kuby/cert-manager/dsl/acme/v1/challenge_spec_solver_http01_ingress_pod_template_spec_affinity_pod_anti_affinity_prefer_d50853dd.rb', line 28

def kind_sym
  :challenge_spec_solver_http01_ingress_pod_template_spec_affinity_pod_anti_affinity_preferred_during_scheduling_ignored_during_execution_pod_affinity_term
end

#serializeObject



19
20
21
22
23
24
25
26
# File 'lib/kuby/cert-manager/dsl/acme/v1/challenge_spec_solver_http01_ingress_pod_template_spec_affinity_pod_anti_affinity_prefer_d50853dd.rb', line 19

def serialize
  {}.tap do |result|
    result[:namespaceSelector] = namespace_selector.serialize
    result[:labelSelector] = label_selector.serialize
    result[:namespaces] = namespaces
    result[:topologyKey] = topology_key
  end
end