Class: K8SSecret

Inherits:
OSESecret show all
Defined in:
lib/models/k8s_secret.rb

Instance Attribute Summary

Attributes inherited from OSESecret

#name, #ose_secret

Class Method Summary collapse

Methods inherited from OSESecret

find_by_name, from_yaml, #initialize, #to_encryptable, #to_yaml

Constructor Details

This class inherits a constructor from OSESecret

Class Method Details

.allObject



7
8
9
# File 'lib/models/k8s_secret.rb', line 7

def all
  K8SAdapter.new.fetch_all_secrets.map { |s| OSESecretSerializer.from_yaml(s) }
end