Class: Kuby::CertManager::DSL::Acme::V1::ChallengeSpecSolverHttp01IngressPodTemplateSpecAffinity

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

Instance Method Summary collapse

Instance Method Details

#kind_symObject



25
26
27
# File 'lib/kuby/cert-manager/dsl/acme/v1/challenge_spec_solver_http01_ingress_pod_template_spec_affinity.rb', line 25

def kind_sym
  :challenge_spec_solver_http01_ingress_pod_template_spec_affinity
end

#serializeObject



17
18
19
20
21
22
23
# File 'lib/kuby/cert-manager/dsl/acme/v1/challenge_spec_solver_http01_ingress_pod_template_spec_affinity.rb', line 17

def serialize
  {}.tap do |result|
    result[:podAffinity] = pod_affinity.serialize
    result[:nodeAffinity] = node_affinity.serialize
    result[:podAntiAffinity] = pod_anti_affinity.serialize
  end
end