Skip to content

Instantly share code, notes, and snippets.

@matzew
Created October 5, 2018 08:41
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 matzew/855aaec377738ec49113473b754478c0 to your computer and use it in GitHub Desktop.
Save matzew/855aaec377738ec49113473b754478c0 to your computer and use it in GitHub Desktop.
apiVersion: serving.knative.dev/v1alpha1 # Current version of Knative
kind: Service
metadata:
name: helloworld-go # The name of the app
spec:
runLatest:
configuration:
revisionTemplate:
spec:
container:
image: gcr.io/knative-samples/helloworld-go # The URL to the image of the app
env:
- name: TARGET # The environment variable printed out by the sample app
value: "Go Sample v1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment