This repository contains infrastructure as code for deploying a Speckle Functions Platform on Google Cloud Platform.
├── k8s
│ ├── funckle-pipeline # Contains Tekton Pipeline configurations to build and deploy user's Speckle Functions
│ ├── knative # Contains Knative operator manifests which will be used to deploy user's Speckle Functions
│ └── tekton # Contains Tekton operator manifests which will be used to build and deploy user's Speckle Functions
├── terraform # Contains Terraform configurations to deploy the infrastructure required for the Speckle Functions Platform
├── samples
│ ├── functions # Contains sample Speckle Functions
We need to create a Kubernetes secret to allow the Knative build process to push/pull images from the Google Artifact Registry. We also need a similar secret to allow the Knative serving process to pull images from the Google Artifact Registry.
To create the secret for the Knative build process, run the following command:
kubectl create secret docker-registry regcred --docker-server=https://europe-west2-docker.pkg.dev --docker-username=_json_key_base64 --docker-password=<your-pword>