From ca905ceffeb4a60639087ba6ed5114a908a636a5 Mon Sep 17 00:00:00 2001 From: Cyril Jouve Date: Thu, 18 May 2023 00:32:23 +0200 Subject: [PATCH] [raw] add raw --- README.md | 9 +++++---- charts/raw/.helmignore | 23 +++++++++++++++++++++++ charts/raw/Chart.lock | 6 ++++++ charts/raw/Chart.yaml | 9 +++++++++ charts/raw/README.md | 20 ++++++++++++++++++++ charts/raw/templates/extra-list.yaml | 4 ++++ charts/raw/values.yaml | 6 ++++++ 7 files changed, 73 insertions(+), 4 deletions(-) create mode 100644 charts/raw/.helmignore create mode 100644 charts/raw/Chart.lock create mode 100644 charts/raw/Chart.yaml create mode 100644 charts/raw/README.md create mode 100644 charts/raw/templates/extra-list.yaml create mode 100644 charts/raw/values.yaml diff --git a/README.md b/README.md index 4f24ed0..9a31677 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,8 @@ helm repo add jouve https://jouve.github.io/charts/ # charts -| chart | description | -| ------------------------------------ | ------------------------------------------------------------------------------------------------------------ | -| [jouve/mailpit](charts/mailpit) | Deploy [mailpit](https://github.com/axllent/mailpit): An email and SMTP testing tool with API for developers | -| [jouve/postgresql](charts/postgresql) | Deploy postgresql using [cloudnative-pg](https://cloudnative-pg.io/) operator | +| chart | description | +| ------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------- | +| [jouve/mailpit](charts/mailpit) | Deploy [mailpit](https://github.com/axllent/mailpit): An email and SMTP testing tool with API for developers | +| [jouve/postgresql](charts/postgresql) | Deploy postgresql using [cloudnative-pg](https://cloudnative-pg.io/) operator | +| [jouve/raw](charts/raw) | Deploy a list of Kubernetes resources as a release with [bitnami/common](https://github.com/bitnami/charts/tree/main/bitnami/common) as a dependency.| diff --git a/charts/raw/.helmignore b/charts/raw/.helmignore new file mode 100644 index 0000000..0e8a0eb --- /dev/null +++ b/charts/raw/.helmignore @@ -0,0 +1,23 @@ +# Patterns to ignore when building packages. +# This supports shell glob matching, relative path matching, and +# negation (prefixed with !). Only one pattern per line. +.DS_Store +# Common VCS dirs +.git/ +.gitignore +.bzr/ +.bzrignore +.hg/ +.hgignore +.svn/ +# Common backup files +*.swp +*.bak +*.tmp +*.orig +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ diff --git a/charts/raw/Chart.lock b/charts/raw/Chart.lock new file mode 100644 index 0000000..408f0d0 --- /dev/null +++ b/charts/raw/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: common + repository: oci://registry-1.docker.io/bitnamicharts + version: 2.3.0 +digest: sha256:11bbe86be64062d37b725f4dbc909aba3585b4976624ee9d27522366d3f956ea +generated: "2023-05-13T00:19:33.301099989+02:00" diff --git a/charts/raw/Chart.yaml b/charts/raw/Chart.yaml new file mode 100644 index 0000000..8deeea0 --- /dev/null +++ b/charts/raw/Chart.yaml @@ -0,0 +1,9 @@ +apiVersion: v2 +name: raw +version: 0.1.0 +dependencies: +- name: common + repository: oci://registry-1.docker.io/bitnamicharts + tags: + - bitnami-common + version: 2.x.x diff --git a/charts/raw/README.md b/charts/raw/README.md new file mode 100644 index 0000000..25fc730 --- /dev/null +++ b/charts/raw/README.md @@ -0,0 +1,20 @@ +# raw + +Deploy a list of Kubernetes resources as a release. + +It is inspired by the `extraDeploy` of [bitnami charts](https://github.com/bitnami/charts/) +and includes [bitnami/common](https://github.com/bitnami/charts/tree/main/bitnami/common) as a dependency. + +## usage + +```console +helm repo add jouve https://jouve.github.io/charts/ +``` + +## Parameters + +### Common parameters + +| Name | Description | Value | +| ------------- | ------------------------------------------------- | ----- | +| `extraDeploy` | Array of extra objects to deploy with the release | `[]` | diff --git a/charts/raw/templates/extra-list.yaml b/charts/raw/templates/extra-list.yaml new file mode 100644 index 0000000..9ac65f9 --- /dev/null +++ b/charts/raw/templates/extra-list.yaml @@ -0,0 +1,4 @@ +{{- range .Values.extraDeploy }} +--- +{{ include "common.tplvalues.render" (dict "value" . "context" $) }} +{{- end }} diff --git a/charts/raw/values.yaml b/charts/raw/values.yaml new file mode 100644 index 0000000..760841f --- /dev/null +++ b/charts/raw/values.yaml @@ -0,0 +1,6 @@ +## @section Common parameters +## + +## @param extraDeploy Array of extra objects to deploy with the release +## +extraDeploy: []