Skip to content

Instantly share code, notes, and snippets.

@VidyasagarMSC
Last active October 8, 2018 09:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VidyasagarMSC/92de03c7be5204e9df62452fc13d8c99 to your computer and use it in GitHub Desktop.
Save VidyasagarMSC/92de03c7be5204e9df62452fc13d8c99 to your computer and use it in GitHub Desktop.
apiVersion: serving.knative.dev/v1alpha1 # Current version of Knative
kind: Service
metadata:
name: knative-node-kaniko # The name of the app
namespace: default # The namespace the app will use
spec:
runLatest:
configuration:
revisionTemplate:
spec:
container:
image: registry.<region>.bluemix.net/<namespace>/knative-node-kaniko # The URL to the image of the app on IBMCLOUD Registry
env:
- name: TARGET # The environment variable printed out by the sample app
value: "Kaniko Node App running on IBM Cloud"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment