{"id":15290888,"url":"https://github.com/azure/k8s-bake","last_synced_at":"2026-02-27T21:45:05.302Z","repository":{"id":38214579,"uuid":"216777951","full_name":"Azure/k8s-bake","owner":"Azure","description":"GitHub Action creating Kubernetes manifest files with Helm, Kustomize, or Kompose","archived":false,"fork":false,"pushed_at":"2025-04-01T19:09:30.000Z","size":25233,"stargazers_count":56,"open_issues_count":6,"forks_count":34,"subscribers_count":18,"default_branch":"main","last_synced_at":"2025-04-04T19:12:30.036Z","etag":null,"topics":["action","actions","azure","bake","github-action","github-actions","kubernetes"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Azure.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-22T09:44:41.000Z","updated_at":"2025-04-01T19:09:27.000Z","dependencies_parsed_at":"2024-10-14T13:01:45.239Z","dependency_job_id":"3ba15a3e-1c34-4603-84a4-2512f5f02d5f","html_url":"https://github.com/Azure/k8s-bake","commit_stats":{"total_commits":72,"total_committers":27,"mean_commits":"2.6666666666666665","dds":0.8611111111111112,"last_synced_commit":"269b9252f57306591da0b701b4a390944e86eb48"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fk8s-bake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fk8s-bake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fk8s-bake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Azure%2Fk8s-bake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Azure","download_url":"https://codeload.github.com/Azure/k8s-bake/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247234923,"owners_count":20905854,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["action","actions","azure","bake","github-action","github-actions","kubernetes"],"created_at":"2024-09-30T16:09:57.150Z","updated_at":"2026-02-27T21:45:05.296Z","avatar_url":"https://github.com/Azure.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kubernetes bake action\n\nUse this action to bake manifest files to be used for deployments using helm, kustomize or kompose.\n\nSets output variable 'manifestsBundle' which contains the location of the manifest bundles created by bake action.\n\n## Example\n\n#### Bake using helm\n\n```yaml\n- uses: azure/k8s-bake@v3\n   with:\n      renderEngine: 'helm'\n      helmChart: './aks-helloworld/'\n      arguments: |\n          --ca-file\n          ./ca-file/\n      overrideFiles: './aks-helloworld/values-override.yaml'\n      overrides: |\n          replicas:2\n      helm-version: '^3.0.0' # Use 'latest' to get the latest stable release (may include breaking changes across major versions)\n      silent: 'false'\n```\n\n#### Helm Version Selection\n\nThe `helm-version` input supports semver-compatible version ranges. This is useful for ensuring compatibility while allowing automatic updates within a major version.\n\n**Examples:**\n\n- `^3.0.0` - Use the latest helm v3.x.x release (default). This avoids breaking changes that may occur with helm v4.\n- `~3.12.0` - Use the latest helm v3.12.x patch release\n- `v3.12.1` - Use an exact version\n- `latest` - Use the latest stable release (may include breaking changes across major versions)\n\n#### Bake using Kompose\n\n```yaml\n- uses: azure/k8s-bake@v3\n  with:\n     renderEngine: 'kompose'\n     dockerComposeFile: './docker-compose.yml'\n     kompose-version: 'latest'\n```\n\n#### Bake using Kubernetes Kustomize\n\n```yaml\n- uses: azure/k8s-bake@v3\n  with:\n     renderEngine: 'kustomize'\n     kustomizationPath: './kustomizeexample/'\n     arguments: |\n        --ca-file\n        ./ca-file/\n     kubectl-version: 'latest'\n```\n\nRefer to the [action metadata file](https://github.com/Azure/k8s-bake/blob/master/action.yml) for details about all the inputs.\n\n## End to end workflow for building container images and deploying to a Kubernetes cluster\n\n```yaml\non: [push]\n\njobs:\n   build:\n      runs-on: ubuntu-latest\n      steps:\n         - uses: actions/checkout@master\n\n         - uses: Azure/docker-login@v1\n           with:\n              login-server: contoso.azurecr.io\n              username: ${{ secrets.REGISTRY_USERNAME }}\n              password: ${{ secrets.REGISTRY_PASSWORD }}\n\n         - run: |\n              docker build . -t contoso.azurecr.io/k8sdemo:${{ github.sha }}\n              docker push contoso.azurecr.io/k8sdemo:${{ github.sha }}\n\n         - uses: Azure/k8s-set-context@v3\n           with:\n              kubeconfig: ${{ secrets.KUBE_CONFIG }}\n\n         - uses: Azure/k8s-create-secret@v4\n           with:\n              container-registry-url: contoso.azurecr.io\n              container-registry-username: ${{ secrets.REGISTRY_USERNAME }}\n              container-registry-password: ${{ secrets.REGISTRY_PASSWORD }}\n              secret-name: demo-k8s-secret\n\n         - uses: azure/k8s-bake@v3\n           with:\n              renderEngine: 'helm'\n              helmChart: './aks-helloworld/'\n              overrideFiles: './aks-helloworld/values-override.yaml'\n              overrides: |\n                 replicas:2\n              helm-version: 'latest'\n           id: bake\n\n         - uses: Azure/k8s-deploy@v4\n           with:\n              manifests: ${{ steps.bake.outputs.manifestsBundle }}\n              images: |\n                 demo.azurecr.io/k8sdemo:${{ github.sha }}\n              imagepullsecrets: |\n                 demo-k8s-secret\n```\n\n# Contributing\n\nThis project welcomes contributions and suggestions. Most contributions require you to agree to a\nContributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us\nthe rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.\n\nWhen you submit a pull request, a CLA bot will automatically determine whether you need to provide\na CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions\nprovided by the bot. You will only need to do this once across all repos using our CLA.\n\nThis project has adopted the [Microsoft Open Source Code of Conduct](https://opensource.microsoft.com/codeofconduct/).\nFor more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or\ncontact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.\n\n## Support\n\nk8s-bake is an open source project that is [**not** covered by the Microsoft Azure support policy](https://support.microsoft.com/en-us/help/2941892/support-for-linux-and-open-source-technology-in-azure). [Please search open issues here](https://github.com/Azure/k8s-bake/issues), and if your issue isn't already represented please [open a new one](https://github.com/Azure/k8s-bake/issues/new/choose). The project maintainers will respond to the best of their abilities.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazure%2Fk8s-bake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fazure%2Fk8s-bake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fazure%2Fk8s-bake/lists"}