Commit Graph
100 Commits
Author SHA1 Message Date
Jose Diaz-Gonzalez d7ff8552d1 fix: index the process map to ensure the correct config is pulled
Without this change, certain generated process names - like those for a cron job - may be incorrectly handled when indexing the process map.
2024-02-06 04:41:14 -05:00
Jose Diaz-Gonzalez 4abd1f6b24 Merge pull request #6558 from dokku/write-to-file
Use type-specific functions for writing contents to a file
2024-02-06 02:44:14 -05:00
Jose Diaz-Gonzalez 5e1089973e refactor: use type-specific functions for writing contents to a file 2024-02-06 01:39:44 -05:00
Jose Diaz-Gonzalez 666f953715 Merge pull request #6557 from dokku/nginx-go-properties
Consolidate property fetching for nginx plugin into golang codebase
2024-02-06 01:15:15 -05:00
Jose Diaz-Gonzalez d4b445985b refactor: consolidate property fetching for nginx plugin into golang codebase
Also update the documentation to include docs for all properties.
2024-02-06 00:42:48 -05:00
Jose Diaz-Gonzalez 6625846ecc Merge pull request #6555 from dokku/service-account
Add support for app-specific service accounts when deploying via k3s
2024-02-05 17:18:20 -05:00
Jose Diaz-Gonzalez 1689ddd6d3 Merge pull request #6556 from dokku/k3s-namespace
Respect the release namespace when creating resources for a k3s deploy
2024-02-05 16:51:15 -05:00
Jose Diaz-Gonzalez fe8b7ec451 Merge pull request #6551 from dokku/dependabot/pip/tests/apps/multi/flask-3.0.2
chore(deps): bump flask from 3.0.1 to 3.0.2 in /tests/apps/multi
2024-02-05 16:50:44 -05:00
Jose Diaz-Gonzalez 31a73e4dab Merge pull request #6552 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.5.7
chore(deps): bump mkdocs-material from 9.5.6 to 9.5.7 in /docs/_build
2024-02-05 16:50:30 -05:00
Jose Diaz-Gonzalez 238535be0c fix: respect the release namespace when creating resources for a k3s deploy 2024-02-05 16:50:00 -05:00
Jose Diaz-Gonzalez d02c04c2a5 feat: add support for app-specific service accounts when deploying via k3s
Service accounts must still be bound to a role, but this ensures apps do not get access to the default service account.
2024-02-05 16:47:57 -05:00
Jose Diaz-Gonzalez ff319428bf Merge pull request #6553 from dokku/dependabot/pip/docs/_build/markupsafe-2.1.5
chore(deps): bump markupsafe from 2.1.4 to 2.1.5 in /docs/_build
2024-02-05 16:32:51 -05:00
Jose Diaz-Gonzalez 41f5283b1a Merge pull request #6550 from dokku/dependabot/pip/tests/apps/python-flask/flask-3.0.2
chore(deps): bump flask from 3.0.1 to 3.0.2 in /tests/apps/python-flask
2024-02-05 16:32:25 -05:00
Jose Diaz-Gonzalez 5b922a93c7 Merge pull request #6548 from dokku/dependabot/maven/tests/apps/java/org.eclipse.jetty-jetty-servlet-11.0.20
chore(deps): bump org.eclipse.jetty:jetty-servlet from 11.0.19 to 11.0.20 in /tests/apps/java
2024-02-05 15:26:24 -05:00
Jose Diaz-Gonzalez 2703101068 Merge pull request #6554 from dokku/fix-test-runs
Fix issue where CI cannot install docker-buildx-plugin
2024-02-05 15:26:13 -05:00
Jose Diaz-Gonzalez 28532a56a9 tests: fix issue where CI cannot install docker-buildx-plugin 2024-02-05 14:59:20 -05:00
Jose Diaz-Gonzalez 3d99ea63bd Merge pull request #6536 from dokku/vector-via-compose
Manage vector container via compose
2024-01-30 10:23:45 -05:00
Jose Diaz-Gonzalez 60d9a3ca34 Merge pull request #6546 from dokku/kubens-kubectx
Install kubectx and kubens helper binaries when setting up a k3s cluster
2024-01-30 08:02:28 -05:00
Jose Diaz-Gonzalez 06429a384e feat: install kubectx and kubens 2024-01-30 08:01:42 -05:00
Jose Diaz-Gonzalez a277c5da1b refactor: allow setting more options when changing permissions on a file
Rather than hardcoding paths, just allow them to be options.
2024-01-30 07:31:02 -05:00
Jose Diaz-Gonzalez 6622de5998 Merge pull request #6545 from dokku/docs-cleanup
Migrate markdown doc rewriting into mkdocs hooks
2024-01-30 06:55:15 -05:00
Jose Diaz-Gonzalez 0c83356542 refactor: move docs rewrite into mkdocs hooks
This will ensure `mkdocs build` does not rewrite content, making contribution easier.
2024-01-30 06:53:14 -05:00
Jose Diaz-Gonzalez b333334e72 chore: use new github-style admonition 2024-01-30 06:50:24 -05:00
Jose Diaz-Gonzalez f287f32682 docs: allow hooks file to be added to docker builds 2024-01-29 13:20:02 -05:00
Jose Diaz-Gonzalez 0de2f3401c Merge pull request #6543 from dokku/shortcodes
Add support for badge shortcodes in documentation
2024-01-29 12:51:51 -05:00
Jose Diaz-Gonzalez 08d817d4a1 Merge pull request #6542 from dokku/6541-cron-template
Drop -- when calling dokku run for cron-tab templating
2024-01-29 12:51:42 -05:00
Jose Diaz-Gonzalez cf0623407c docs: add support for badge shortcodes in documentation
This will allow us to add little icons to various parts of the docs to denote when something is for a particular scheduler only.
2024-01-29 12:43:38 -05:00
Jose Diaz-Gonzalez 8ffb693105 fix: drop -- when calling dokku run for cron-tab templating
Closes #6541
2024-01-29 12:26:38 -05:00
Jose Diaz-Gonzalez 61f1a23238 Merge pull request #6540 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.5.6
chore(deps): bump mkdocs-material from 9.5.5 to 9.5.6 in /docs/_build
2024-01-29 09:18:55 -05:00
Jose Diaz-Gonzalez 8ee12eaf5c Merge pull request #6538 from dokku/dependabot/github_actions/tj-actions/changed-files-42.0.2
chore(deps): bump tj-actions/changed-files from 42.0.1 to 42.0.2
2024-01-29 07:16:44 -05:00
Jose Diaz-Gonzalez ee2e5c426d Merge pull request #6537 from dokku/chart-icon
Add the dokku logo as the chart icon
2024-01-26 06:56:27 -05:00
Jose Diaz-Gonzalez 029e1f5f48 feat: add the dokku logo as the chart icon 2024-01-26 06:55:46 -05:00
Jose Diaz-Gonzalez c49322bd34 feat: manage vector container via compose
Using compose instead of manual docker calls allows folks to customize the vector container by using a custom compose.yml template file. This opens us up to more customizations while aligning container management with how we do other external containers (such as for the proxy plugins).

Refs #5784
2024-01-26 06:46:18 -05:00
Jose Diaz-Gonzalez 3dc917253b Merge pull request #6527 from dokku/upgrade-vector
Upgrade vector image to 0.35.x
2024-01-26 05:21:48 -05:00
Jose Diaz-Gonzalez ed152ccd83 feat: upgrade vector image to 0.35.x
This is backwards compatible for Dokku's usage, so should be fine to ship.
2024-01-26 04:24:04 -05:00
Jose Diaz-Gonzalez 584be40776 Merge pull request #6535 from dokku/fix-vector-start
Properly fetch default vector image if none is passed
2024-01-26 04:23:18 -05:00
Jose Diaz-Gonzalez a4a90e3c76 fix: properly fetch default vector image if none is passed 2024-01-26 04:14:28 -05:00
Jose Diaz-Gonzalez 21a59d7f96 Merge pull request #6534 from dokku/ingress-class-setting
Allow specifying an ingress class via chart value
2024-01-26 03:29:18 -05:00
Jose Diaz-Gonzalez f5182aa553 feat: allow specifying an ingress class via chart value
While Dokku currently only supports traefik, providing this setting will allow swapping out the ingress to another fairly easily.
2024-01-26 03:23:34 -05:00
Jose Diaz-Gonzalez 928d35ee77 Merge pull request #6533 from dokku/process-specific-traefik-middleware
Ensure all k3s traefik middleware resources are scoped to the process
2024-01-26 01:41:09 -05:00
Jose Diaz-Gonzalez d031f569fc Merge pull request #6532 from dokku/fix-tests
Correct issues in tests for vector image log property
2024-01-26 01:39:23 -05:00
Jose Diaz-Gonzalez 5b8e8b91e3 fix: ensure all k3s traefik middleware resources are scoped to the process
While we currently only create the middleware for the web process, scoping it by process will allow us to expand this in the future.
2024-01-26 01:38:29 -05:00
Jose Diaz-Gonzalez e2c6cf2527 Merge pull request #6528 from dokku/dependabot/github_actions/tj-actions/changed-files-42.0.1
chore(deps): bump tj-actions/changed-files from 42.0.0 to 42.0.1
2024-01-26 01:11:31 -05:00
Jose Diaz-Gonzalez d90135fce6 Merge pull request #6529 from dokku/dependabot/go_modules/tests/apps/gogrpc/google.golang.org/protobuf-1.32.0
chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.32.0 in /tests/apps/gogrpc
2024-01-26 01:11:24 -05:00
Jose Diaz-Gonzalez baad9ec79d fix: correct issues in tests for vector image log property 2024-01-26 01:10:41 -05:00
Jose Diaz-Gonzalez 27703e23cf Merge pull request #6530 from dokku/josegonzalez-patch-1
Fix indentation on letsencrypt sections for k3s scheduler docs
2024-01-25 12:46:55 -05:00
Jose Diaz-Gonzalez af1b2ba450 docs: fix indentation on letsencrypt sections for k3s scheduler docs 2024-01-25 12:46:31 -05:00
Jose Diaz-Gonzalez 6843b2ae06 Merge pull request #6526 from dokku/6440-vector-image
Allow setting the vector image as a global property
2024-01-25 04:27:49 -05:00
Jose Diaz-Gonzalez aa05a95243 feat: allow setting the vector image as a global property 2024-01-25 04:26:57 -05:00
Jose Diaz-Gonzalez c496f8abd6 Merge pull request #6524 from dokku/6490-dos2unix-copy
Ensure all copied files always have line endings converted to unix-style
2024-01-25 00:37:01 -05:00
Jose Diaz-Gonzalez b6425ab431 fix: ensure all copied files always have line endings converted to unix-style
Closes #6490
2024-01-24 23:54:10 -05:00
Jose Diaz-Gonzalez ea95d71e56 Merge pull request #6523 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.5.5
chore(deps): bump mkdocs-material from 9.5.4 to 9.5.5 in /docs/_build
2024-01-24 21:40:21 -05:00
Jose Diaz-Gonzalez b1334c7406 Merge pull request #6522 from dokku/dependabot/go_modules/tests/apps/gogrpc/google.golang.org/grpc-1.61.0
chore(deps): bump google.golang.org/grpc from 1.60.1 to 1.61.0 in /tests/apps/gogrpc
2024-01-24 21:40:02 -05:00
Jose Diaz-Gonzalez 2be6a1724b Merge pull request #6521 from dokku/standalone-traefik-install
Install traefik via helm chart directly to avoid issues where traefik silently fails installation
2024-01-24 05:02:28 -05:00
Jose Diaz-Gonzalez ea55db2747 refactor: install traefik via helm chart directly to avoid issues where traefik silently fails installation 2024-01-24 03:58:39 -05:00
Jose Diaz-Gonzalez e164f8393a Merge pull request #6520 from dokku/healthcheck-fixes
Guard against missing healthcheck config
2024-01-24 02:40:18 -05:00
Jose Diaz-Gonzalez 1d99e0bc6e fix: guard against missing healthcheck config
Also add support for liveness and readiness probes.
2024-01-24 02:39:39 -05:00
Jose Diaz-Gonzalez a64e9514ee Merge pull request #6519 from dokku/fix-cluster-issuers-name
Use correct name for cluster-issuers helm chart
2024-01-24 02:33:01 -05:00
Jose Diaz-Gonzalez 578afc0ef7 fix: use correct name for cluster-issuers 2024-01-24 02:19:21 -05:00
Jose Diaz-Gonzalez a644908fbf fix: add missing help output 2024-01-23 12:52:08 -05:00
Jose Diaz-Gonzalez b56495b367 docs: clarify that a rebuild is required 2024-01-23 11:47:50 -05:00
Jose Diaz-Gonzalez 4f26913e44 Merge pull request #6517 from dokku/josegonzalez-patch-1
Remove k3s tutorial from documentation
2024-01-23 11:38:47 -05:00
Jose Diaz-Gonzalez bbf9febe30 docs: remove k3s tutorial from documentation
This belongs in the tutorial section
2024-01-23 11:38:33 -05:00
Jose Diaz-Gonzalez 54a12c9c89 Merge pull request #6516 from dokku/josegonzalez-patch-1
Note that the external kubernetes plugin is deprecated
2024-01-23 11:12:09 -05:00
Jose Diaz-Gonzalez 2cd8e1e61e Note that the external kubernetes plugin is deprecated
This was never in the core and thus doesn't need to be called out.
2024-01-23 11:11:35 -05:00
Jose Diaz-Gonzalez ca33c437d3 Merge pull request #6515 from dokku/josegonzalez-patch-1
Replace the kubernetes plugin with k3s in the documentation
2024-01-23 11:09:15 -05:00
Jose Diaz-Gonzalez ef63b28804 chore: replace the kubernetes plugin with k3s 2024-01-23 11:08:56 -05:00
Jose Diaz-Gonzalez 5958179d86 Merge pull request #6514 from dokku/josegonzalez-patch-1
docs: add notes on k3s replacement of the scheduler-kubernetes plugin
2024-01-23 11:08:37 -05:00
Jose Diaz-Gonzalez 67ef6f98ab docs: add notes on k3s replacement of the scheduler-kubernetes plugin 2024-01-23 11:07:46 -05:00
Jose Diaz-Gonzalez 7025968b74 Merge pull request #6513 from dokku/dependabot/go_modules/plugins/scheduler-k3s/github.com/containerd/containerd-1.7.11
chore(deps): bump github.com/containerd/containerd from 1.7.6 to 1.7.11 in /plugins/scheduler-k3s
2024-01-23 10:46:49 -05:00
Jose Diaz-Gonzalez 5d8fdb31db Merge pull request #6512 from dokku/update-go-gomega
Update github.com/gonsi/gomega golang dependencies
2024-01-23 10:43:49 -05:00
Jose Diaz-Gonzalez 552d08ea88 chore: update gonsi/gomega golang dependencies 2024-01-23 10:43:18 -05:00
Jose Diaz-Gonzalez 790f087800 Merge pull request #6478 from dokku/dependabot/docker/tests/apps/zombies-dockerfile-tini/golang-1.21.6
chore(deps): bump golang from 1.21.5 to 1.21.6 in /tests/apps/zombies-dockerfile-tini
2024-01-23 10:41:03 -05:00
Jose Diaz-Gonzalez dda8aed1e2 Merge pull request #6482 from dokku/dependabot/pip/docs/_build/mkdocs-material-9.5.4
chore(deps): bump mkdocs-material from 9.5.3 to 9.5.4 in /docs/_build
2024-01-23 10:40:38 -05:00
Jose Diaz-Gonzalez 0f3538f158 Merge pull request #6494 from dokku/dependabot/pip/docs/_build/markupsafe-2.1.4
chore(deps): bump markupsafe from 2.1.3 to 2.1.4 in /docs/_build
2024-01-23 10:40:31 -05:00
Jose Diaz-Gonzalez 82835e03a2 Merge pull request #6511 from dokku/update-go-crypto
Update crypto and sys golang dependencies
2024-01-23 10:40:09 -05:00
Jose Diaz-Gonzalez 569105d479 chore: update crypto and sys golang dependencies 2024-01-23 10:39:39 -05:00
Jose Diaz-Gonzalez 68d61fba0b fix: set correct version on plugin 2024-01-23 10:38:01 -05:00
Jose Diaz-Gonzalez dc1d9fe92f Merge pull request #6470 from dokku/0.33-release
Release 0.33.0
2024-01-23 10:33:59 -05:00
Jose Diaz-Gonzalez c53e7330b5 Merge pull request #6435 from dokku/k3s-support
Implement native k3s scheduler support
2024-01-23 10:31:07 -05:00
Jose Diaz-Gonzalez ee23dac2f3 fix: respect the namespace 2024-01-23 10:16:40 -05:00
Jose Diaz-Gonzalez 6707e5f1eb feat: add redirect to https when both an http and https port mapping match 2024-01-23 09:45:20 -05:00
Jose Diaz-Gonzalez 56ee889295 chore: note that the cluster-issuer is managed by dokku 2024-01-23 09:32:52 -05:00
Jose Diaz-Gonzalez c1b3c73096 chore: drop unnecessary key 2024-01-23 09:32:41 -05:00
Jose Diaz-Gonzalez 1f35575a2a fix: use the container port as the target to fix an issue where kubernetes will remove duplicate containerPort entries with different names 2024-01-23 08:59:44 -05:00
Jose Diaz-Gonzalez d8fcabdf40 fix: always route to http instead of https
Otherwise, we're assuming the app pod is going to handle https requests and not the ingress
2024-01-23 08:10:16 -05:00
Jose Diaz-Gonzalez 7b2484962b fix: set tls field on ingress-route 2024-01-23 07:59:14 -05:00
Jose Diaz-Gonzalez 1d07801f3c fix: set ttl property at correct level for cronjobs 2024-01-23 07:25:51 -05:00
Jose Diaz-Gonzalez cf7d35601d fix: delete the temporary helm chart on disk 2024-01-23 07:25:42 -05:00
Jose Diaz-Gonzalez 99f20a962e refactor: rename helm chart to app name 2024-01-23 07:25:28 -05:00
Jose Diaz-Gonzalez 25925c0ae2 chore: remove logging from inside helm client 2024-01-23 07:25:18 -05:00
Jose Diaz-Gonzalez 4a7db5ce24 feat: apply the cluster issuers on every app deploy
This ensures we can always get certificates regardless of what app gets deployed with whatever configuration.
2024-01-23 07:25:03 -05:00
Jose Diaz-Gonzalez c8f5ad9029 fix: correct issues in certificate generation 2024-01-23 06:18:25 -05:00
Jose Diaz-Gonzalez a9e6e96697 feat: implement scheduler-k3s:report 2024-01-23 05:01:23 -05:00
Jose Diaz-Gonzalez cc62bc080b fix: use correct field for comparison 2024-01-23 04:55:38 -05:00
Jose Diaz-Gonzalez fbbc967e8d chore: add todo 2024-01-23 04:55:24 -05:00
Jose Diaz-Gonzalez a0811c2cb3 fix: move field to correct location 2024-01-23 04:42:20 -05:00
Jose Diaz-Gonzalez 57e76e29d1 fix: correct the scope on the token 2024-01-23 04:25:41 -05:00
Jose Diaz-Gonzalez ff849cd4f8 fix: touch the known hosts file earlier 2024-01-23 04:25:25 -05:00
Jose Diaz-Gonzalez 204517074b fix: allow setting a custom ip address as the ip pf the dokku server
This will provide the ability to override cases where the detected ip address is invalid for whatever reason.
2024-01-23 03:26:32 -05:00