Commit Graph

221 Commits

Author SHA1 Message Date
Alexis Couvreur
caab2d2cdb docs: remove emoji
markdown links are broken
2022-11-11 17:00:35 -05:00
Alexis Couvreur
1ba758f67d docs: set url to absolute path to github 2022-11-11 17:00:35 -05:00
Alexis Couvreur
3cd7a1cc30 docs: add sablier.sample.yaml conf 2022-11-11 17:00:35 -05:00
Alexis Couvreur
ccf0829274 feat(docker): add default config file 2022-11-11 17:00:35 -05:00
Alexis Couvreur
6e2800a1f3 docs: add Install Sablier documentation 2022-11-11 17:00:35 -05:00
Alexis Couvreur
24a30a1dc2 ci: add Update Docker Hub Description on release 2022-11-11 17:00:35 -05:00
Alexis Couvreur
90d17717db docs: add custom theme creation 2022-11-11 17:00:35 -05:00
Alexis Couvreur
6dcee76fc0 docs: add traefik reverse proxy middleware plugin link 2022-11-11 17:00:35 -05:00
Alexis Couvreur
1ec9c35fbd docs: fix image name 2022-11-11 17:00:35 -05:00
Alexis Couvreur
64c19e5c00 docs: add blocking strategy config block 2022-11-11 17:00:35 -05:00
Alexis Couvreur
e374db3220 docs: fix getting started JSON indentation 2022-11-11 17:00:35 -05:00
Alexis Couvreur
71005b8212 docs: fix typo toi -> to 2022-11-11 17:00:35 -05:00
Alexis Couvreur
aaa57d5768 docs: add glossary for sessions and instances 2022-11-11 17:00:35 -05:00
Alexis Couvreur
2e1f2914a9 fix: inject release version inside docker image 2022-11-11 17:00:35 -05:00
Alexis Couvreur
a9384a37e0 docs: set correct configuration file path 2022-11-11 17:00:35 -05:00
Alexis Couvreur
ad31b9cd19 docs: add configuration options documentation 2022-11-11 17:00:35 -05:00
Alexis Couvreur
384261bdf7 docs: add storage documentation
Fixes #73
2022-11-11 17:00:35 -05:00
Alexis Couvreur
d5da881604 feat: add kubernetes event listener
If a deployment or a statefulset is scaled to 0, then it is removed from the store.

In order for this to work, you need the `list` and `watch` verbs in your ClusterRole
2022-11-11 17:00:35 -05:00
Alexis Couvreur
006fb6679b refactor(events): close the channel from the sender 2022-11-11 17:00:35 -05:00
Alexis Couvreur
98023a853a feat(config): add --configFile argument to specify custom config file
It will also look by default to `/etc/sablier/` then `$XDG_CONFIG_HOME` then `$HOME/.config/` and then `.`.

Closes #91
2022-11-11 17:00:35 -05:00
Alexis Couvreur
546b378416 feat(strategy): add option to show instances details
Closes #77
v1.0.0 v1.0.0-beta.11
2022-11-10 11:31:46 -05:00
Alexis Couvreur
77b2611328 docs: moved traefik documentation to traefik folder 2022-11-10 16:31:09 +00:00
Alexis Couvreur
79d1f86ddf fix(swarm): remove suffix match on name
This could bring too much complexity. If a new service was created with exact match, it would take pecedence over the previously suffix matched service.

Closes #85
v1.0.0-beta.10
2022-11-08 15:57:38 -05:00
Alexis Couvreur
a62f098d42 feat: add swarm event listener v1.0.0-beta.9 2022-11-07 17:12:13 -05:00
Alexis Couvreur
8dc7198b54 docs: remove extra brackets in theme preview
Closes #81
2022-11-07 16:54:57 -05:00
Alexis Couvreur
ec77d127ba test: fix typo existant to existent
Closes #82
2022-11-07 16:54:48 -05:00
Alexis Couvreur
1ca1934b1c feat(docker): listens for container stopped event
When a container is shutdown manually while it's registered as `ready` in Sablier it will remove it from the store.
Meaning externally events are now handled for docker.
v1.0.0-beta.8
2022-11-06 00:24:10 -04:00
Alexis Couvreur
eb83d39652 feat(tinykv): add Delete method 2022-11-06 00:24:10 -04:00
Alexis Couvreur
8096a4e87e feat: add DesiredReplicas inside State struct
For now only the `Kubernetes` provider benefits from this improvement as `Docker` and `Swarm` have hardcoded 1 value
v1.0.0-beta.7
2022-11-03 20:55:09 -04:00
Alexis Couvreur
8a85a32561 feat: update JSON object returned by blocking strategy
Closes #68
v1.0.0-beta.6
2022-11-03 16:37:41 -04:00
Alexis Couvreur
007f2ae071 feat(traefik): add refreshFrequency support for dynamic strategy v1.0.0-beta.5 2022-11-03 16:35:19 -04:00
Alexis Couvreur
7e66ceeee0 fix(traefik): fix kubermetes e2e tests
The blocking test is disabled because it is not yet supported
v1.0.0-beta.4
2022-11-03 17:34:06 +00:00
Alexis Couvreur
48a48752b7 docs(traefik): update testData to be compliant (#72) 2022-11-03 12:13:29 -04:00
Alexis Couvreur
411c2b2dc6 fix(tinykv): remove expired values from UnmarshalJSON v1.0.0-beta.3 2022-11-02 23:15:06 -04:00
Alexis Couvreur
62e9d33ec8 feat(http): add graceful shutdown 2022-11-02 23:15:06 -04:00
Alexis Couvreur
154bb5e7ed feat: pretty json 2022-11-02 23:15:06 -04:00
Alexis Couvreur
29b81f9de3 fix(storage): add O_TRUNC flag to Writer
Overriding the file in order to remove garbage if writing less than the previous content
2022-11-02 23:15:06 -04:00
Alexis Couvreur
8cf668976c feat(tinykv): remove ExpiresAfter from json 2022-11-02 23:15:06 -04:00
Alexis Couvreur
24a2fe5e45 docs: first documentation update draft 2022-11-02 23:15:06 -04:00
Alexis Couvreur
efc41311e4 fix(sessions): add MarshalJSON for SessionState 2022-11-02 23:15:06 -04:00
Alexis Couvreur
4f2f48c0b4 docs: remove old docs 2022-11-02 23:15:06 -04:00
Alexis Couvreur
9d943d457b fix(config): fix loading config precedence 2022-11-02 23:15:06 -04:00
Alexis Couvreur
6cf69470ca fix(test): fix traefik docker swarm test
Rebase this commit
2022-11-02 23:15:06 -04:00
Alexis Couvreur
f842b491c6 test(render): add refresh frequency test 2022-11-02 23:15:06 -04:00
Alexis Couvreur
cf9f2f8ae3 feat(strategy): add dynamic theme listing endpoint /strategies/dynamic/themes 2022-11-02 23:15:06 -04:00
Alexis Couvreur
c47137edc7 feat(themes): add custom themes with security feature 2022-11-02 23:15:06 -04:00
Alexis Couvreur
e72a307163 fix(render): allow to load default themes when specifying custom themes 2022-11-02 23:15:06 -04:00
Alexis Couvreur
1f7f2f8485 fix(config): fix typo NewLoggingLevel to NewLoggingConfig 2022-11-02 23:15:06 -04:00
Alexis Couvreur
cc01caa5d4 feat(config): add strategy config 2022-11-02 23:15:06 -04:00
Alexis Couvreur
6cebeef97d fix(render): set refresh frequency to seconds
merge this with a6410f8613
2022-11-02 23:15:06 -04:00