From daffb2c7a7d0bb03d1cbb8db521062d08e2b6693 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles-Edouard=20Br=C3=A9t=C3=A9ch=C3=A9?= Date: Fri, 25 Oct 2024 20:02:41 +0200 Subject: [PATCH] feat: add kyverno-lib chart MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Charles-Edouard Brétéché --- .gitignore | 1 + charts/kyverno-envoy-plugin/Chart.lock | 6 +++++ charts/kyverno-envoy-plugin/Chart.yaml | 4 +++ charts/kyverno-lib/.helmignore | 3 +++ charts/kyverno-lib/Chart.yaml | 26 +++++++++++++++++++ .../templates}/_chart.tpl | 0 .../templates}/_deployment.tpl | 0 .../templates}/_labels.tpl | 0 .../templates}/_names.tpl | 0 9 files changed, 40 insertions(+) create mode 100644 charts/kyverno-envoy-plugin/Chart.lock create mode 100644 charts/kyverno-lib/.helmignore create mode 100644 charts/kyverno-lib/Chart.yaml rename charts/{kyverno-envoy-plugin/templates/_helpers => kyverno-lib/templates}/_chart.tpl (100%) rename charts/{kyverno-envoy-plugin/templates/_helpers => kyverno-lib/templates}/_deployment.tpl (100%) rename charts/{kyverno-envoy-plugin/templates/_helpers => kyverno-lib/templates}/_labels.tpl (100%) rename charts/{kyverno-envoy-plugin/templates/_helpers => kyverno-lib/templates}/_names.tpl (100%) diff --git a/.gitignore b/.gitignore index 02883efb..ee3b1e6f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .tools/ website/site/ /kyverno-envoy-plugin +/charts/*/charts diff --git a/charts/kyverno-envoy-plugin/Chart.lock b/charts/kyverno-envoy-plugin/Chart.lock new file mode 100644 index 00000000..4dbd5aca --- /dev/null +++ b/charts/kyverno-envoy-plugin/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: kyverno-lib + repository: file://../kyverno-lib + version: 0.1.0 +digest: sha256:6d7c461dd41b61e7062e79587c46c54b4a301b58f3e5c34f0ac9626e6ba3d4ce +generated: "2024-10-25T19:52:44.757128+02:00" diff --git a/charts/kyverno-envoy-plugin/Chart.yaml b/charts/kyverno-envoy-plugin/Chart.yaml index ccd0dd1c..f0571894 100644 --- a/charts/kyverno-envoy-plugin/Chart.yaml +++ b/charts/kyverno-envoy-plugin/Chart.yaml @@ -20,3 +20,7 @@ maintainers: - name: Kyverno url: https://kyverno.io/ kubeVersion: ">=1.25.0-0" +dependencies: +- name: kyverno-lib + version: 0.1.0 + repository: file://../kyverno-lib diff --git a/charts/kyverno-lib/.helmignore b/charts/kyverno-lib/.helmignore new file mode 100644 index 00000000..85df807a --- /dev/null +++ b/charts/kyverno-lib/.helmignore @@ -0,0 +1,3 @@ +.helmignore +ci/ +README.md.gotmpl diff --git a/charts/kyverno-lib/Chart.yaml b/charts/kyverno-lib/Chart.yaml new file mode 100644 index 00000000..cdd76d7d --- /dev/null +++ b/charts/kyverno-lib/Chart.yaml @@ -0,0 +1,26 @@ +apiVersion: v2 +name: kyverno-lib +description: Kyverno policies based authorization plugin for Envoy ❤️ +icon: https://github.com/kyverno/kyverno/raw/main/img/logo.png +home: https://kyverno.github.io/kyverno-envoy-plugin + +type: library +version: 0.1.0 +appVersion: latest +kubeVersion: ">=1.25.0-0" + +keywords: + - kubernetes + - kyverno + - authz + - policy + - envoy + - istio + - security + +sources: + - https://github.com/kyverno/kyverno-envoy-plugin + +maintainers: + - name: Kyverno + url: https://kyverno.io/ diff --git a/charts/kyverno-envoy-plugin/templates/_helpers/_chart.tpl b/charts/kyverno-lib/templates/_chart.tpl similarity index 100% rename from charts/kyverno-envoy-plugin/templates/_helpers/_chart.tpl rename to charts/kyverno-lib/templates/_chart.tpl diff --git a/charts/kyverno-envoy-plugin/templates/_helpers/_deployment.tpl b/charts/kyverno-lib/templates/_deployment.tpl similarity index 100% rename from charts/kyverno-envoy-plugin/templates/_helpers/_deployment.tpl rename to charts/kyverno-lib/templates/_deployment.tpl diff --git a/charts/kyverno-envoy-plugin/templates/_helpers/_labels.tpl b/charts/kyverno-lib/templates/_labels.tpl similarity index 100% rename from charts/kyverno-envoy-plugin/templates/_helpers/_labels.tpl rename to charts/kyverno-lib/templates/_labels.tpl diff --git a/charts/kyverno-envoy-plugin/templates/_helpers/_names.tpl b/charts/kyverno-lib/templates/_names.tpl similarity index 100% rename from charts/kyverno-envoy-plugin/templates/_helpers/_names.tpl rename to charts/kyverno-lib/templates/_names.tpl