Class: Kubes::Compiler::Dsl::Syntax::ManagedCertificate

Inherits:
Resource
  • Object
show all
Defined in:
lib/kubes/compiler/dsl/syntax/managed_certificate.rb

Instance Attribute Summary

Attributes inherited from Resource

#kind_from_block

Instance Method Summary collapse

Methods inherited from Resource

#default_kind, #default_metadata, #default_result, #default_result_append, #default_top, #field, #top

Methods included from Util::Normalize

#extract_type, #normalize_kind

Instance Method Details

#default_apiVersionObject



6
7
8
# File 'lib/kubes/compiler/dsl/syntax/managed_certificate.rb', line 6

def default_apiVersion
  "networking.gke.io/v1beta2"
end

#default_domainsObject



14
15
16
# File 'lib/kubes/compiler/dsl/syntax/managed_certificate.rb', line 14

def default_domains
  [domain]
end

#default_specObject



10
11
12
# File 'lib/kubes/compiler/dsl/syntax/managed_certificate.rb', line 10

def default_spec
  { domains: domains }
end