Sha256: e0f2029a5657522f16f54591cd21ccea41d3f5788ffda237d2f100e45fb91646

Contents?: true

Size: 579 Bytes

Versions: 1

Compression:

Stored size: 579 Bytes

Contents

require 'rhea'

Rhea.configure do |config|
  config.kube_api = {
    options: {
      ssl_options: {
        client_key: OpenSSL::PKey::RSA.new(Rails.root.join('config', 'credentials', 'apiserver.key').read),
        client_cert: OpenSSL::X509::Certificate.new(Rails.root.join('config', 'credentials', 'apiserver.crt').read),
        ca_file: Rails.root.join('config', 'credentials', 'ca.crt').to_s,
        verify_ssl: OpenSSL::SSL::VERIFY_PEER
      }
    },
    url: 'https://kubernetes.example.com/api/'
  }
  config.default_image = 'docker.registry.com/myworker:latest'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rhea-0.2.0 rhea.rb.example