Commit Graph

3531 Commits

Author SHA1 Message Date
Jose Diaz-Gonzalez
342f636bf9 Merge pull request #6640 from dokku/k3s-keda-addon 2024-03-06 05:39:28 -05:00
Jose Diaz-Gonzalez
2986b95945 Merge pull request #6662 from dokku/openresty-domain-limit
Allow limiting letsencrypt to certain domains when using openresty as a proxy
2024-03-06 05:14:31 -05:00
Jose Diaz-Gonzalez
7c58bbf792 feat: setup cluster trigger authentication objects 2024-03-06 03:39:11 -05:00
Jose Diaz-Gonzalez
6b74cd1d6b feat: implement autoscaling-auth:report 2024-03-06 03:39:11 -05:00
Jose Diaz-Gonzalez
5b0bc0b132 fix: ensure the trigger type is properly set when handling global autoscaling auth objects 2024-03-06 03:39:11 -05:00
Jose Diaz-Gonzalez
ba7a4d85b6 chore: document k3s autoscaling 2024-03-06 03:39:11 -05:00
Jose Diaz-Gonzalez
9bba7843c1 fix: add labels subcommand to scheduler-k3s documentation 2024-03-06 03:39:11 -05:00
Jose Diaz-Gonzalez
25ad302ed2 refactor: use enum to represent authentication type 2024-03-06 03:39:11 -05:00
Jose Diaz-Gonzalez
75eeb99a42 fix: pin to older version of godotenv
The newer version is pulled by something in k3s and somehow is - probably through workspace magic - pulled into the config plugin tests. We pin to the older version since parsing changed at some point, which will cause issues for users.

A future update should move this to the latest version and cause a BC break, but for now lets pin as expected.
2024-03-06 03:39:11 -05:00
Jose Diaz-Gonzalez
c0f01c58d6 feat: add initial support for interacting with ClusterTriggerAuthentication objects
These will be provisioned to the keda namespace and referenced by Triggers if they exist (as a fallback to app-specific values).
2024-03-06 03:39:11 -05:00
Jose Diaz-Gonzalez
94125ce787 chore: make secrets optional 2024-03-06 03:39:11 -05:00
Jose Diaz-Gonzalez
8c9db01006 chore: add keda dependency
We need this in order to list keda objects that might exist in the api.
2024-03-06 03:39:11 -05:00
Jose Diaz-Gonzalez
14f0e2fb72 refactor: use const for prefix 2024-03-06 03:39:11 -05:00
Jose Diaz-Gonzalez
3bd61d8c7f feat: add command to add or remove auth configurations 2024-03-06 03:39:11 -05:00
Jose Diaz-Gonzalez
0cb47f1c54 fix: include app name and use shorter prefix 2024-03-06 03:39:11 -05:00
Jose Diaz-Gonzalez
f23cdffe49 feat: associate matching authentication info to a given autoscaler 2024-03-06 03:39:11 -05:00
Jose Diaz-Gonzalez
b3b3a93789 fix: correct associated name 2024-03-06 03:39:11 -05:00
Jose Diaz-Gonzalez
042495bcd6 fix: ensure keda auth secrets are written out 2024-03-06 03:39:11 -05:00
Jose Diaz-Gonzalez
4ddd341184 feat: add initial support for keda authentication 2024-03-06 03:39:11 -05:00
Jose Diaz-Gonzalez
8add9b4b13 fix: ensure the ScaledObject resource is not created if the capability does not exist 2024-03-06 03:39:11 -05:00
Jose Diaz-Gonzalez
46f11cb239 feat: implement replacements 2024-03-06 03:39:11 -05:00
Jose Diaz-Gonzalez
b7ff696507 feat: add initial support for injecting keda addons 2024-03-06 03:39:11 -05:00
Jose Diaz-Gonzalez
3242073e84 Merge pull request #6660 from dokku/systemctl-alt
Handle case where systemctl isn't in /usr/bin
2024-03-06 03:39:03 -05:00
Jose Diaz-Gonzalez
4347d665ba Merge pull request #6659 from dokku/6655-cron-set
Add missing cron:set command
2024-03-06 03:35:38 -05:00
Jose Diaz-Gonzalez
b8c67329ff feat: allow limiting letsencrypt to certain domains when using openresty as a proxy 2024-03-06 03:31:51 -05:00
Jose Diaz-Gonzalez
0108dfcda5 chore: bump go modules 2024-03-06 03:26:50 -05:00
Jose Diaz-Gonzalez
db3cfe441c fix: handle case where systemctl isn't in /usr/bin
In most cases, it should be there, but it appears that system upgrades from Ubuntu 16.04 sometimes do not have usr-merge setup. As such, we need to fallback to the /bin/systemctl path if it exists.
2024-03-06 02:02:13 -05:00
Jose Diaz-Gonzalez
c36f23b072 fix: add missing cron:set command
The code existed but somehow it wasn't exposed as a command.

Closes #6655
2024-03-06 01:56:25 -05:00
dependabot[bot]
b69be6c267 chore(deps): bump golang.org/x/crypto in /plugins/common
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.20.0 to 0.21.0.
- [Commits](https://github.com/golang/crypto/compare/v0.20.0...v0.21.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-03-05 13:50:16 +00:00
Jose Diaz-Gonzalez
5e53207009 fix: ensure we pass global labels 2024-03-01 17:42:24 -05:00
Jose Diaz-Gonzalez
45fbb7546f fix: pull labels, not annotations 2024-03-01 17:42:24 -05:00
Jose Diaz-Gonzalez
433c4299f1 fix: use all: prefix instead of pattern to include files with underscores as a prefix
Golang patterns don't match hidden files because of legacy reasons, so we need to use a different manner of inclusion.
2024-03-01 17:42:24 -05:00
Jose Diaz-Gonzalez
d8946edf91 feat: add support for manipulating labels
Closes #6625
2024-03-01 17:42:24 -05:00
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