Skip to content

Commit

Permalink
feat: add sablier middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
jnobrega committed May 10, 2024
1 parent 31ef523 commit 7c63572
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
3 changes: 3 additions & 0 deletions k8s/apps/network/traefik/app/helm-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ spec:
ldapAuth:
moduleName: "github.com/wiltonsr/ldapAuth"
version: "v0.1.8"
sablier:
moduleName: "github.com/acouvreur/sablier"
version: "v1.6.1"


resources:
Expand Down
3 changes: 2 additions & 1 deletion k8s/apps/network/traefik/middlewares/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ldap.yaml
- ldap.yaml
- sablier.yaml
16 changes: 16 additions & 0 deletions k8s/apps/network/traefik/middlewares/sablier.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: traefik.io/v1alpha1
kind: Middleware
metadata:
name: sablier
namespace: resource-optimizer
spec:
plugin:
sablier:
group: apps
dynamic:
displayName: Service is starting...
refreshFrequency: 5s
showDetails: "true"
theme: hacker-terminal
sablierUrl: http://sablier:10000
sessionDuration: 1m

0 comments on commit 7c63572

Please sign in to comment.