Class: Kubes::Compiler::Dsl::Syntax::DaemonSet

Inherits:
Resource
  • Object
show all
Defined in:
lib/kubes/compiler/dsl/syntax/daemon_set.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



9
10
11
# File 'lib/kubes/compiler/dsl/syntax/daemon_set.rb', line 9

def default_apiVersion
  "apps/v1"
end

#default_specObject



13
14
15
16
17
18
19
20
21
# File 'lib/kubes/compiler/dsl/syntax/daemon_set.rb', line 13

def default_spec
  {
    minReadySeconds: minReadySeconds,
    revisionHistoryLimit: revisionHistoryLimit,
    selector: selector,
    template: template,
    updateStrategy: updateStrategy,
  }
end