Tracks and serving knative applications.
Note: knative must be installed in kubernetes.
-
repository
: Required. The name of the repository, e.g.user/knative-application
.Note: When configuring a private registry using a non-root CA, you must include the port (e.g. :443 or :5000) even though the docker CLI does not require it.
-
tag
: Optional. The tag to track. Defaults tolatest
.
Do nothing.
Do nothing.
Push a Docker image to the source's repository and tag. The resulting version is the image's digest.
-
app_name
: Optional. Knative app name -
image
: Required. The name and tag of the repository, e.g. aptomi/rest-api:latest -
namespace
: Required. The kubernetes namespaceexample:
params: app_name: rest-api:latest image: aptomi/rest-api namespace: applaction
jobs:
- name: rest-api
plan:
- get: docker-image
trigger: true
- params:
app_name: rest-api
image: aptomi/rest-api
namespace: default
put: knative-serving
resource_types:
- name: knative-serving
source:
repository: aptomisvc/concourse-knative-serving-resource
tag: latest
type: docker-image
resources:
- name: knative-serving
source:
kubeconfig: ((kubeconfig))
type: knative-serving
- name: docker-image
source:
repository: aptomi/rest-api
tag: latest
type: docker-image