Class: Kubes::Compiler::Dsl::Syntax::ServiceAccount

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

Instance Attribute Summary

Attributes inherited from Resource

#kind_from_block

Instance Method Summary collapse

Methods inherited from Resource

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

Methods included from Util::Normalize

#extract_type, #normalize_kind

Instance Method Details

#default_topObject

override superclass method - no spec



9
10
11
12
13
14
15
16
17
18
# File 'lib/kubes/compiler/dsl/syntax/service_account.rb', line 9

def default_top
  {
    apiVersion: apiVersion,
    kind: kind,
    metadata: ,
    automountServiceAccountToken: automountServiceAccountToken,
    imagePullSecrets: imagePullSecrets,
    secrets: secrets,
  }
end