theorigamicorporation/Deploy Knative Service

Create or update a Knative Service with smart config merging, without Kubernetes complexity.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
service_nameName of the Knative service to create or updateyes
imageContainer image to deploy (e.g., reg.rso.dev/my-project/image:tag)yes
env_varsEnvironment variables in JSON format: [{"name":"VAR_NAME","value":"var_value"}]no
annotationsRevision template annotations in JSON format (e.g. autoscaling): [{"key":"annotation.key","value":"annotation-value"}]no
labelsService labels in JSON format: [{"key":"label.key","value":"label-value"}]no
resource_limits_cpuCPU resource limit (e.g., "500m")no
resource_limits_memoryMemory resource limit (e.g., "512Mi")no
resource_requests_cpuCPU resource request (e.g., "100m")no
resource_requests_memoryMemory resource request (e.g., "128Mi")no
container_portContainer port to exposeno8080
port_nameName of the port (must be "h2c" or "http1" if specified)no
image_pull_secret_nameImage pull secret namenoregcred
volumesVolumes in JSON format: [{"name":"my-vol","persistentVolumeClaim":{"claimName":"my-pvc","readOnly":false}}]no
volume_mountsVolume mounts for the container in JSON format: [{"name":"my-vol","mountPath":"/data","readOnly":false}]no
namedescription
service_urlThe URL of the deployed Knative service
revision_nameThe name of the created revision