From 65b90453dc2d755fcbb4b069ec4045006f38e03b Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Sat, 18 Jan 2025 11:59:15 +0100 Subject: [PATCH] Add the helm chart --- helm/.helmignore | 23 ++ helm/Chart.lock | 6 + helm/Chart.yaml | 15 ++ helm/charts/helm-library-0.2.1.tgz | Bin 0 -> 7763 bytes helm/charts/helm-library/.helmignore | 23 ++ helm/charts/helm-library/Chart.lock | 6 + helm/charts/helm-library/Chart.yaml | 12 + helm/charts/helm-library/templates/_chart.tpl | 57 +++++ .../charts/helm-library/templates/_errors.tpl | 15 ++ .../templates/components/_crd.tpl | 17 ++ .../templates/components/_environment.tpl | 46 ++++ .../components/_extra_templates.yaml | 16 ++ .../templates/components/_files.tpl | 64 ++++++ .../templates/components/_ingress.tpl | 33 +++ .../templates/components/_service.tpl | 42 ++++ .../templates/components/_storage.tpl | 35 +++ .../templates/components/_workloads.yaml | 65 ++++++ .../templates/core/_configmap.yaml | 18 ++ .../templates/core/_deployment.yaml | 78 +++++++ .../helm-library/templates/core/_ingress.tpl | 20 ++ .../helm-library/templates/core/_pod.tpl | 117 ++++++++++ .../helm-library/templates/core/_pvc.tpl | 21 ++ .../helm-library/templates/core/_secret.yaml | 16 ++ .../helm-library/templates/core/_service.tpl | 21 ++ .../templates/core/pod/_container.tpl | 214 ++++++++++++++++++ .../helm-library/templates/helpers/_chart.tpl | 31 +++ .../templates/helpers/_converter.tpl | 11 + .../helm-library/templates/helpers/_hash.tpl | 31 +++ .../templates/helpers/_lookup.tpl | 32 +++ .../templates/metadata/_metadata.tpl | 46 ++++ helm/charts/helm-library/values.yaml | 5 + helm/templates/install.yaml | 6 + helm/values.yaml | 63 ++++++ 33 files changed, 1205 insertions(+) create mode 100644 helm/.helmignore create mode 100644 helm/Chart.lock create mode 100644 helm/Chart.yaml create mode 100644 helm/charts/helm-library-0.2.1.tgz create mode 100644 helm/charts/helm-library/.helmignore create mode 100644 helm/charts/helm-library/Chart.lock create mode 100644 helm/charts/helm-library/Chart.yaml create mode 100644 helm/charts/helm-library/templates/_chart.tpl create mode 100644 helm/charts/helm-library/templates/_errors.tpl create mode 100644 helm/charts/helm-library/templates/components/_crd.tpl create mode 100644 helm/charts/helm-library/templates/components/_environment.tpl create mode 100644 helm/charts/helm-library/templates/components/_extra_templates.yaml create mode 100644 helm/charts/helm-library/templates/components/_files.tpl create mode 100644 helm/charts/helm-library/templates/components/_ingress.tpl create mode 100644 helm/charts/helm-library/templates/components/_service.tpl create mode 100644 helm/charts/helm-library/templates/components/_storage.tpl create mode 100644 helm/charts/helm-library/templates/components/_workloads.yaml create mode 100644 helm/charts/helm-library/templates/core/_configmap.yaml create mode 100644 helm/charts/helm-library/templates/core/_deployment.yaml create mode 100644 helm/charts/helm-library/templates/core/_ingress.tpl create mode 100644 helm/charts/helm-library/templates/core/_pod.tpl create mode 100644 helm/charts/helm-library/templates/core/_pvc.tpl create mode 100644 helm/charts/helm-library/templates/core/_secret.yaml create mode 100644 helm/charts/helm-library/templates/core/_service.tpl create mode 100644 helm/charts/helm-library/templates/core/pod/_container.tpl create mode 100644 helm/charts/helm-library/templates/helpers/_chart.tpl create mode 100644 helm/charts/helm-library/templates/helpers/_converter.tpl create mode 100644 helm/charts/helm-library/templates/helpers/_hash.tpl create mode 100644 helm/charts/helm-library/templates/helpers/_lookup.tpl create mode 100644 helm/charts/helm-library/templates/metadata/_metadata.tpl create mode 100644 helm/charts/helm-library/values.yaml create mode 100644 helm/templates/install.yaml create mode 100644 helm/values.yaml diff --git a/helm/.helmignore b/helm/.helmignore new file mode 100644 index 0000000..0e8a0eb --- /dev/null +++ b/helm/.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/helm/Chart.lock b/helm/Chart.lock new file mode 100644 index 0000000..c4551e7 --- /dev/null +++ b/helm/Chart.lock @@ -0,0 +1,6 @@ +dependencies: +- name: helm-library + repository: oci://ghcr.io/allanger/allangers-helm-library + version: 0.2.1 +digest: sha256:1a2c38771fede69ddcb6fa6da8927780f1dc36e1f0f92233d747e943cd76dedb +generated: "2025-01-13T14:09:55.344423+01:00" diff --git a/helm/Chart.yaml b/helm/Chart.yaml new file mode 100644 index 0000000..19b2118 --- /dev/null +++ b/helm/Chart.yaml @@ -0,0 +1,15 @@ +apiVersion: v2 +name: xray-docs +type: application +version: 0.1.0 +appVersion: 0.1.0 +maintainers: + - name: allanger + email: allanger@zohomail.com + url: https://badhouseplants.net +dependencies: + - name: helm-library + version: 0.2.1 + repository: oci://ghcr.io/allanger/allangers-helm-library +annotations: + allowed_workload_kinds: "Deployment" diff --git a/helm/charts/helm-library-0.2.1.tgz b/helm/charts/helm-library-0.2.1.tgz new file mode 100644 index 0000000000000000000000000000000000000000..6dd144c51fb9ca44066301baba66ea28be4ce5d5 GIT binary patch literal 7763 zcmV-Z9<1RXiwG0|00000|0w_~VMtOiV@ORlOnEsqVl!4SWK%V1T2nbTPgYhoO;>Dc zVQyr3R8em|NM&qo0PKD1k{h?Nu>bBnMSs+)yxfSx%ie5Oxhnc3Cr5E?t1QK-Q#mOG zoB_$n4hLfZLy3`ep8XUWzzpU_a(B7hwN3nxmII&xG|=b^8jU%P7ri)|aKcyp7jwd; zzaoqHi(RI{U@*8mKga(EgF*HG!TH(67sK9+VZB+;ND@i1cex_VREE&Ucy?TuNR&ttC6r?+x*$Lc%%A1WjX-NZ}_`dH@Mo(4vf|f4WQFldF`D z?GU}CMa94$`9traCua|-f&OC_T<^4vP4s_uc3z|Zi{XL(_mM)H(j=rw5K$y6O(LAU z_W(FenTRCgt1--_OvSk0pU{xZ{8=RD*~E`nAJ>m2|Go#16VS*X_yaGDW>m;Ah&dTu zT#kpMVEEO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