Commit 95cac3fd authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

use yaml

parent d5385655
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@ variables:
  extends: .kube-context
  script:
    - |
      echo "[*] Checking for configuration in ${K8S_CONFIG_DIR}..."
      if test -d ${K8S_CONFIG_DIR}/envsubst; then
        echo "[*] Processing envsubst folder..."
        apk add gettext
+5 −5
Original line number Diff line number Diff line
@@ -6,11 +6,11 @@ Create a folder named as your deployment. The following example deploys `cert-ma
repo-root
├── .gitlab-ci.yml
└── cert-manager
    ├── values.yml
    └── job.yml
    ├── values.yaml
    └── job.yaml
```

In that `job.yml` 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 job equals the name of the subfolder.

```yaml
---
@@ -27,7 +27,7 @@ deployment-name:

> Adjust values according to your helm release.

Optionally add a `values.yml` in that directory.
Optionally add a `values.yaml` in that directory.

When you've added all your releases to the cluster management repository, add the following
to your `.gitlab-ci.yml`:
@@ -38,5 +38,5 @@ include:
  - project: just-ci/templates
    file: k8s/helm/deploy.yml
    ref: v6.0.0
  - local: "**/job.yml"
  - local: "**/job.yaml"
```