docs/code-samples/serving/hello-world/helloworld-java-spring/service.yaml

14 lines
293 B
YAML

apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: helloworld-java-spring
namespace: default
spec:
template:
spec:
containers:
- image: docker.io/{username}/helloworld-java-spring
env:
- name: TARGET
value: "Spring Boot Sample v1"