Jose Diaz-Gonzalez
7203f0a6d7
refactor: move annotations subcommand to correct location
2024-03-01 17:42:24 -05:00
Jose Diaz-Gonzalez
7a5bd7ee0f
refactor: use a helper function for printing out both labels and annotations
2024-03-01 17:42:24 -05:00
Jose Diaz-Gonzalez
377cfc7f59
refactor: only apply the cluster issuers helm chart when setting properties
...
Otherwise, we're constantly re-installing the same helm chart during deploys, leading to longer deploys.
2024-02-28 17:16:32 -05:00
Jose Diaz-Gonzalez
9ffd5ada71
Merge pull request #6642 from dokku/k3s-ingress-global-annotations
...
Use correct annotations key for the ingress chart
2024-02-28 11:40:47 -05:00
Jose Diaz-Gonzalez
7c376d3e6d
refactor: rename image pull secrets to standardize on secret naming pattern
2024-02-27 18:25:16 -05:00
Jose Diaz-Gonzalez
0c2307095d
fix: use correct annotations key for the ingress chart
2024-02-27 18:24:12 -05:00
Jose Diaz-Gonzalez
f20d08e49e
fix: use correct snippet
2024-02-27 13:49:44 -05:00
Jose Diaz-Gonzalez
b99c25f090
feat: add support for setting underscores-in-headers for nginx, openresty, and k3s
...
Closes #6627
2024-02-27 13:49:44 -05:00
Jose Diaz-Gonzalez
ffdffd235f
chore: bump go modules
2024-02-27 11:11:33 -05:00
Jose Diaz-Gonzalez
a149a83230
Merge pull request #6636 from dokku/dependabot/docker/plugins/logs/timberio/vector-0.36.0-debian
...
chore(deps): bump timberio/vector from 0.36.X-debian to 0.36.0-debian in /plugins/logs
2024-02-27 11:10:51 -05:00
dependabot[bot]
b4ec460e68
chore(deps): bump golang.org/x/crypto in /plugins/common
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.19.0 to 0.20.0.
- [Commits](https://github.com/golang/crypto/compare/v0.19.0...v0.20.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-02-27 13:38:36 +00:00
dependabot[bot]
bc2c780016
chore(deps): bump timberio/vector in /plugins/logs
...
Bumps timberio/vector from 0.36.X-debian to 0.36.0-debian.
---
updated-dependencies:
- dependency-name: timberio/vector
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-26 14:05:52 +00:00
Jose Diaz-Gonzalez
5ae9ad46b4
feat: install keda addon in k3s cluster
2024-02-25 20:34:29 -05:00
Jose Diaz-Gonzalez
b7788ab862
fix: correctly use cache volume for herokuish builds
...
Rather than try to mount a directory into the container and use a symlink, directly mount the volume in.
Note that this requires deleting the task container prior to continuing in order to ensure the volume isn't still mounted prior to other tasks being executed.
2024-02-25 15:52:34 -05:00
Jose Diaz-Gonzalez
63a5fe429f
Merge pull request #6629 from dokku/k3s-image-pull-secrets-short
...
Use smaller reference to image pull secrets in secret naming
2024-02-25 15:48:59 -05:00
Jose Diaz-Gonzalez
ab674072bc
fix: use smaller reference to image pull secrets in secret naming
...
This fixes an issue where the secret name is too long in tests where the generated test app name includes a uuid.
2024-02-25 14:00:28 -05:00
Jose Diaz-Gonzalez
55c85fb6aa
fix: ensure non-web processes do not attempt to perform web logic in k3s templates
2024-02-25 13:58:30 -05:00
Jose Diaz-Gonzalez
ae092a9ef3
Merge pull request #6626 from dokku/copy-source-via-image
...
Copy code into initial base image via docker build
2024-02-25 13:51:20 -05:00
Jose Diaz-Gonzalez
d89202e168
Merge pull request #6623 from dokku/269-unique-ports
...
Do not allow reusing the same scheme:host-port mappings when setting ports
2024-02-25 13:47:13 -05:00
Jose Diaz-Gonzalez
2c47284b31
refactor: copy code into initial base image via docker build
...
The previous method used an ephemeral container, which was slightly more convoluted and required cleanup. The new method also allows us to set an initial WORKDIR, which is useful for ensuring 'docker exec' works as expected.
2024-02-25 12:40:03 -05:00
Jose Diaz-Gonzalez
a2209eeee7
fix: ensure we raise errors when setting ports
2024-02-25 12:13:06 -05:00
Jose Diaz-Gonzalez
6cc46c3ad1
Merge pull request #6619 from dokku/dependabot/docker/plugins/traefik-vhosts/traefik-2.11
...
chore(deps): bump traefik from v2.10 to 2.11 in /plugins/traefik-vhosts
2024-02-25 11:27:00 -05:00
Jose Diaz-Gonzalez
ba3ad4a9ab
fix: do not allow reusing the same scheme:host-port mappings when setting ports
...
This doesn't make sense as a port can't be listened to twice on the same domain, so instead we should just fail immediately if someone attempts to perform this action.
Refs dokku/dokku-letsencrypt#269
2024-02-25 11:11:23 -05:00
Jose Diaz-Gonzalez
b14779f44a
Merge pull request #6622 from dokku/josegonzalez-patch-1
...
chore(deps): bump timberio/vector from 0.35.X-debian to 0.36.X-debian in /plugins/logs
2024-02-25 10:39:52 -05:00
Jose Diaz-Gonzalez
20dbfb6b17
fix: use full patch version
2024-02-25 10:24:40 -05:00
Jose Diaz-Gonzalez
7e69ddda7b
chore(deps): bump timberio/vector from 0.35.X-debian to 0.36.X-debian in /plugins/logs
2024-02-25 02:09:44 -05:00
dependabot[bot]
bf2a8b4893
chore(deps): bump byjg/easy-haproxy in /plugins/haproxy-vhosts
...
Bumps byjg/easy-haproxy from 4.3.0 to 4.4.0.
---
updated-dependencies:
- dependency-name: byjg/easy-haproxy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-25 07:06:30 +00:00
dependabot[bot]
cc45955992
chore(deps): bump traefik from v2.10 to 2.11 in /plugins/traefik-vhosts
...
Bumps traefik from v2.10 to 2.11.
---
updated-dependencies:
- dependency-name: traefik
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-25 07:05:59 +00:00
Jose Diaz-Gonzalez
8f8ed5773f
Merge pull request #6616 from dokku/dockerfile-dependency
...
Ensure referenced images get updated by dependabot
2024-02-25 02:03:25 -05:00
Jose Diaz-Gonzalez
1c0bd39d42
feat: ensure referenced images get updated by dependabot
...
Dokku uses a few external images for various bits of functionality, but these must be manually updated every so often due to being referenced in code.
By moving the references to Dockerfiles, we can take advantage of dependabot to issue automatic PRs when they are out of date.
2024-02-25 00:54:11 -05:00
Jose Diaz-Gonzalez
798b176985
fix: correct issue where --force-tty was not properly supported by run:detached calls
...
Closes #6606
2024-02-25 00:02:06 -05:00
dependabot[bot]
253ebc17f3
chore(deps): bump helm.sh/helm/v3 in /plugins/scheduler-k3s
...
Bumps [helm.sh/helm/v3](https://github.com/helm/helm ) from 3.14.1 to 3.14.2.
- [Release notes](https://github.com/helm/helm/releases )
- [Commits](https://github.com/helm/helm/compare/v3.14.1...v3.14.2 )
---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-22 19:37:40 +00:00
Dokku Bot
27f33b0a19
Release 0.33.7
...
# History
## 0.33.7
Install/update via the bootstrap script:
```shell
wget -NP . https://dokku.com/install/v0.33.7/bootstrap.sh
sudo DOKKU_TAG=v0.33.7 bash bootstrap.sh
```
### Bug Fixes
- #6608 : @josegonzalez Fix issue with setting k3s resource values and lower the initial default values
- #6607 : @josegonzalez Call sed in unbuffered form to ensure log output is streamed to stdout
- #6600 : @josegonzalez Use correct label key for worker nodes
- #6593 : @josegonzalez Remove extra trailing newline to fix govet issue
### New Features
- #6595 : @josegonzalez Add ability for users to specify alternative kubeconfig and kubecontext
### Refactors
- #6594 : @josegonzalez Remove all calls to common.NewShellCmd
- #6592 : @josegonzalez Remove all calls to common.NewShellCmdWithArgs
- #6591 : @josegonzalez Always capture stdout/stderr when executing subprocesses
- #6590 : @josegonzalez Remove all direct usage of go-sh outside of plugin trigger setup
### Dependencies
- #6609 : @dependabot[bot] chore(deps): bump google.golang.org/grpc from 1.61.1 to 1.62.0 in /tests/apps/gogrpc
- #6604 : @dependabot[bot] chore(deps): bump mkdocs-material from 9.5.9 to 9.5.10 in /docs/_build
- #6603 : @dependabot[bot] chore(deps): bump tj-actions/changed-files from 42.0.2 to 42.0.4
- #6601 : @dependabot[bot] chore(deps): bump helm.sh/helm/v3 from 3.13.3 to 3.14.1 in /plugins/scheduler-k3s
- #6596 : @dependabot[bot] chore(deps): bump google.golang.org/grpc from 1.61.0 to 1.61.1 in /tests/apps/gogrpc
2024-02-22 18:14:04 +00:00
Jose Diaz-Gonzalez
8670dbab78
fix: ignore case where k3s isn't installed anymore when stopping services
2024-02-22 07:54:32 -05:00
Jose Diaz-Gonzalez
23fe19faaa
fix: bypass deletion error if k3s is the configured scheduler and it isn't installed
2024-02-22 07:42:15 -05:00
Jose Diaz-Gonzalez
72067fcfd2
feat: add ability for users to specify alternative kubeconfig and kubecontext
...
This will provide the possibility for users to talk to existing kubernetes clusters, thereby removing one of the biggest reasons for having the old scheduler-kubernetes plugin around.
2024-02-22 07:42:15 -05:00
Jose Diaz-Gonzalez
7d85e213be
Merge pull request #6608 from dokku/k3s-resources
...
Fix issue with setting k3s resource values and lower the initial default values
2024-02-22 07:30:10 -05:00
Jose Diaz-Gonzalez
93323bd0ff
feat: add ability to clear out default values
...
Also add some tests
2024-02-22 06:55:02 -05:00
Jose Diaz-Gonzalez
193b1d8103
fix: set lower cpu/memory requests
2024-02-21 18:31:46 -05:00
Jose Diaz-Gonzalez
14eb60160c
fix: avoid setting empty cpu/memory requests
2024-02-21 18:30:48 -05:00
Jose Diaz-Gonzalez
0bd785e04e
feat: add logging to command plugn trigger output when executed with trace mode on
2024-02-21 18:15:37 -05:00
Jose Diaz-Gonzalez
3843ac2de2
fix: do not print command directly and instead use LogWarn to send to stdout
...
If we use the standard logging method from go-execute, any subprocess calls through plugn may capture the wrong output due to handling stdout.
2024-02-21 18:15:11 -05:00
Jose Diaz-Gonzalez
05c48430c5
fix: correct issue where resource values were ignored
2024-02-21 18:13:47 -05:00
Jose Diaz-Gonzalez
a894c03043
fix: call sed in unbuffered form to ensure log output is streamed to stdout
...
The new exec callers somehow setup the environment differently, causing sed to not properly detect that it should run in unbuffered form. This change forces sed to run in unbuffered mode.
Closes #6602
2024-02-21 15:19:45 -05:00
dependabot[bot]
5e03ad1dd0
chore(deps): bump helm.sh/helm/v3 in /plugins/scheduler-k3s
...
Bumps [helm.sh/helm/v3](https://github.com/helm/helm ) from 3.13.3 to 3.14.1.
- [Release notes](https://github.com/helm/helm/releases )
- [Commits](https://github.com/helm/helm/compare/v3.13.3...v3.14.1 )
---
updated-dependencies:
- dependency-name: helm.sh/helm/v3
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-02-15 15:39:56 +00:00
Jose Diaz-Gonzalez
0b145e01f0
fix: use correct label key for worker nodes
2024-02-14 21:52:11 -05:00
Jose Diaz-Gonzalez
2d4c71add6
fix: stream both stdout and stderr
2024-02-14 00:33:20 -05:00
Jose Diaz-Gonzalez
8158f6aea0
fix: ignore case where crontab does not exist for user
2024-02-13 01:23:36 -05:00
Jose Diaz-Gonzalez
44dd933638
refactor: remove all calls to common.NewShellCmd
...
At this point, the only usage of go-sh should be by plugin trigger calls.
2024-02-13 01:09:24 -05:00
Jose Diaz-Gonzalez
fe262a3a3c
chore: remove extra trailing newline
2024-02-12 21:43:45 -05:00