Commit 04b02cf5 authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

prettier

parent 95cac3fd
Loading
Loading
Loading
Loading
+3 −6
Original line number Diff line number Diff line
@@ -6,11 +6,7 @@ include:
  extends: .kube-context
  variables:
    DEFAULT_ARGS: >
      --install
      --create-namespace
      --dependency-update
      --atomic
      --wait-for-jobs
      --install --create-namespace --dependency-update --atomic --wait-for-jobs
      --render-subchart-notes
    EXTRA_ARGS: ""
  script:
@@ -31,7 +27,8 @@ include:
      EXTRA_ARGS=${EXTRA_ARGS}
      NAMESPACE=${NAMESPACE:=default}"
    - helm repo add ${REPO_NAME} ${REPO_URL}
    - helm template ${REPO_NAME} ${CHART} ${VALUES_ARG} --namespace ${NAMESPACE:=default} --output-dir rendered
    - helm template ${REPO_NAME} ${CHART} ${VALUES_ARG} --namespace
      ${NAMESPACE:=default} --output-dir rendered
    - |
      if [ "${CI_COMMIT_BRANCH}" = "${CI_DEFAULT_BRANCH}" ]; then
        helm upgrade ${DEFAULT_ARGS} --namespace ${NAMESPACE:=default} ${RELEASE} ${CHART} ${VALUES_ARG} ${EXTRA_ARGS}
+6 −4
Original line number Diff line number Diff line
## Deploying a helm release

Create a folder named as your deployment. The following example deploys `cert-manager`.
Create a folder named as your deployment. The following example deploys
`cert-manager`.

```shell
repo-root
@@ -10,7 +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 job equals
the name of the subfolder.

```yaml
---
@@ -29,8 +31,8 @@ deployment-name:

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`:
When you've added all your releases to the cluster management repository, add
the following to your `.gitlab-ci.yml`:

```yaml
---