Investigate if OneChart can be rendered to Cloud Run / KNative serving API
- Values files for OneChart carry all meaningful info that is needed for a containerized deployment to work
- OneChart is a Helm chart.
helm templaterenders the chart into plain text.
The above two statements suggests that we can make a Helm chart that renders KNative serving API yamls. Not Kubernetes yamls, but yamls that KNative and Google Cloud Run understands.
The goal of this issue is to render a basic KNative manifest that is driven by a OneChart values file, like the following:
image:
repository: nginx
tag: latest
replicas: 3
containerPort: 5000
vars:
DUMMY: "test-me"
and after a helm template command, the result can be deployed to Google Cloud Run.
Some info:
- https://ahmet.im/blog/cloud-run-is-a-knative/
- https://knative.dev/docs/reference/api/serving-api/
When we are done, we should review the project by KNative community members: salaboy and tvitale
Good First Issue
How is this a good first issue?
The task can be completed by Helm knowledge and basic understanding of KNative / Google Cloud RUn
It can be rendered and deployed. https://github.com/gimlet-io/onechart/issues/49 Deploy automation is another question.