Create Golang application

In this section, you will be deploying a new application that you will be using for both passthrough and re-encrypt routes, then you will create a secret and mount it to the volume so you can create the routes.

  • Create the deployment config and service using oc create command.

oc create -f https://raw.githubusercontent.com/nerdingitout/oc-route/main/golang-https.yml
  • Create TLS secret using the same secret you extracted earlier.

  • Mount the secret to your volume.

Last updated