Skip to content

Commit

Permalink
enable official thumbor image and config for 7.3.0 (#46)
Browse files Browse the repository at this point in the history
* enable official thumbor image and config for 7.3.0

* yamllint trailing spaces

* dont test for outdated clusters

* enhance docs
  • Loading branch information
Kurt108 authored Dec 10, 2022
1 parent f6428da commit 9270dd5
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 20 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,6 @@ jobs:
strategy:
matrix:
k8s:
- v1.18.20
- v1.19.16
- v1.20.15
- v1.21.12
- v1.22.9
- v1.23.6
Expand Down
6 changes: 3 additions & 3 deletions charts/thumbor/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
apiVersion: v1
name: thumbor
icon: https://camo.githubusercontent.com/8add159463b5ef31481d1e0cc9fb590cd662fe62/68747470733a2f2f73332e65752d776573742d322e616d617a6f6e6177732e636f6d2f6d696e696d616c2d636f6d706163742f696d616765732f6d632d7468756d626f722e706e67
version: 1.1.31
appVersion: "6.7.5"
version: 2.0.0
appVersion: "7.3.0"
description: A chart containing Thumbor
home: http://thumbor.org/
sources:
- https://github.com/MinimalCompact/thumbor
- https://github.com/thumbor/thumbor
maintainers:
- name: kurt108
deprecated: false
7 changes: 4 additions & 3 deletions charts/thumbor/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# thumbor

A chart containing Thumbor
1.1.31
2.0.0
[![Artifact HUB](https://img.shields.io/endpoint?url=https://artifacthub.io/badge/repository/kurt108)](https://artifacthub.io/packages/search?repo=kurt108)

Based on the fanastic work from Cloudposse: https://charts.cloudposse.com/incubator/
Expand Down Expand Up @@ -44,10 +44,11 @@ NAME: my-release
| env.open.CORS_ALLOW_ORIGIN | string | `"*"` | |
| env.open.HEALTHCHECK_ROUTE | string | `"/healthcheck"` | |
| env.open.LOG_LEVEL | string | `"error"` | |
| env.open.THUMBOR_LOG_CONFIG | string | `"None"` | Can be JSON or None |
| env.open.THUMBOR_PORT | string | `"80"` | |
| image.pullPolicy | string | `"IfNotPresent"` | |
| image.repository | string | `"registry.hub.docker.com/minimalcompact/thumbor"` | |
| image.tag | string | `"6.7.5"` | |
| image.repository | string | `"registry.hub.docker.com/thumbororg/thumbor"` | |
| image.tag | string | `"7.3-py-3.10"` | |
| ingress.annotations."nginx.ingress.kubernetes.io/rewrite-target" | string | `"/$2"` | |
| ingress.hosts[0] | string | `"thumbor.domain"` | |
| ingress.path | string | `"/scale(/|$)(.*)"` | |
Expand Down
19 changes: 8 additions & 11 deletions charts/thumbor/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,15 @@ env:
AUTO_WEBP: "True"
CORS_ALLOW_ORIGIN: "*"
HEALTHCHECK_ROUTE: "/healthcheck"
# -- Can be JSON or None
THUMBOR_LOG_CONFIG: "None"
# -- Speed Up Browsing-Experience for Clients. Storage need to support this
SEND_IF_MODIFIED_LAST_MODIFIED_HEADERS: "True"

# Some Configs should be set via config-file and not as environment variable
# It is possible overide string configs through environment variables. All other Variables need to be set via the Config file
conf:
allowedSources: "'http://domain_or_wildcard', 'comma_seperated'"
respectOrientation: "False"
resultStorage: "'thumbor.result_storages.file_storage'"
allowUnsafeUrl: "True"
resultStorageExpirationSeconds: "86400"
maxAge: "259200"
maxAgeTempImage: "60"
storageExpirationSeconds: "86400"
detectors: ""


ingress:
hosts:
Expand All @@ -35,8 +32,8 @@ ingress:
nginx.ingress.kubernetes.io/rewrite-target: /$2

image:
repository: registry.hub.docker.com/minimalcompact/thumbor
tag: 6.7.5
repository: registry.hub.docker.com/thumbororg/thumbor
tag: 7.3-py-3.10
pullPolicy: IfNotPresent

service:
Expand Down

0 comments on commit 9270dd5

Please sign in to comment.