Jose Diaz-Gonzalez
a6d65c821f
feat: implement cron and one-off run task TTLs
...
Closes #7938
2025-11-18 16:46:31 -05:00
Jose Diaz-Gonzalez
f38bc64119
feat: expose concurrency policy to kubernetes jobs
2025-11-10 03:07:29 -05:00
Jose Diaz-Gonzalez
c885205b91
refactor: respect the maintenance value of the cron task instead of skipping them
...
The former method would omit the CronJob objects entirely, meaning a redeploy would be necessary to re-enable them.
2025-11-09 23:16:38 -05:00
Jose Diaz-Gonzalez
a1b6d05568
fix: correct template
2025-09-12 19:19:04 -04:00
Jose Diaz-Gonzalez
f90a4061c0
feat: create SecurityContext for k3s scheduler from docker-options
...
Closes #7664
2025-09-12 18:09:33 -04:00
Jose Diaz-Gonzalez
0a3f7262a4
chore: move comment around
2025-08-22 02:30:19 -04:00
Jose Diaz-Gonzalez
1b95e01ea3
fix: move range
2025-07-04 04:24:09 -04:00
Jose Diaz-Gonzalez
6da9be2d65
refactor: use chart values directly instead of attempting to template out cron-job and keda files
2025-07-04 04:24:09 -04:00
Jose Diaz-Gonzalez
fd2cfe8080
fix: correctly pull the deployment id from an app's helm values when executing dokku run under the k3s scheduler
...
- Fix the internal identifier of deployment_id -> deployment_id
- Add tests for both enter and run.
2024-11-04 14:44:25 -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
1ae2df52f5
fix: use image pull secrets instead of registries.yaml to reference private repositories
...
While this will now more or less require a local docker login - which can be overridden by setting the image-pull-secrets property - this ensures every deploy has a valid context.
One annoying thing is that the secret is per-app vs global, meaning that if the secret must be rotated, all apps need to be redeployed. A future change can fix that by deploying a global secret, or if folks really desire, this can be done by setting the image-pull-secrets property on the app/globally.
2024-02-12 17:15:37 -05:00
Jose Diaz-Gonzalez
f5f583b12b
feat: add support for specifying annotations
...
As the command contains a colon, it must be handled in the commands binary as opposed to subcommands.
Also include a simple bats test.
2024-02-06 13:54:53 -05:00
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
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
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
c1b3c73096
chore: drop unnecessary key
2024-01-23 09:32:41 -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
a0811c2cb3
fix: move field to correct location
2024-01-23 04:42:20 -05:00
Jose Diaz-Gonzalez
2336063ca2
refactor: move templating into pseudo-generated helm chart
...
The previous mechanism of constructing the helm chart was pretty obnoxious due to needing to have some things in the object and some in template files that were appended afterwards. This change simplifies that by using template files per type with minimal replacements.
2024-01-23 03:00:27 -05:00