• Thong Kuah's avatar
    Override hostname when connecting via Kubeclient · e0826b0c
    Thong Kuah authored
    Kubeclient uses rest-client. We hack into to access the net/http object
    so that we can patch to connect to the resolved IP + set
    hostname_override.
    
    Add specs for discord. The discord integration also uses rest-client, so
    since we patched rest-client, spec that the DNS rebinding protection
    works
    e0826b0c
rest-client-hostname_override.rb 1.65 KB