martinohmann / home-ops

Wife approved HomeOps driven by Kubernetes and GitOps using Flux
MIT License
5 stars 0 forks source link

feat(container)!: Update ghcr.io/tarampampam/error-pages ( 2.27.0 β†’ 3.2.0 ) #1077

Closed renovate[bot] closed 19 hours ago

renovate[bot] commented 3 days ago

Mend Renovate

This PR contains the following updates:

Package Update Change
ghcr.io/tarampampam/error-pages major 2.27.0 -> 3.2.0

Release Notes

tarampampam/error-pages (ghcr.io/tarampampam/error-pages) ### [`v3.2.0`](https://togithub.com/tarampampam/error-pages/releases/tag/v3.2.0) [Compare Source](https://togithub.com/tarampampam/error-pages/compare/v3.1.0...v3.2.0) #### What's Changed ##### πŸš€ Features - Added support for the environment variable `ADD_TEMPLATE` (replacing the `--add-template` flag) ([https://github.com/tarampampam/error-pages/pull/295](https://togithub.com/tarampampam/error-pages/pull/295)) - Set the log format to `json` by default in the Docker image ([https://github.com/tarampampam/error-pages/pull/295](https://togithub.com/tarampampam/error-pages/pull/295)) **Full Changelog**: https://github.com/tarampampam/error-pages/compare/v3.1.0...v3.2.0 ### [`v3.1.0`](https://togithub.com/tarampampam/error-pages/releases/tag/v3.1.0) [Compare Source](https://togithub.com/tarampampam/error-pages/compare/v3.0.1...v3.1.0) #### What's Changed ##### πŸš€ Features - Added HTML/CSS/JS minification on the fly in [https://github.com/tarampampam/error-pages/pull/293](https://togithub.com/tarampampam/error-pages/pull/293) (the HTML output size was reduced by ~25%, with performance decreasing by ~4% - from 196k RPS to 188k) Before | After \---|--- ![image](https://togithub.com/tarampampam/error-pages/assets/7326800/c2e2bc2b-ebe9-4ef1-975a-28feda607a78) | ![image](https://togithub.com/tarampampam/error-pages/assets/7326800/b17d52dd-cabb-48aa-a56d-3c2110768ae9) **Full Changelog**: https://github.com/tarampampam/error-pages/compare/v3.0.1...v3.1.0 ### [`v3.0.1`](https://togithub.com/tarampampam/error-pages/releases/tag/v3.0.1) [Compare Source](https://togithub.com/tarampampam/error-pages/compare/v3.0.0...v3.0.1) #### What's Changed ##### πŸ›  Fixes - Forgot to include the SSL certificates in the Docker image in [https://github.com/tarampampam/error-pages/pull/292](https://togithub.com/tarampampam/error-pages/pull/292) **Full Changelog**: https://github.com/tarampampam/error-pages/compare/v3.0.0...v3.0.1 ### [`v3.0.0`](https://togithub.com/tarampampam/error-pages/releases/tag/v3.0.0) [Compare Source](https://togithub.com/tarampampam/error-pages/compare/v2.27.0...v3.0.0) #### What's Changed > \[!WARNING] > This is a major update! Please read the notes below and a [readme](https://togithub.com/tarampampam/error-pages#readme) file to identify what changes you need to make to your current charts for the upgrade. ##### πŸš€ Added - You can override the default XML, JSON, or PlainText response formats using the flags `--xml-format`, `--json-format`, or `--plaintext-format` respectively (or their environment variables) - Support for any HTTP request method to get the error page (previously limited to the `GET` method only) - The CLI flag `--send-same-http-code` to respond with the same HTTP code as the requested error page code - The CLI flag `--disable-template` to disable certain templates (useful when using automatic template rotation to exclude some from the available templates list) - Ability to define custom HTTP codes using placeholders like `4**`. Refer to the documentation for more information about `--add-http-code` ##### πŸ›  Changed - Users can provide custom templates (themes) using the flag `--add-template` - Templates are now built into the binary file - To change the template automatically, use the new flag `--rotation-mode` instead of the previous "magic" template names like `i-said-random` or `random-hourly` - Error pages can now be accessed using the following URLs: `/{code}`, `/{code}.html`, and `/{code}.htm` - The default content type is now PlainText. This means that when you curl an error page, you will receive more readable content without tons of HTML tags - Merged the `l7-dark` and `l7-light` templates (themes) into a single `l7` theme - Templates no longer download resources from external sources; everything is now embedded, including the localization script, which is now inlined into the page. Custom fonts have also been removed - The default value for `--proxy-headers` is now `X-Request-Id,X-Trace-Id,X-Amzn-Trace-Id` - CLI flags and environment variables are now well documented, and the readme file automatically syncs with them - The default logs level is `warn` for Docker image (due to performance reasons), set it to `info` to get the access logs, if you need ##### πŸͺ¦ Removed - Configuration file is no longer needed or used. Everything is now managed using CLI flags and environment variables (the `--config-file` flag was removed) - The `matrix` template (theme) - The `/metrics` endpoint - The `--default-http-code` flag (+ env variable `DEFAULT_HTTP_CODE`) - The `--catch-all` flag (+env variable `CATCH_ALL`) **Full Changelog**: https://github.com/tarampampam/error-pages/compare/v2.27.0...v3.0.0

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.



This PR has been generated by Mend Renovate. View repository job log here.

github-actions[bot] commented 3 days ago

kustomization changes in kubernetes/main

--- kubernetes/main/apps/networking/nginx/external Kustomization: flux-system/nginx-external HelmRelease: networking/nginx-external

+++ kubernetes/main/apps/networking/nginx/external Kustomization: flux-system/nginx-external HelmRelease: networking/nginx-external

@@ -100,16 +100,16 @@

       extraEnvs:
       - name: DISABLE_L10N
         value: 'true'
       - name: SHOW_DETAILS
         value: 'false'
       - name: TEMPLATE_NAME
-        value: l7-light
+        value: l7
       image:
         repository: ghcr.io/tarampampam/error-pages
-        tag: 2.27.0
+        tag: 3.2.0
       name: default-backend
       replicaCount: 1
       resources:
         limits:
           memory: 30Mi
         requests:
--- kubernetes/main/apps/networking/nginx/internal Kustomization: flux-system/nginx-internal HelmRelease: networking/nginx-internal

+++ kubernetes/main/apps/networking/nginx/internal Kustomization: flux-system/nginx-internal HelmRelease: networking/nginx-internal

@@ -97,16 +97,16 @@

       extraEnvs:
       - name: DISABLE_L10N
         value: 'true'
       - name: SHOW_DETAILS
         value: 'true'
       - name: TEMPLATE_NAME
-        value: l7-light
+        value: l7
       image:
         repository: ghcr.io/tarampampam/error-pages
-        tag: 2.27.0
+        tag: 3.2.0
       name: default-backend
       replicaCount: 1
       resources:
         limits:
           memory: 30Mi
         requests:
github-actions[bot] commented 3 days ago

helmrelease changes in kubernetes/main

--- HelmRelease: networking/nginx-internal Deployment: networking/nginx-internal-default-backend

+++ HelmRelease: networking/nginx-internal Deployment: networking/nginx-internal-default-backend

@@ -27,13 +27,13 @@

         app.kubernetes.io/part-of: ingress-nginx
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/component: default-backend
     spec:
       containers:
       - name: ingress-nginx-default-backend
-        image: ghcr.io/tarampampam/error-pages:2.27.0
+        image: ghcr.io/tarampampam/error-pages:3.2.0
         imagePullPolicy: IfNotPresent
         securityContext:
           runAsNonRoot: true
           runAsUser: 65534
           allowPrivilegeEscalation: false
           seccompProfile:
@@ -45,13 +45,13 @@

         env:
         - name: DISABLE_L10N
           value: 'true'
         - name: SHOW_DETAILS
           value: 'true'
         - name: TEMPLATE_NAME
-          value: l7-light
+          value: l7
         livenessProbe:
           httpGet:
             path: /healthz
             port: 8080
             scheme: HTTP
           initialDelaySeconds: 30
--- HelmRelease: networking/nginx-external Deployment: networking/nginx-external-default-backend

+++ HelmRelease: networking/nginx-external Deployment: networking/nginx-external-default-backend

@@ -27,13 +27,13 @@

         app.kubernetes.io/part-of: ingress-nginx
         app.kubernetes.io/managed-by: Helm
         app.kubernetes.io/component: default-backend
     spec:
       containers:
       - name: ingress-nginx-default-backend
-        image: ghcr.io/tarampampam/error-pages:2.27.0
+        image: ghcr.io/tarampampam/error-pages:3.2.0
         imagePullPolicy: IfNotPresent
         securityContext:
           runAsNonRoot: true
           runAsUser: 65534
           allowPrivilegeEscalation: false
           seccompProfile:
@@ -45,13 +45,13 @@

         env:
         - name: DISABLE_L10N
           value: 'true'
         - name: SHOW_DETAILS
           value: 'false'
         - name: TEMPLATE_NAME
-          value: l7-light
+          value: l7
         livenessProbe:
           httpGet:
             path: /healthz
             port: 8080
             scheme: HTTP
           initialDelaySeconds: 30