Skip to content

migtools/crane-reverse-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reverse Proxy Proof of concept

Installation

oc kustomize github.com/konveyor/crane-reverse-proxy/config/dev | oc apply -f - 

Basic Usage

  • Create a secret with the namespace/name of your choice.
apiVersion: v1
kind: Secret
metadata:
  namespace: foo
  name: bar
stringData:
  url: 'https://api.openshift.cluster.example.com:6443'
type: Opaque
  • For development a route will be created for the proxy at https://proxy-openshift-migration-toolkit.cluster.base-domain.
  • oc get route -n openshift-migration-toolkit proxy -o go-template='{{ .spec.host }}' can be used to view the URL.
  • Clusters are proxied externally via the dev route at https://proxy-openshift-migration-toolkit.apps.cluster.basedomain/namespace/name/ where /namespace/name/ corresponds to the location of the secret containing the url
  • The service is also reachable within the cluster at https://proxy.openshift-migration-toolkit.svc.cluster.local:8443

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •