Commit 10e7b7fa authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

add render example

parent 06a51a25
Loading
Loading
Loading
Loading
+24 −3
Original line number Diff line number Diff line
@@ -11,8 +11,8 @@ repo-root
    └── job.yaml
```

In that `job.yaml` add the following content. Ensure the name of the job equals
the name of the subfolder.
In that `job.yaml` add the following content. Ensure the name of the deploy job
equals the name of the subfolder.

```yaml
---
@@ -29,7 +29,28 @@ cert-manager:

> Adjust values according to your helm release.

Optionally add a `values.yaml` in that directory.
Optionally add a `values.yaml` in that directory (`cert-manager/`).

### Test render

You can optionally add a render job to have helm render what it would deploy,
without actually deploying.

```yaml
cert-manager:render:
  extends: .helm:render
  variables:
    REPO_NAME: jetstack
    REPO_URL: https://charts.jetstack.io
    NAMESPACE: cert-manager
    RELEASE: cert-manager
    CHART: jetstack/cert-manager
    EXTRA_ARGS: --set installCRDs=true
```

The render will be available in the artifacts of the render job.

### Final step

When you've added all your releases to the cluster management repository, add
the following to your `.gitlab-ci.yml`: