Commit Graph

3891 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
ec1ba0096f chore: bump go modules 2025-01-07 15:50:55 -05:00
dependabot[bot]
132d28b22a chore(deps): bump golang.org/x/crypto in /plugins/common
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.31.0 to 0.32.0.
- [Commits](https://github.com/golang/crypto/compare/v0.31.0...v0.32.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-07 15:38:24 -05:00
dependabot[bot]
a16b62762d chore(deps): bump traefik from 3.2.3 to 3.3.0 in /plugins/traefik-vhosts
Bumps traefik from 3.2.3 to 3.3.0.

---
updated-dependencies:
- dependency-name: traefik
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-07 13:56:06 +00:00
Jose Diaz-Gonzalez
f637fd145d Merge pull request #7446 from dokku/dependabot/go_modules/plugins/common/github.com/otiai10/copy-1.14.1
chore(deps): bump github.com/otiai10/copy from 1.14.0 to 1.14.1 in /plugins/common
2025-01-07 00:59:30 -05:00
Jose Diaz-Gonzalez
689d2c74d3 chore: bump go modules 2025-01-06 23:55:19 -05:00
dependabot[bot]
0ea4ccd793 chore(deps): bump github.com/otiai10/copy in /plugins/common
Bumps [github.com/otiai10/copy](https://github.com/otiai10/copy) from 1.14.0 to 1.14.1.
- [Release notes](https://github.com/otiai10/copy/releases)
- [Commits](https://github.com/otiai10/copy/compare/v1.14.0...v1.14.1)

---
updated-dependencies:
- dependency-name: github.com/otiai10/copy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-06 13:37:11 +00:00
Jose Diaz-Gonzalez
869f9a0346 feat: allow specifying a custom app label alias when shipping logs via vector
Closes #7354
2025-01-03 23:38:20 -05:00
Álvaro Justen
46dd32aa01 Add missing checks:set to checks help 2024-12-30 03:43:37 -03:00
Jose Diaz-Gonzalez
e5c531edeb Merge pull request #7433 from dokku/dependabot/go_modules/plugins/scheduler-k3s/k8s.io/kubernetes-1.29.7
chore(deps): bump k8s.io/kubernetes from 1.29.1 to 1.29.7 in /plugins/scheduler-k3s
2024-12-28 05:00:13 -05:00
Jose Diaz-Gonzalez
0399650bc9 chore: update go modules 2024-12-28 03:54:07 -05:00
dependabot[bot]
4697c902fd chore(deps): bump github.com/onsi/gomega in /plugins/common
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.36.1 to 1.36.2.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.36.1...v1.36.2)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-28 03:48:24 -05:00
dependabot[bot]
d717f5db4f chore(deps): bump k8s.io/kubernetes in /plugins/scheduler-k3s
Bumps [k8s.io/kubernetes](https://github.com/kubernetes/kubernetes) from 1.29.1 to 1.29.7.
- [Release notes](https://github.com/kubernetes/kubernetes/releases)
- [Commits](https://github.com/kubernetes/kubernetes/compare/v1.29.1...v1.29.7)

---
updated-dependencies:
- dependency-name: k8s.io/kubernetes
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-28 08:46:04 +00:00
Jose Diaz-Gonzalez
ccf693d517 Merge pull request #7422 from Tashows/fix_detached_tty
Fix detached tty for k3s
2024-12-19 00:46:49 -05:00
Jose Diaz-Gonzalez
41810fe9b7 Merge pull request #7419 from dokku/7362-mailfrom
Add the ability to set a MAILFROM value for local cron emails
2024-12-18 20:54:11 -05:00
Tasos Maschalidis
63182e80e0 Use common.ToBool to check DOKKU_FORCE_TTY 2024-12-17 19:43:16 +02:00
Tasos Maschalidis
f786c8c0bc Fix k3s run:detached not returning pod name in a similar fashion to docker-local (as described in docs) 2024-12-17 19:11:01 +02:00
Tasos Maschalidis
838beb4db3 Take DOKKU_FORCE_TTY setting into account for run commands with k3s-scheduler 2024-12-17 19:11:01 +02:00
dependabot[bot]
35f4ba710c chore(deps): bump traefik from 3.2.2 to 3.2.3 in /plugins/traefik-vhosts
Bumps traefik from 3.2.2 to 3.2.3.

---
updated-dependencies:
- dependency-name: traefik
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-17 13:30:06 +00:00
Jose Diaz-Gonzalez
b93a47c35b feat: add the ability to set a MAILFROM value for local cron emails
Closes #7419
2024-12-17 00:28:21 -05:00
Jose Diaz-Gonzalez
3f49c70176 fix: use correct variableg 2024-12-16 23:32:53 -05:00
Jose Diaz-Gonzalez
78cd787622 refactor: avoid shelling out to run tar 2024-12-16 23:32:53 -05:00
Jose Diaz-Gonzalez
bde2f2e43d refactor: write contents to stdout before writing to a file
Rather than writing directly to the file - thus utilizing whatever user docker is being executed as - we copy the file to stdout and then write it to the temp file. This ensures permissions on the file are as expected from Dokku's end.

Closes #7336
2024-12-16 23:32:53 -05:00
Jose Diaz-Gonzalez
becba49c87 refactor: always use golang version of CopyFromImage 2024-12-16 01:47:00 -05:00
Dokku Bot
240573d5ff Release 0.35.13
# History

## 0.35.13

Install/update via the bootstrap script:

```shell
wget -NP . https://dokku.com/install/v0.35.13/bootstrap.sh
sudo DOKKU_TAG=v0.35.13 bash bootstrap.sh
```

### Bug Fixes

- #7410: @josegonzalez Only raise nil responses for k8s list calls as errors
- #7403: @Tashows Properly resolve imagePullSecrets from app and deploymentID if relevant property does not exist
- #7404: @josegonzalez Correctly handle scale to zero with the Keda http addon
- #7400: @Tashows Check if tty is actually used and support proper output when it's not

### Documentation

- #7395: @josegonzalez Add documentation for all file formats dokku uses
- #7399: @nonZero Add -w 0 to base64 call in config:set docs for safe usage in ssh commands

### Tests

- #7380: @josegonzalez Run unit tests outside of docker by default

### Dependencies

- #7409: @dependabot[bot] chore(deps): bump golang.org/x/crypto from 0.30.0 to 0.31.0 in /plugins/docker-options
- #7405: @dependabot[bot] chore(deps): bump timberio/vector from 0.42.0-debian to 0.43.1-debian in /plugins/logs
- #7407: @dependabot[bot] chore(deps): bump traefik from 3.2.1 to 3.2.2 in /plugins/traefik-vhosts
- #7402: @dependabot[bot] chore(deps): bump github.com/onsi/gomega from 1.36.0 to 1.36.1 in /plugins/common
- #7390: @dependabot[bot] chore(deps): bump golang.org/x/crypto from 0.29.0 to 0.30.0 in /plugins/common
- #7397: @dependabot[bot] chore(deps): bump tj-actions/changed-files from 45.0.4 to 45.0.5
- #7398: @dependabot[bot] chore(deps): bump mkdocs-material from 9.5.47 to 9.5.48 in /docs/_build
- #7394: @dependabot[bot] chore(deps): bump django from 5.0.9 to 5.0.10 in /tests/apps/dockerfile-release
- #7385: @dependabot[bot] chore(deps): bump golang from 1.23.3 to 1.23.4 in /tests/apps/go-fail-predeploy
- #7386: @dependabot[bot] chore(deps): bump golang from 1.23.3 to 1.23.4 in /tests/apps/zombies-dockerfile-tini
- #7387: @dependabot[bot] chore(deps): bump google.golang.org/grpc from 1.68.0 to 1.68.1 in /tests/apps/gogrpc
- #7388: @dependabot[bot] chore(deps): bump python from 3.13.0-alpine to 3.13.1-alpine in /docs/_build
- #7389: @dependabot[bot] chore(deps): bump six from 1.16.0 to 1.17.0 in /docs/_build
- #7392: @dependabot[bot] chore(deps): bump golang.org/x/sync from 0.9.0 to 0.10.0 in /plugins/scheduler-docker-local
- #7393: @dependabot[bot] chore(deps): bump python from 3.13.0-bookworm to 3.13.1-bookworm in /tests/apps/dockerfile-release
- #7384: @dependabot[bot] chore(deps): bump golang from 1.23.3 to 1.23.4 in /tests/apps/gogrpc
- #7383: @dependabot[bot] chore(deps): bump golang from 1.23.3 to 1.23.4 in /tests/apps/zombies-dockerfile-no-tini
- #7382: @dependabot[bot] chore(deps): bump golang from 1.23.3 to 1.23.4 in /tests/apps/go-fail-postdeploy
2024-12-12 06:32:55 +00:00
Jose Diaz-Gonzalez
c18695ea3b Merge pull request #7410 from dokku/fix-not-found 2024-12-12 01:06:28 -05:00
Jose Diaz-Gonzalez
ebbc29b357 Merge pull request #7409 from dokku/dependabot/go_modules/plugins/docker-options/golang.org/x/crypto-0.31.0
chore(deps): bump golang.org/x/crypto from 0.30.0 to 0.31.0 in /plugins/docker-options
2024-12-11 22:57:23 -05:00
Jose Diaz-Gonzalez
233e588c3b fix: only raise nil responses for k8s list calls as errors
Empty items should just be treated as such.
2024-12-11 22:56:53 -05:00
Jose Diaz-Gonzalez
83ad01c37b chore: update go modules 2024-12-11 21:56:36 -05:00
Jose Diaz-Gonzalez
3f25b7e247 Merge pull request #7405 from dokku/dependabot/docker/plugins/logs/timberio/vector-0.43.1-debian
chore(deps): bump timberio/vector from 0.42.0-debian to 0.43.1-debian in /plugins/logs
2024-12-11 21:41:00 -05:00
dependabot[bot]
ca3f5a5ebf chore(deps): bump golang.org/x/crypto in /plugins/docker-options
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.30.0 to 0.31.0.
- [Commits](https://github.com/golang/crypto/compare/v0.30.0...v0.31.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-12 00:45:02 +00:00
Jose Diaz-Gonzalez
5fcbd5bbde Merge pull request #7403 from Tashows/fix-ims-k3s-run
Properly resolve imagePullSecrets from app and deploymentID if relevant property does not exist
2024-12-11 11:39:26 -05:00
Jose Diaz-Gonzalez
ed0ba7072f refactor: check to see if a deployment-specific image pull secret exists before utilizing it. 2024-12-11 09:23:44 -05:00
dependabot[bot]
e5047bb27f chore(deps): bump traefik from 3.2.1 to 3.2.2 in /plugins/traefik-vhosts
Bumps traefik from 3.2.1 to 3.2.2.

---
updated-dependencies:
- dependency-name: traefik
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-11 14:05:34 +00:00
Jose Diaz-Gonzalez
f0df778b81 Merge pull request #7402 from dokku/dependabot/go_modules/plugins/common/github.com/onsi/gomega-1.36.1
chore(deps): bump github.com/onsi/gomega from 1.36.0 to 1.36.1 in /plugins/common
2024-12-11 09:03:49 -05:00
dependabot[bot]
1cc50efb9d chore(deps): bump timberio/vector in /plugins/logs
Bumps timberio/vector from 0.42.0-debian to 0.43.1-debian.

---
updated-dependencies:
- dependency-name: timberio/vector
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-11 13:57:09 +00:00
Jose Diaz-Gonzalez
8bbbd12d3d Merge pull request #7404 from dokku/k3s-http-scale-to-zero
Correctly handle scale to zero with the Keda http addon
2024-12-11 08:51:02 -05:00
Jose Diaz-Gonzalez
eff339a165 fix: correctly handle scale to zero with the Keda http addon
There is a bug in the Keda project that caused Keda to incorrectly handle empty trigger lists. If self-managing the ScaledObject when using an HTTPScaledObject, an external-push trigger must be created.

This change additionally updates the chart to fix any potential bugs in usage of keda.
2024-12-10 21:47:55 -05:00
Jose Diaz-Gonzalez
2de443b4fb chore: update go modules 2024-12-10 09:41:01 -05:00
dependabot[bot]
31abb99698 chore(deps): bump github.com/onsi/gomega in /plugins/common
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.36.0 to 1.36.1.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.36.0...v1.36.1)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-10 09:39:49 -05:00
Tasos Maschalidis
1739d5ec16 Check if tty is actually used and support proper output when it's not 2024-12-10 14:31:36 +02:00
Tasos Maschalidis
aa51c37774 Properly resolve imagePullSecrets from app and deploymentID if relevant property does not exist 2024-12-10 14:29:38 +02:00
Jose Diaz-Gonzalez
28c1f63871 chore: update go modules 2024-12-09 09:32:49 -05:00
dependabot[bot]
ba11994396 chore(deps): bump golang.org/x/crypto in /plugins/common
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.29.0 to 0.30.0.
- [Commits](https://github.com/golang/crypto/compare/v0.29.0...v0.30.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-09 09:32:23 -05:00
dependabot[bot]
99a9fadcab chore(deps): bump golang.org/x/sync in /plugins/scheduler-docker-local
Bumps [golang.org/x/sync](https://github.com/golang/sync) from 0.9.0 to 0.10.0.
- [Commits](https://github.com/golang/sync/compare/v0.9.0...v0.10.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-05 13:53:40 +00:00
Jose Diaz-Gonzalez
f20a6a2563 tests: run unit tests outside of docker by default
This allows execution of unit tests within the devcontainer environment, which already has the correct golang.
2024-12-03 21:45:41 -05:00
Dokku Bot
2321f016d9 Release 0.35.12
# History

## 0.35.12

Install/update via the bootstrap script:

```shell
wget -NP . https://dokku.com/install/v0.35.12/bootstrap.sh
sudo DOKKU_TAG=v0.35.12 bash bootstrap.sh
```

### Bug Fixes

- #7361: @josegonzalez Allow autoscaling config to have zero min replicas

### New Features

- #7379: @josegonzalez Provide ability to customize chart values via `scheduler-k3s:set`

### Documentation

- #7365: @binchengqu Correct some documentation types

### Dependencies

- #7378: @josegonzalez Update go modules
- #7376: @dependabot[bot] chore(deps): bump mkdocs-material from 9.5.46 to 9.5.47 in /docs/_build
- #7370: @dependabot[bot] chore(deps): bump github.com/onsi/gomega from 1.35.1 to 1.36.0 in /plugins/common
- #7377: @dependabot[bot] chore(deps): bump github.com/traefik/traefik/v2 from 2.11.9 to 2.11.14 in /plugins/scheduler-k3s
- #7369: @dependabot[bot] chore(deps): bump github.com/onsi/gomega from 1.35.1 to 1.36.0 in /plugins/config
- #7371: @dependabot[bot] chore(deps): bump mkdocs-material from 9.5.45 to 9.5.46 in /docs/_build
- #7366: @dependabot[bot] chore(deps): bump traefik from 3.2.0 to 3.2.1 in /plugins/traefik-vhosts
- #7364: @dependabot[bot] chore(deps): bump github.com/cert-manager/cert-manager from 1.13.3 to 1.15.4 in /plugins/scheduler-k3s
- #7363: @dependabot[bot] chore(deps): bump mkdocs-material from 9.5.44 to 9.5.45 in /docs/_build
- #7360: @dependabot[bot] chore(deps): bump flask from 3.0.3 to 3.1.0 in /tests/apps/python-flask
- #7358: @dependabot[bot] chore(deps): bump google.golang.org/protobuf from 1.35.1 to 1.35.2 in /tests/apps/gogrpc
- #7359: @dependabot[bot] chore(deps): bump flask from 3.0.3 to 3.1.0 in /tests/apps/multi
2024-12-03 07:47:54 +00:00
Jose Diaz-Gonzalez
8d08687706 feat: provide ability to customize chart values via scheduler-k3s:set
Dokku ships with default charts and customizes their helm values. In certain cases, it may be useful to further customize those values to better support specific installations. With this change, it is now possible to set custom values by providing the key in the format `chart.$CHART_NAME.$PROPERTY`. For instance, to increase timeouts for the keda http addon:

```shell
dokku scheduler-k3s:set --global chart.keda-add-ons-http.interceptor.tcpConnectTimeout 120s
dokku scheduler-k3s:set --global chart.keda-add-ons-http.interceptor.keepAlive 120s
dokku scheduler-k3s:set --global chart.keda-add-ons-http.interceptor.responseHeaderTimeout 120s
dokku scheduler-k3s:set --global chart.keda-add-ons-http.interceptor.idleConnTimeout 120s
dokku scheduler-k3s:set --global chart.keda-add-ons-http.interceptor.tlsHandshakeTimeout 120s
dokku scheduler-k3s:set --global chart.keda-add-ons-http.interceptor.expectContinueTimeout 120s
```

To reset a value to its default, simply set the value to an empty string.

```shell
dokku scheduler-k3s:set --global chart.keda-add-ons-http.interceptor.tcpConnectTimeout
```

Once the values are set, users will need to then run `scheduler-k3s:ensure-charts` with either the `--force` flag or specify the `--chart` flag with a list of charts to force apply.

```shell
dokku scheduler-k3s:ensure-charts --force

dokku scheduler-k3s:ensure-charts --chart keda-add-ons-http
```

Note that the existing dokku-provided values cannot be removed, but can be overridden.
2024-12-03 02:07:36 -05:00
Jose Diaz-Gonzalez
f685b5cedc chore: update go modules 2024-12-03 00:54:04 -05:00
Jose Diaz-Gonzalez
1a7ddd1797 Merge pull request #7370 from dokku/dependabot/go_modules/plugins/common/github.com/onsi/gomega-1.36.0
chore(deps): bump github.com/onsi/gomega from 1.35.1 to 1.36.0 in /plugins/common
2024-12-03 00:46:00 -05:00
dependabot[bot]
9979ee2eab chore(deps): bump github.com/traefik/traefik/v2
Bumps [github.com/traefik/traefik/v2](https://github.com/traefik/traefik) from 2.11.9 to 2.11.14.
- [Release notes](https://github.com/traefik/traefik/releases)
- [Changelog](https://github.com/traefik/traefik/blob/master/CHANGELOG.md)
- [Commits](https://github.com/traefik/traefik/compare/v2.11.9...v2.11.14)

---
updated-dependencies:
- dependency-name: github.com/traefik/traefik/v2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-02 17:14:53 +00:00