Class: Kuby::CertManager::DSL::CertManager::V1::ClusterIssuerSpecAcmeSolversHttp01IngressPodTemplateSpecAffinityPodAffinityPreferredDuringSchedulingIgnoredDuringExecutionPodAffinityTermNamespaceSelector

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

Instance Method Summary collapse

Instance Method Details

#kind_symObject



22
23
24
# File 'lib/kuby/cert-manager/dsl/cert_manager/v1/cluster_issuer_spec_acme_solvers_http01_ingress_pod_template_spec_affinity_pod_affinity__d90bdc68.rb', line 22

def kind_sym
  :cluster_issuer_spec_acme_solvers_http01_ingress_pod_template_spec_affinity_pod_affinity_preferred_during_scheduling_ignored_during_execution_pod_affinity_term_namespace_selector
end

#serializeObject



15
16
17
18
19
20
# File 'lib/kuby/cert-manager/dsl/cert_manager/v1/cluster_issuer_spec_acme_solvers_http01_ingress_pod_template_spec_affinity_pod_affinity__d90bdc68.rb', line 15

def serialize
  {}.tap do |result|
    result[:matchLabels] = match_labels.serialize
    result[:matchExpressions] = match_expressions.map(&:serialize)
  end
end