spec/topological_inventory/orchestrator/test_models/kube_resource.rb
# This probably works in more generic way, but for testing purposes it's ok
This probably works in more generic way, but for testing purposes it's ok
This probably works in more generic way but for testing purposes it ' s ok
def encode_secrets(data)
          data[:credentials] = Base64.encode64(data[:credentials]) if data[:credentials]
          data['credentials'] = Base64.encode64(data['credentials']) if data['credentials']
          data
        end
def encode_secrets ( data ) data [ :credentials ] = Base64 . encode64 ( data [ :credentials ] ) if data [ :credentials ] data [ 'credentials' ] = Base64 . encode64 ( data [ 'credentials' ] ) if data [ 'credentials' ] data end
This probably works in more generic way, but for testing purposes it's ok
This probably works in more generic way but for testing purposes it ' s ok
data