Skip to content

Commit

Permalink
Merge pull request #5554 from garden-io/release-0.12.67
Browse files Browse the repository at this point in the history
Release 0.12.67
  • Loading branch information
vvagaytsev committed Dec 13, 2023
2 parents d01a34b + 38722f3 commit f30d1a8
Show file tree
Hide file tree
Showing 37 changed files with 52 additions and 45 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@

<a name="0.12.67"></a>
## [0.12.67](https://github.com/garden-io/garden/compare/0.12.66...0.12.67) (2023-12-12)

### Improvements

* update helm to `3.12.0` ([64de8054f](https://github.com/garden-io/garden/commit/64de8054f))

<a name="0.12.66"></a>
## [0.12.66](https://github.com/garden-io/garden/compare/0.12.65...0.12.66) (2023-10-16)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://docs.garden.io/v/acorn-0.12/?utm_source=github">Docs</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://github.com/garden-io/garden/tree/0.12.66/examples">Examples</a>
<a href="https://github.com/garden-io/garden/tree/0.12.67/examples">Examples</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
<a href="https://garden.io/blog/?utm_source=github">Blog</a>
<span>&nbsp;&nbsp;&nbsp;&nbsp;</span>
Expand Down
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@garden-io/cli",
"version": "0.12.66",
"version": "0.12.67",
"description": "Cloud native testing platform for testing and developing container applications on Kubernetes",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@garden-io/core",
"version": "0.12.66",
"version": "0.12.67",
"description": "A full-featured development framework for containers and serverless",
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion dashboard/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@garden-io/dashboard",
"version": "0.12.66",
"version": "0.12.67",
"private": true,
"devDependencies": {
"@garden-io/cli": "*",
Expand Down
2 changes: 1 addition & 1 deletion docs/advanced/using-remote-sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ You can import **two** types of remote repositories with Garden:
> **Remote _module_**: The source code for a single Garden module. In this case, the `garden.yml` config file is stored in the main project repository while the module code itself is in the remote repository.
The code examples below are from our [remote sources example](https://github.com/garden-io/garden/tree/0.12.66/examples/remote-sources).
The code examples below are from our [remote sources example](https://github.com/garden-io/garden/tree/0.12.67/examples/remote-sources).

## Importing Remote Repositories

Expand Down
2 changes: 1 addition & 1 deletion docs/basics/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ If you'd like to better understand how a Garden project is configured when using
through our [first project tutorial](../tutorials/your-first-project/README.md) which walks you through configuring a Garden project step-by-step.

If you like to dive right in and configure your own project for Garden, we recommend using our [example
projects on GitHub](https://github.com/garden-io/garden/tree/0.12.66/examples) for reference and reading through the different pages
projects on GitHub](https://github.com/garden-io/garden/tree/0.12.67/examples) for reference and reading through the different pages
of the [Using Garden section](../using-garden/configuration-overview.md) of our docs.

And if you have any questions or feedback—or just want to say hi 🙂—we encourage you to join our [Discord community](https://discord.gg/FrmhuUjFs6)!
2 changes: 1 addition & 1 deletion docs/guides/using-garden-in-ci.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The guide uses the [Remote Kubernetes plugin](../k8s-plugins/remote-k8s/README.m

## Project overview

The project is based on our basic [demo-project](https://github.com/garden-io/garden/tree/0.12.66/examples/demo-project) example, but configured for multiple environments. Additionally it contains a CircleCI config file. You'll find the entire source code [here](https://github.com/garden-io/ci-demo-project).
The project is based on our basic [demo-project](https://github.com/garden-io/garden/tree/0.12.67/examples/demo-project) example, but configured for multiple environments. Additionally it contains a CircleCI config file. You'll find the entire source code [here](https://github.com/garden-io/ci-demo-project).

The CI pipeline is configured so that Garden tests the project and deploys it to a **preview** environment on every pull request. Additionally, it tests the project and deploys it to a separate **staging** environment on every merge to the `main` branch.

Expand Down
4 changes: 2 additions & 2 deletions docs/k8s-plugins/module-types/container.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ The Kubernetes plugins can deploy `container` modules that define one or more `s

Garden will take the simplified `container` service specification and convert it to the corresponding Kubernetes manifests, i.e. Deployment, Service and (if applicable) Ingress resources.

Here, for example, is the spec for the `frontend` service in our example [demo project](https://github.com/garden-io/garden/tree/0.12.66/examples/demo-project):
Here, for example, is the spec for the `frontend` service in our example [demo project](https://github.com/garden-io/garden/tree/0.12.67/examples/demo-project):

```yaml
kind: Module
Expand Down Expand Up @@ -95,5 +95,5 @@ kubectl --namespace <my-app-namespace> create secret generic --from-literal=some

Where `<my-app-namespace>` is your project namespace (which is either set with `namespace` in your provider config, or defaults to your project name). There are notably other, more secure ways to create secrets via `kubectl`. Please refer to the official [Kubernetes Secrets docs](https://kubernetes.io/docs/concepts/configuration/secret/#creating-a-secret-using-kubectl-create-secret) for details.

Also check out the [Kubernetes Secrets example project](https://github.com/garden-io/garden/tree/0.12.66/examples/kubernetes-secrets) for a working example.
Also check out the [Kubernetes Secrets example project](https://github.com/garden-io/garden/tree/0.12.67/examples/kubernetes-secrets) for a working example.

6 changes: 3 additions & 3 deletions docs/k8s-plugins/module-types/helm.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ order: 3

The [Helm](https://helm.sh/) package manager is one of the most commonly used tools for managing Kubernetes manifests. Garden supports using your own Helm charts, alongside your container modules, via the `kubernetes` and `local-kubernetes` providers. This guide shows you how to configure and use 3rd-party (or otherwise external) Helm charts, as well as your own charts in your Garden project. We also go through how to set up tests, tasks and hot-reloading for your charts.

In this guide we'll be using the [vote-helm](https://github.com/garden-io/garden/tree/0.12.66/examples/vote-helm) project. If you prefer to just check out a complete example, the project itself is also a good resource.
In this guide we'll be using the [vote-helm](https://github.com/garden-io/garden/tree/0.12.67/examples/vote-helm) project. If you prefer to just check out a complete example, the project itself is also a good resource.

You may also want to check out the full [helm module reference](../../reference/module-types/helm.md).

_Note: If you only need a way to deploy some Kubernetes manifests and don't need all the features of Helm, you can_
_use the simpler `kubernetes` module type instead. Check out the_
_[kubernetes-module](https://github.com/garden-io/garden/tree/0.12.66/examples/kubernetes-module) example for more info._
_[kubernetes-module](https://github.com/garden-io/garden/tree/0.12.67/examples/kubernetes-module) example for more info._

## Basics

Expand Down Expand Up @@ -315,7 +315,7 @@ You can define a remote environment as a `production` environment by setting the

## Next steps

Check out the full [helm module reference](../../reference/module-types/helm.md) for more details, and the [vote-helm](https://github.com/garden-io/garden/tree/0.12.66/examples/vote-helm) example project for a full project that showcases Garden's Helm support.
Check out the full [helm module reference](../../reference/module-types/helm.md) for more details, and the [vote-helm](https://github.com/garden-io/garden/tree/0.12.67/examples/vote-helm) example project for a full project that showcases Garden's Helm support.

Also check out the [Kubernetes module](./kubernetes.md)
example for a simpler alternative, if you don't need all the features of Helm.
2 changes: 1 addition & 1 deletion docs/k8s-plugins/remote-k8s/ingress-and-dns.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ order: 3

# 3. Set Up Ingress, TLS and DNS

By default, Garden will not install an ingress controller for remote environments. This can be toggled by setting the [`setupIngressController` flag](../../reference/providers/kubernetes.md#providerssetupingresscontroller) to `nginx`. Alternatively, you can set up your own ingress controller, e.g. using [Traefik](https://traefik.io/), [Ambassador](https://www.getambassador.io/) or [Istio](https://istio.io/). You can find an example for [using Garden with Istio](https://github.com/garden-io/garden/tree/0.12.66/examples/istio) in our [examples directory](https://github.com/garden-io/garden/tree/0.12.66/examples).
By default, Garden will not install an ingress controller for remote environments. This can be toggled by setting the [`setupIngressController` flag](../../reference/providers/kubernetes.md#providerssetupingresscontroller) to `nginx`. Alternatively, you can set up your own ingress controller, e.g. using [Traefik](https://traefik.io/), [Ambassador](https://www.getambassador.io/) or [Istio](https://istio.io/). You can find an example for [using Garden with Istio](https://github.com/garden-io/garden/tree/0.12.67/examples/istio) in our [examples directory](https://github.com/garden-io/garden/tree/0.12.67/examples).

You'll also need to point one or more DNS entries to your cluster, and configure a TLS certificate for the hostnames
you will expose for ingress.
Expand Down
10 changes: 5 additions & 5 deletions docs/misc/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ You can also deploy `kubernetes` and `helm` modules to their own namespaces.

### How do I share code between modules?

You can use the [copy directive](https://docs.garden.io/v/acorn-0.12/reference/module-types/container#build-dependencies-copy) of the `build.dependencies[]` field for that. See e.g. [this example project](https://github.com/garden-io/garden/tree/0.12.66/examples/build-dependencies).
You can use the [copy directive](https://docs.garden.io/v/acorn-0.12/reference/module-types/container#build-dependencies-copy) of the `build.dependencies[]` field for that. See e.g. [this example project](https://github.com/garden-io/garden/tree/0.12.67/examples/build-dependencies).

Alternatively you can hoist your `garden.yml` file so that it is at the same level or parent to all relevant build context and use the `include` field.

Expand All @@ -65,7 +65,7 @@ Use the [`targetImage` field](https://docs.garden.io/v/acorn-0.12/reference/modu

### How do I use base images?

See [this example project](https://github.com/garden-io/garden/tree/0.12.66/examples/base-image).
See [this example project](https://github.com/garden-io/garden/tree/0.12.67/examples/base-image).

### Can I use runtime variables in container builds (e.g. from tasks)?

Expand Down Expand Up @@ -111,11 +111,11 @@ include: [frontend/**/*]

Note that you can put multiple Garden configuration files in the same directory, e.g. `project.garden.yml`, `api.garden.yml` and `frontend.garden.yml`.

If you need the Dockerfile outside of the module root because you want to share it with other modules, you should consider having a single base image instead and then let each module have its own Dockerfile that's built on the base image. See the [base image example project](https://github.com/garden-io/garden/tree/0.12.66/examples/base-image) for an example of this.
If you need the Dockerfile outside of the module root because you want to share it with other modules, you should consider having a single base image instead and then let each module have its own Dockerfile that's built on the base image. See the [base image example project](https://github.com/garden-io/garden/tree/0.12.67/examples/base-image) for an example of this.

### How do I include files/dirs (e.g. shared libraries) from outside the module root with the build context?

See [this example project](https://github.com/garden-io/garden/tree/0.12.66/examples/build-dependencies).
See [this example project](https://github.com/garden-io/garden/tree/0.12.67/examples/build-dependencies).

### How do I add Docker specific flags to the build command?

Expand All @@ -129,7 +129,7 @@ You can use the `dockerfile` field. For example:
dockerfile: "${environment.name == 'prod' ? Dockerfile.prod : Dockerfile.dev}"
```

See also the [base image example project](https://github.com/garden-io/garden/tree/0.12.66/examples/base-image) for an example of this.
See also the [base image example project](https://github.com/garden-io/garden/tree/0.12.67/examples/base-image) for an example of this.

## Remote Building

Expand Down
2 changes: 1 addition & 1 deletion docs/other-plugins/exec.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ services:
env: ${modules.frontend.env} # <--- Reference the env variable defined above
```

See also this [example project](https://github.com/garden-io/garden/tree/0.12.66/examples/local-service).
See also this [example project](https://github.com/garden-io/garden/tree/0.12.67/examples/local-service).

## Next Steps

Expand Down
2 changes: 1 addition & 1 deletion docs/pulumi-plugin/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ garden plugins pulumi preview -- my-pulumi-module my-other-pulumi-module

## Next steps

Check out the [`pulumi` example](https://github.com/garden-io/garden/tree/0.12.66/examples/pulumi) project.
Check out the [`pulumi` example](https://github.com/garden-io/garden/tree/0.12.67/examples/pulumi) project.

Also take a look at the [pulumi provider reference](https://docs.garden.io/v/acorn-0.12/reference/providers/pulumi) and the [pulumi module type reference](https://docs.garden.io/v/acorn-0.12/reference/module-types/pulumi) for details on all the configuration parameters.

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/module-types/jib-container.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tocTitle: "`jib-container`"

## Description

Extends the [container module type](./container.md) to build the image with [Jib](https://github.com/GoogleContainerTools/jib). Use this to efficiently build container images for Java services. Check out the [jib example](https://github.com/garden-io/garden/tree/0.12.66/examples/jib-container) to see it in action.
Extends the [container module type](./container.md) to build the image with [Jib](https://github.com/GoogleContainerTools/jib). Use this to efficiently build container images for Java services. Check out the [jib example](https://github.com/garden-io/garden/tree/0.12.67/examples/jib-container) to see it in action.

The image is always built locally, directly from the module source directory (see the note on that below), before shipping the container image to the right place. You can set `build.tarOnly: true` to only build the image as a tarball.

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/providers/conftest-kubernetes.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Simply add this provider to your project configuration, and configure your polic
reference for how to configure default policies, default namespaces, and test failure thresholds for the generated
modules.

See the [conftest example project](https://github.com/garden-io/garden/tree/0.12.66/examples/conftest) for a simple
See the [conftest example project](https://github.com/garden-io/garden/tree/0.12.67/examples/conftest) for a simple
usage example.

Below is the full schema reference for the provider configuration. For an introduction to configuring a Garden project with providers, please look at our [configuration guide](../../using-garden/configuration-overview.md).
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/providers/conftest.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ tocTitle: "`conftest`"

This provider allows you to validate your configuration files against policies that you specify, using the [conftest tool](https://github.com/instrumenta/conftest) and Open Policy Agent rego query files. The provider creates a module type of the same name, which allows you to specify files to validate. Each module then creates a Garden test that becomes part of your Stack Graph.

Note that, in many cases, you'll actually want to use more specific providers that can automatically configure your `conftest` modules, e.g. the [`conftest-container`](../module-types/conftest.md) and/or [`conftest-kubernetes`](../module-types/conftest.md) providers. See the [conftest example project](https://github.com/garden-io/garden/tree/0.12.66/examples/conftest) for a simple usage example of the latter.
Note that, in many cases, you'll actually want to use more specific providers that can automatically configure your `conftest` modules, e.g. the [`conftest-container`](../module-types/conftest.md) and/or [`conftest-kubernetes`](../module-types/conftest.md) providers. See the [conftest example project](https://github.com/garden-io/garden/tree/0.12.67/examples/conftest) for a simple usage example of the latter.

If those don't match your needs, you can use this provider directly and manually configure your `conftest` modules. Simply add this provider to your project configuration, and see the [conftest module documentation](../module-types/conftest.md) for a detailed reference. Also, check out the below reference for how to configure default policies, default namespaces, and test failure thresholds for all `conftest` modules.

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/providers/hadolint.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This provider creates a [`hadolint`](../module-types/hadolint.md) module type, a

To configure `hadolint`, you can use `.hadolint.yaml` config files. For each test, we first look for one in the relevant module root. If none is found there, we check the project root, and if none is there we fall back to default configuration. Note that for reasons of portability, we do not fall back to global/user configuration files.

See the [hadolint docs](https://github.com/hadolint/hadolint#configure) for details on how to configure it, and the [hadolint example project](https://github.com/garden-io/garden/tree/0.12.66/examples/hadolint) for a usage example.
See the [hadolint docs](https://github.com/hadolint/hadolint#configure) for details on how to configure it, and the [hadolint example project](https://github.com/garden-io/garden/tree/0.12.67/examples/hadolint) for a usage example.

Below is the full schema reference for the provider configuration. For an introduction to configuring a Garden project with providers, please look at our [configuration guide](../../using-garden/configuration-overview.md).

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/providers/jib.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ tocTitle: "`jib`"

Provides support for [Jib](https://github.com/GoogleContainerTools/jib) via the [jib module type](../module-types/jib-container.md).

Use this to efficiently build container images for Java services. Check out the [jib example](https://github.com/garden-io/garden/tree/0.12.66/examples/jib-container) to see it in action.
Use this to efficiently build container images for Java services. Check out the [jib example](https://github.com/garden-io/garden/tree/0.12.67/examples/jib-container) to see it in action.

Below is the full schema reference for the provider configuration. For an introduction to configuring a Garden project with providers, please look at our [configuration guide](../../using-garden/configuration-overview.md).

Expand Down
2 changes: 1 addition & 1 deletion docs/reference/providers/openfaas.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ This provider adds support for [OpenFaaS](https://www.openfaas.com/). It adds th

See the reference below for configuration options for `faas-netes`, and the [module type docs](../module-types/openfaas.md) for how to configure the individual functions.

Also see the [openfaas example project](https://github.com/garden-io/garden/tree/0.12.66/examples/openfaas) for a simple usage example.
Also see the [openfaas example project](https://github.com/garden-io/garden/tree/0.12.67/examples/openfaas) for a simple usage example.

Below is the full schema reference for the provider configuration. For an introduction to configuring a Garden project with providers, please look at our [configuration guide](../../using-garden/configuration-overview.md).

Expand Down

0 comments on commit f30d1a8

Please sign in to comment.