From eb57956b5531115f6784533a347741c3dcb0761a Mon Sep 17 00:00:00 2001 From: Xstar97TheNoob <9399967+xstar97@users.noreply.github.com> Date: Sun, 17 Nov 2024 13:12:02 -0500 Subject: [PATCH] feat(stirling-pdf) add stirling-pdf (#29166) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** add stirling-pdf to incubator ⚒️ Fixes # **⚙️ Type of change** - [X] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code **🧪 How Has This Been Tested?** **📃 Notes:** **✔️ Checklist:** - [X] ⚖️ My code follows the style guidelines of this project - [X] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made corresponding changes to the documentation - [ ] ⚠️ My changes generate no new warnings - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [X] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):` or `chore(chart-name):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [X] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --- charts/incubator/stirling-pdf/.helmignore | 32 +++++++++++ charts/incubator/stirling-pdf/CHANGELOG.md | 4 ++ charts/incubator/stirling-pdf/Chart.yaml | 36 ++++++++++++ charts/incubator/stirling-pdf/README.md | 3 + charts/incubator/stirling-pdf/icon.webp | Bin 0 -> 6880 bytes .../stirling-pdf/templates/NOTES.txt | 1 + .../stirling-pdf/templates/common.yaml | 1 + charts/incubator/stirling-pdf/values.yaml | 53 ++++++++++++++++++ 8 files changed, 130 insertions(+) create mode 100644 charts/incubator/stirling-pdf/.helmignore create mode 100644 charts/incubator/stirling-pdf/CHANGELOG.md create mode 100644 charts/incubator/stirling-pdf/Chart.yaml create mode 100644 charts/incubator/stirling-pdf/README.md create mode 100644 charts/incubator/stirling-pdf/icon.webp create mode 100644 charts/incubator/stirling-pdf/templates/NOTES.txt create mode 100644 charts/incubator/stirling-pdf/templates/common.yaml create mode 100644 charts/incubator/stirling-pdf/values.yaml diff --git a/charts/incubator/stirling-pdf/.helmignore b/charts/incubator/stirling-pdf/.helmignore new file mode 100644 index 00000000000..feb7464da6f --- /dev/null +++ b/charts/incubator/stirling-pdf/.helmignore @@ -0,0 +1,32 @@ +# 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 +*~ +# Various IDEs +.project +.idea/ +*.tmproj +.vscode/ +# OWNERS file for Kubernetes +OWNERS +# helm-docs templates +*.gotmpl +# docs folder +/docs +# icon +icon.png +icon.webp +icon-small.webp diff --git a/charts/incubator/stirling-pdf/CHANGELOG.md b/charts/incubator/stirling-pdf/CHANGELOG.md new file mode 100644 index 00000000000..f3e8318aa10 --- /dev/null +++ b/charts/incubator/stirling-pdf/CHANGELOG.md @@ -0,0 +1,4 @@ +--- +title: Changelog +pagefind: false +--- diff --git a/charts/incubator/stirling-pdf/Chart.yaml b/charts/incubator/stirling-pdf/Chart.yaml new file mode 100644 index 00000000000..5abec8c44b7 --- /dev/null +++ b/charts/incubator/stirling-pdf/Chart.yaml @@ -0,0 +1,36 @@ +annotations: + max_scale_version: 24.04.1 + min_scale_version: 24.04.0 + truecharts.org/category: media + truecharts.org/max_helm_version: "3.15" + truecharts.org/min_helm_version: "3.11" + truecharts.org/train: incubator +apiVersion: v2 +appVersion: 0.32.0 +dependencies: + - name: common + version: 25.1.5 + repository: oci://tccr.io/truecharts + condition: "" + alias: "" + tags: [] + import-values: [] +deprecated: false +description: A robust, locally hosted web-based PDF manipulation tool. +home: https://truecharts.org/charts/incubator/stirling-pdf +icon: https://truecharts.org/img/hotlink-ok/chart-icons/stirling-pdf.webp +keywords: + - stirling-pdf + - pdf +kubeVersion: '>=1.24.0-0' +maintainers: + - name: TrueCharts + email: info@truecharts.org + url: https://truecharts.org +name: stirling-pdf +sources: + - https://github.com/Stirling-Tools/Stirling-PDF + - https://ghcr.io/stirling-tools/s-pdf + - https://github.com/truecharts/charts/tree/master/charts/incubator/stirling-pdf +type: application +version: 0.0.1 diff --git a/charts/incubator/stirling-pdf/README.md b/charts/incubator/stirling-pdf/README.md new file mode 100644 index 00000000000..2b8cc49d247 --- /dev/null +++ b/charts/incubator/stirling-pdf/README.md @@ -0,0 +1,3 @@ +--- +title: README +--- diff --git a/charts/incubator/stirling-pdf/icon.webp b/charts/incubator/stirling-pdf/icon.webp new file mode 100644 index 0000000000000000000000000000000000000000..61db19a1f3d2780bc60db7830643d83b88a92968 GIT binary patch literal 6880 zcmV<68Xx6SNk&H48UO%SMM6+kP&iD?8UO$<|G|F{#|Jr*Bt=qW4=hQsN}c}Sdop!( zg&MFUNph@I&+I+{Sb_g0VZi%E!-*}(Z6rC8B74M2GuEc_-+=q+yY8xxqix%_hA!^-x|@Be%MFaU3FA5Xxo5J$g=u_T|`egpg`9J%P&xB~(Zgj7Nbh>$dp0s?RscxZS8Lr4Tf z!~oycN&mZPTE;ToJQi-ceinK%Y&~o>#MB<= zQDE{V$?uSVflq|ZkX@3*NEWtiu_U8P#|Yc4V`6RVyZgLe0a^9;>(~2J+ZRV4H$U6& z*d6=BSA_V{-|eW@1H?LOhA4Pe3y3 z@tC>2E{g=cxk|Rls%`;=qR&{pu`kjy5+O}1@QC0BhK7BRI4JedMp^Fj5X1bm~HPaKD zX-D**ksC=)ybhEqhq@!mbG$Cm3 zQ^SK5Z6cN0q=<)`ky>A;Hl2pw6z*_Ss#dh+^p}Nd+w#V~q*jw;EhE$6MrnG>f>e%t zXmx1y>B`D*mqN4Tck4u@5tg2b$cE|RCb22W&Gu%nKd0@Gi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X;`)h#L$>T z%Ne!K5cB6*XfSv@3{AvNNA@lgiDN}ogTd*RHy9EfhAJ>L7^2SD aQlmrWLem%tbDeJl7&;S1WuOluB`y|T% literal 0 HcmV?d00001 diff --git a/charts/incubator/stirling-pdf/templates/NOTES.txt b/charts/incubator/stirling-pdf/templates/NOTES.txt new file mode 100644 index 00000000000..efcb74cb772 --- /dev/null +++ b/charts/incubator/stirling-pdf/templates/NOTES.txt @@ -0,0 +1 @@ +{{- include "tc.v1.common.lib.chart.notes" $ -}} diff --git a/charts/incubator/stirling-pdf/templates/common.yaml b/charts/incubator/stirling-pdf/templates/common.yaml new file mode 100644 index 00000000000..b51394e00a4 --- /dev/null +++ b/charts/incubator/stirling-pdf/templates/common.yaml @@ -0,0 +1 @@ +{{ include "tc.v1.common.loader.all" . }} diff --git a/charts/incubator/stirling-pdf/values.yaml b/charts/incubator/stirling-pdf/values.yaml new file mode 100644 index 00000000000..6bdb33c45b0 --- /dev/null +++ b/charts/incubator/stirling-pdf/values.yaml @@ -0,0 +1,53 @@ +image: + repository: ghcr.io/stirling-tools/s-pdf + pullPolicy: IfNotPresent + tag: 0.32.0-ultra-lite@sha256:cb87d90b8d2e9e4c8db5ae02fa78fe288cd5eed5e4b19569404147d1ba35f367 +fatImage: + repository: ghcr.io/stirling-tools/s-pdf + pullPolicy: IfNotPresent + tag: 0.32.0-fat@sha256:2049cee8a6001342c702881ed3766651988f3ac381d809b42d3397ea5765e328 +fullImage: + repository: ghcr.io/stirling-tools/s-pdf + pullPolicy: IfNotPresent + tag: 0.32.0@sha256:c5e8df69f2839009a0bae8fa47968a510ee5f78c471f9439f3661c222a64fd81 +service: + main: + ports: + main: + protocol: http + targetPort: 8080 + port: 18080 +workload: + main: + podSpec: + containers: + main: + # checkout the difference between the images. + # https://github.com/Stirling-Tools/Stirling-PDF/blob/main/Version-groups.md + imageSelector: image + env: + # enable to add login support + DOCKER_ENABLE_SECURITY: false + # uncomment to set the intial auth + # default auth below + # SECURITY_INITIALLOGIN_USERNAME: admin + # SECURITY_INITIALLOGIN_PASSWORD: stirling + # Download Calibre onto Stirling-PDF to enable PDF to/from book and advanced HTML conversion + INSTALL_BOOK_AND_ADVANCED_HTML_OPS: false + LANGS: en_US +persistence: + configs: + enabled: true + mountPath: "/configs" + tessdata: + enabled: true + mountPath: "/usr/share/tessdata" + custom-files: + enabled: true + mountPath: "/customFiles" + logs: + enabled: true + mountPath: "/logs" +portal: + open: + enabled: true