Skip to content

helmless/google-cloudrun-charts

Repository files navigation

Helmless.io - Serverless Deployments Without Compromise

Helmless Google Cloud Run Charts

Cloud Run Service Chart GitHub Release Cloud Run Job Chart GitHub Release

These charts are used to deploy Google Cloud Run services and jobs using Helmless. See the Helmless documentation for more information.

🚀 Getting Started

See the Helmless documentation for a 5min quickstart guide.

📄 Charts

The charts are located in the charts folder. The common chart contains the common templates and functions that are used by the other charts.

To create a Helmless application chart, create a new chart and then add either the service or job chart as a dependency.

helm create my-app
rm -rf my-app/templates/*

Add the following to the Chart.yaml file:

dependencies:
  - name: google-cloudrun-service
    version: "0.x.x"
    repository: oci://ghcr.io/helmless
    alias: service
  - name: google-cloudrun-job
    version: "0.x.x"
    repository: oci://ghcr.io/helmless
    alias: job

Then run the following command to install the dependencies:

helm dependency update

Now you can define your workloads in the values.yaml file.

global:
  project: my-project
  region: us-central1

env: &env
  SHARED_ENV_VAR: shared-value
secrets: &secrets
  MY_SECRET: my-secret-key
  MY_OTHER_SECRET:
    secret: my-other-secret-key
    version: 1

service:
  name: my-service
  image: gcr.io/my-project/my-service:v1
  env:
    <<: *env
    MY_ENV_VAR: my-value
  secrets:
    <<: *secrets
job:
  name: my-job
  image: gcr.io/my-project/my-job:v1
  env:
    <<: *env
    MY_ENV_VAR: my-value
  secrets:
    <<: *secrets

See the documentation or the helmless/google-cloudrun-action for information on how to deploy your application using Github Actions.

🤝🏻 Contributing

See the CONTRIBUTING file for information on how to contribute to Helmless. There is also a general guide on the website.

☑️ TODO

  • Add support for sidecars
  • Create sepereate repository for schema renderer and add mkdocs site to this repo to preview schema changes

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.


⭐ If you find Helmless useful, please consider giving it a star! It helps the project grow and improve.

About

Helm charts for deploying Google Cloud Run Services and Jobs using Helmless.

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors