Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(container): update ghcr.io/mchestr/gotenberg docker tag to v8.12.0 #3780

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

mchesterbot[bot]
Copy link
Contributor

@mchesterbot mchesterbot bot commented Oct 11, 2024

This PR contains the following updates:

Package Update Change
ghcr.io/mchestr/gotenberg minor 8.11.1 -> 8.12.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

gotenberg/gotenberg (ghcr.io/mchestr/gotenberg)

v8.12.0: 8.12.0

Compare Source

New Features

Bind IP

The new flag --api-bind-ip allows to set the IP address the API should bind to for incoming connections, instead of the default 0.0.0.0.

For instance: --api-bind-ip=127.0.0.1.

Thanks @​dani for the suggestion!

Scope Extra HTTP Headers (Chromium)

You can add an optional scope token to a header value to restrict its application using a regular expression.

For instance:

curl \
--request POST http://localhost:3000/forms/chromium/convert/url \
--form url=https://my.url \
--form-string 'extraHttpHeaders={"X-Scoped-Header":"value;scope=https?:\\/\\/([a-zA-Z0-9-]+\\.)*domain\\.com\\/.*"}' \
-o my.pdf

This new scope token is only processed by Gotenberg and is never sent with the header value.

Thanks @​forg002-ctrl and @​OsoianMarcel for the help!

pdfcpu CLI

In earlier versions of Gotenberg, we used the pdfcpu Golang library directly. However, there wasn't a clean way to terminate the process in case of a timeout, which could lead to resource leaks. We now rely on the pdfcpu CLI, allowing us to effectively handle timeouts, resulting in a more stable PDF engine.

Chore

Updates Go dependencies.


You may now sponsor this open-source project. Thanks ❤️


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@mchesterbot mchesterbot bot requested a review from mchestr as a code owner October 11, 2024 14:24
@mchesterbot mchesterbot bot added renovate/container type/minor area/kubernetes Changes made in the kubernetes directory labels Oct 11, 2024
@mchesterbot
Copy link
Contributor Author

mchesterbot bot commented Oct 11, 2024

--- kubernetes/apps/default/paperless/app Kustomization: flux-system/cluster-apps-paperless HelmRelease: default/paperless

+++ kubernetes/apps/default/paperless/app Kustomization: flux-system/cluster-apps-paperless HelmRelease: default/paperless

@@ -34,13 +34,13 @@

         containers:
           app:
             env:
               DISABLE_GOOGLE_CHROME: '1'
             image:
               repository: ghcr.io/mchestr/gotenberg
-              tag: 8.11.1
+              tag: 8.12.0
             securityContext:
               allowPrivilegeEscalation: false
               capabilities:
                 drop:
                 - ALL
               fsGroup: 65539

@mchesterbot
Copy link
Contributor Author

mchesterbot bot commented Oct 11, 2024

--- HelmRelease: default/paperless Deployment: default/paperless-gotenburg

+++ HelmRelease: default/paperless Deployment: default/paperless-gotenburg

@@ -33,13 +33,13 @@

       hostPID: false
       dnsPolicy: ClusterFirst
       containers:
       - env:
         - name: DISABLE_GOOGLE_CHROME
           value: '1'
-        image: ghcr.io/mchestr/gotenberg:8.11.1
+        image: ghcr.io/mchestr/gotenberg:8.12.0
         name: app
         securityContext:
           allowPrivilegeEscalation: false
           capabilities:
             drop:
             - ALL

@mchestr mchestr merged commit 8f90c91 into main Oct 16, 2024
5 checks passed
@mchesterbot mchesterbot bot deleted the renovate/ghcr.io-mchestr-gotenberg-8.x branch October 16, 2024 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubernetes Changes made in the kubernetes directory renovate/container type/minor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant