Compare commits

...

584 Commits

Author SHA1 Message Date
ubuntu
833d480466 feat: upgrade v0.0.93 2025-12-16 11:15:25 +08:00
wiy
4ed649bff7 feat(olares-app): update olares-app version to v1.6.23 (#2244)
* feat: update frontend system and user-service version

* feat: update vault-server version to v1.6.23

---------

Co-authored-by: icebergtsn <zyh2433219116@gmail.com>
2025-12-15 23:50:09 +08:00
hysyeah
e383c22fe5 app-service: fix v2 app stop (#2243)
* feat: v2 stop support all to stop server

* fix: app clone failed

* fix: envoy inbound skip qemu source ip (#2208)

fix: skip qemu source ip

* app-service: update owner field to use app owner from app manager

* app-service: update owner field to use app owner from app manager

* fix: argo resource namespace validate

* Revert "fix: app clone failed"

This reverts commit a8a14ab9d6.

* app-service: update app-service image tag

* fix: v2 app stop

* update app-service image tag

* feat: upgrade v0.0.90 (#2227)

Co-authored-by: ubuntu <you@example.com>

* feat(olares-app): update olares app version to v1.6.22 (#2232)

* feat(olares-app): update olares app version to v1.6.22

* feat: create empty file for uploading

---------

Co-authored-by: lovehunter9 <wangrx07@aliyun.com>

* chore(ci): only scan for image manifest under .olares (#2234)

---------

Co-authored-by: eball <liuy102@hotmail.com>
Co-authored-by: salt <bleachzou2@163.com>
Co-authored-by: ubuntu <you@example.com>
Co-authored-by: wiy <guojianmin@bytetrade.io>
Co-authored-by: lovehunter9 <wangrx07@aliyun.com>
Co-authored-by: dkeven <82354774+dkeven@users.noreply.github.com>
2025-12-15 23:49:25 +08:00
dkeven
ce15e2ce00 chore(cli): remove unnecessary files and code related to kubesphere (#2242) 2025-12-15 23:48:40 +08:00
eball
957dff10a6 cli: refactor timestamp check for clarity and correctness (#2241)
* cli: refactor timestamp check for clarity and correctness

* fix: improve timestamp validation logic in CheckJWS function
2025-12-15 23:47:57 +08:00
salt
da35df9280 feat: upgrade to v0.0.92 (#2239)
Co-authored-by: ubuntu <you@example.com>
2025-12-15 23:47:31 +08:00
wiy
14edf88acb fix(notifications-api): payment template id error (#2238) 2025-12-15 23:46:55 +08:00
dkeven
939a9b5ba3 refactor: merge module kubesphere into main repo (#2237) 2025-12-15 23:45:34 +08:00
Yajing
3bd0705742 docs: add redirects and refactor studio docs (#2188) 2025-12-15 21:59:24 +08:00
yajing wang
6662923b87 add redirects and address comments 2025-12-15 21:55:34 +08:00
dkeven
f39fec6c68 chore(ci): only scan for image manifest under .olares (#2234) 2025-12-15 21:41:52 +08:00
yajing wang
e1362a43f7 add screenshots and address comments 2025-12-15 21:06:52 +08:00
wiy
a7c611571f feat(olares-app): update olares app version to v1.6.22 (#2232)
* feat(olares-app): update olares app version to v1.6.22

* feat: create empty file for uploading

---------

Co-authored-by: lovehunter9 <wangrx07@aliyun.com>
2025-12-12 23:52:46 +08:00
hysyeah
f0f2d4798c app-service: argo resource namespace validate (#2230)
* feat: v2 stop support all to stop server

* fix: app clone failed

* fix: envoy inbound skip qemu source ip (#2208)

fix: skip qemu source ip

* app-service: update owner field to use app owner from app manager

* app-service: update owner field to use app owner from app manager

* fix: argo resource namespace validate

* Revert "fix: app clone failed"

This reverts commit a8a14ab9d6.

* app-service: update app-service image tag

---------

Co-authored-by: eball <liuy102@hotmail.com>
2025-12-12 23:52:10 +08:00
salt
9d6fd7a276 feat: upgrade v0.0.90 (#2227)
Co-authored-by: ubuntu <you@example.com>
2025-12-12 23:51:36 +08:00
eball
02e45a7fb3 daemon: fix intranet server restarting bug (#2229)
* daemon: fix intranet server restarting bug

* fix(watcher): correct condition for verifying AdGuard DNS pod health
2025-12-12 21:28:19 +08:00
aby913
57a003efb9 bfl: fix delete custom domain url (#2220)
* bfl: fix delete custom domain url (#2218)

* bfl: fix delete custom domain url

* cleanup(bfl): remove binary outputs

---------

Co-authored-by: dkeven <dkvvven@gmail.com>
2025-12-12 11:57:03 +08:00
berg
aca446a05a system frontend, user service, market backend: fix some bugs and update payment flow (#2223)
feat: update system-frontend, user-service and market backend version
2025-12-12 11:56:36 +08:00
dkeven
b1cb265654 fix(ci): filter out dummy image names when scanning (#2226) 2025-12-12 11:18:18 +08:00
eball
60f3976da9 tapr: upgrade pod template and image for PGCluster reconciliation (#2219)
* tapr: upgrade pod template and image for PGCluster reconciliation (#2213)

* tapr: upgrade pod template and image for PGCluster reconciliation

* fix(ci): specify working directory in github action for tapr (#2215)

---------

Co-authored-by: dkeven <82354774+dkeven@users.noreply.github.com>

* tapr: upgrade pod template and image for PGCluster reconciliation

---------

Co-authored-by: dkeven <82354774+dkeven@users.noreply.github.com>
2025-12-11 21:43:53 +08:00
eball
b5f175dcb8 app-service: update owner field to use app owner from app manager (#2217)
* feat: v2 stop support all to stop server

* fix: app clone failed

* fix: envoy inbound skip qemu source ip (#2208)

fix: skip qemu source ip

* app-service: update owner field to use app owner from app manager

* app-service: update owner field to use app owner from app manager

---------

Co-authored-by: hys <hysyeah@gmail.com>
2025-12-11 21:43:34 +08:00
dkeven
3b0cc74984 refactor: integrate module kube-state-metrics into main repo (#2214) 2025-12-11 21:14:55 +08:00
dkeven
d3b2dc3029 refactor: integrate module integration into main repo (#2212) 2025-12-11 21:14:10 +08:00
dkeven
019e1948ce refactor: integrate module backup server into main repo (#2211) 2025-12-11 21:13:30 +08:00
dkeven
2f87901cf8 feat(cli): add command to forcefully reset password (#2202)
* feat(cli): add command to forcefully reset password

* feat(deploy): update authelia image to version 0.2.43 and add verbosity to system provider logs

* lldap image tag

* fix: update lldap to 0.0.16

---------

Co-authored-by: eball <liuy102@hotmail.com>
Co-authored-by: hys <hysyeah@gmail.com>
2025-12-11 21:12:47 +08:00
dkeven
0b2c5d3835 refactor: integrate module systemserver into main repo (#2210) 2025-12-11 21:12:12 +08:00
dkeven
0eeeb99620 refactor: integrate module osnode-init into main repo (#2207) 2025-12-11 21:07:42 +08:00
dkeven
e73480b353 fix(daemon): merge mirror endpoints into the main container repo (#2203) 2025-12-11 20:50:04 +08:00
dkeven
2ad44d6617 refactor: integrate module L4-BFL-proxy into main repo (#2205) 2025-12-11 20:49:29 +08:00
salt
93385b655d feat: add /file/extract-fail rest api (#2199)
* feat: add /file/extract-fail rest api

* fix: Put the certificate generation code into the search3_validation.yaml file.

* fix: If any of certCrtEnc, certKeyEnc, or caCertEnc is empty, regenerate all of them

---------

Co-authored-by: ubuntu <you@example.com>
2025-12-11 20:38:40 +08:00
dkeven
60d37998af refactor: integrate module BFL into main repo (#2206) 2025-12-11 20:35:19 +08:00
dkeven
4cf740b4f8 fix(ci): specify working directory in github action for tapr (#2215) 2025-12-11 19:59:48 +08:00
dkeven
ba8c7faa7d refactor: integrate module tapr into main repo (#2209) 2025-12-11 19:11:04 +08:00
yajing wang
6ec7f214cb add zh-cn version 2025-12-11 18:06:06 +08:00
berg
8e1e71fad3 system-frontend, files-server, market-backend, user-service: Add backup size push & upgrade progress, fix payment bug, optimize CS app sync, move uninstall popup, add disk check and no-cache (#2197)
* feat(olares-app): update olares-app version to v1.6.20

* files: upload check disk space, edit files set no-cache

---------

Co-authored-by: qq815776412 <815776412@qq.com>
Co-authored-by: aby913 <aby913@163.com>
2025-12-11 00:15:08 +08:00
hysyeah
3007c78926 feat(app-service): v2 stop support all to stop server (#2196)
* feat: v2 stop support all to stop server

* update appservice image tag
2025-12-11 00:14:28 +08:00
salt
b0787c19a1 fix: validation certification error (#2194)
* fix: fix monitor setting account bug

* feat: submit ca certificate

* fix: validation certification error

---------

Co-authored-by: ubuntu <you@example.com>
2025-12-11 00:13:43 +08:00
eball
1a485ca959 daemon: reset local domain when ip changing (#2192) 2025-12-11 00:13:05 +08:00
hysyeah
ce8c82f9b5 fix(appservice): validate env regex using extended lib (#2193) 2025-12-10 22:00:35 +08:00
Yajing
3ae6852c81 docs: update ComfyUI Launcher tutorial (#2142) 2025-12-10 20:04:40 +08:00
Meow33
380cb98b66 docs: solve formatting issues 2025-12-10 20:00:56 +08:00
Meow33
77d35d8890 docs: refine table width and path format 2025-12-10 19:52:20 +08:00
Meow33
849c098696 Apply suggestion from @fnalways
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-12-10 19:36:55 +08:00
Meow33
42f5f3108b Apply suggestions from code review
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-12-10 19:35:57 +08:00
dkeven
1f7be15e51 appservice: update to v0.4.58 2025-12-10 15:49:53 +08:00
dkeven
bc0da70a85 fix: validate env regex using extended lib (#2190) 2025-12-10 15:40:08 +08:00
Meow33
6898ebb3a2 docs: update based on suggestions 2025-12-10 14:54:51 +08:00
salt
63f302cd82 fix: search3validation certificate error (#2191)
* fix: fix monitor setting account bug

* feat: submit ca certificate

---------

Co-authored-by: ubuntu <you@example.com>
2025-12-10 14:39:17 +08:00
berg
08b7cb872e backup, search, system frontend: fix some bugs (#2187)
* backup: add backup total size

* feat(olares-app): update settings gpu edit

* feat: update system frontend version to v1.6.19

---------

Co-authored-by: aby913 <aby913@163.com>
Co-authored-by: qq815776412 <815776412@qq.com>
2025-12-10 14:38:24 +08:00
yajing wang
543328fa6e docs: add redirects and refactor studio docs 2025-12-10 00:59:54 +08:00
salt
3334bc69e4 fix: fix monitor setting account bug (#2186)
Co-authored-by: ubuntu <you@example.com>
2025-12-09 23:35:44 +08:00
hysyeah
4d061544a6 feat: add argo workflow to os-platform (#2182)
* feat: add argo workflow to os-platform

* fix: argo pg database

* fix: add argo crd
2025-12-09 23:35:13 +08:00
dkeven
5e58695c75 fix(cli): update initramfs after disabling nouveau kernel module (#2180) 2025-12-09 23:34:39 +08:00
eball
6ebb19db03 tapr: fix reconciling kvrocks creating event bug (#2179)
* tapr: fix reconciling kvrocks creating event bug

* Update middleware-operator image version to 0.2.28
2025-12-09 23:34:12 +08:00
eball
a08fd3b28c opa: add check for docker.io image registry in container policy (#2178) 2025-12-09 23:33:54 +08:00
simon
abbecf8e12 download-server: fix download provider cluster role (#2176)
download provider
2025-12-09 23:33:39 +08:00
hysyeah
e150b9418b app-service: sync module code (#2183)
* fix(app-service): check for nil annotations before assignment (#2163)

fix: check for nil annotations before assignment

* fix: add open telemetry netpol (#2175)

---------

Co-authored-by: dkeven <82354774+dkeven@users.noreply.github.com>
2025-12-09 21:54:37 +08:00
hysyeah
1e5176f17b app-service: fix open telemetry issue (#2177) 2025-12-09 21:42:15 +08:00
eball
605b862937 opa: update image restriction to include docker.io prefix for beclab (#2172)
fix: update image restriction to include docker.io prefix for beclab
2025-12-08 21:38:32 +08:00
hysyeah
0110413528 tapr: kvrocks upgrade (#2173) 2025-12-08 21:32:59 +08:00
eball
0726d70b58 systemserver: remove default rbac authz 2025-12-08 16:37:12 +08:00
simon
8abf6d8b65 download-server: feat add download file remove api (#2168)
download server
2025-12-07 23:12:08 +08:00
salt
b0f495c37a feat: optimize highlight (#2167)
Co-authored-by: ubuntu <you@example.com>
2025-12-06 14:51:52 +08:00
wiy
4e9b8d840d feat(olares-app): update olares new version to v1.6.16 (#2166) 2025-12-05 23:41:42 +08:00
salt
57579813de feat: search scope change (#2159)
* Update search3-validation image to v0.0.80

* Update search3 and search3monitor images to v0.0.80

* Change LOG_FILE value to string 'true'

* Update search3-validation image version to v0.0.81

* Update search3 and search3monitor images to v0.0.81

* Update search3 and search3monitor images to v0.0.83

* Update search3-validation image to v0.0.83
2025-12-05 23:41:15 +08:00
hysyeah
97dd238c44 tapr: new middleware list api (#2165)
* tapr: new middleware list api

* Update middleware operator image version to 0.2.25

---------

Co-authored-by: eball <liuy102@hotmail.com>
2025-12-05 22:49:29 +08:00
eball
3095530d0d opa: add untrusted image policy (#2135)
* feat(opa): add untrusted image check and update webhook configuration

* fix: add separator before untrusted pod check ConfigMap

* fix: remove specific image checks from untrusted pod validation

* fix: remove specific image checks from untrusted pod validation

* feat: add priority class and node affinity for OPA deployment
2025-12-05 20:20:03 +08:00
dkeven
3e8120baf6 chore: clean up binary of module app-service (#2164) 2025-12-05 18:54:33 +08:00
eball
0685c4326b ci: update workflow triggers for linting and building to include specific paths (#2162)
* ci: update workflow triggers for linting and building to include specific paths

* ci: rename workflow to clarify purpose as App-Service Build test

* chore(ci): specify the path context when building for appservice

---------

Co-authored-by: dkeven <dkvvven@gmail.com>
2025-12-05 16:32:36 +08:00
dkeven
af9e1993d1 refactor: integrate app service into main repo (#2156)
* refactor: integrate app service into main repo

* Delete framework/app-service/LICENSE.md

* fix(manifest): remove unused manager deploy file

* refactor: change the output dir of CRDs to the standard path

---------

Co-authored-by: Peng Peng <billpengpeng@gmail.com>
2025-12-05 11:21:36 +08:00
eball
ba8868d771 tapr: add middleware label to nats deployment (#2160)
fix: update app-service image version to 0.4.54 and add middleware label to nats deployment
2025-12-05 00:17:24 +08:00
wiy
7ee1d7cae1 feat: update system-frontend version to v1.6.15 (#2158)
* feat: update system frontend version to v1.6.15

* feat: update login version to v1.6.15

---------

Co-authored-by: icebergtsn <zyh2433219116@gmail.com>
2025-12-05 00:16:58 +08:00
hysyeah
cb17633f57 authelia,lldap: firstfactor return more clear message (#2157) 2025-12-05 00:16:24 +08:00
eball
18e94af22b opa: enhance validating webhook with namespace selectors (#2154)
Added namespace selectors to validating webhook configuration to exclude specific namespaces.
2025-12-04 16:31:24 +08:00
dkeven
b81665afe1 fix(ci): use non-slash separator in sed fo repo path (#2153) 2025-12-04 16:30:49 +08:00
berg
acb0fae406 settings: add env remoteOptions api, search rebuild api and bug fix. (#2152)
feat: update system-frontend and user-service version
2025-12-04 00:21:40 +08:00
hysyeah
e5fef95f4e node-exporter: fix disk scan open error (#2151) 2025-12-04 00:21:01 +08:00
dkeven
55fe22ed4c feat(app-service): add API to proxy remote options url (#2150) 2025-12-04 00:20:08 +08:00
eball
fee742d756 systemserver: combine system providers into one provider pod (#2149)
* feat: combine system provider configurations into a single deployment file

* feat: add auth-provider-nginx-config to system provider deployment

* feat: add auth-provider-nginx-config to system provider deployment
2025-12-04 00:19:28 +08:00
eball
36b4e792f6 daemon: add non-interactive flags to disk extend commands (#2148)
daemon: add nointeractive flags to disk extend commands
2025-12-04 00:19:12 +08:00
dkeven
8810a7657e feat(ci): distinguish different vendor in build & install script (#2147) 2025-12-04 00:18:56 +08:00
salt
59d87c860b feat: search3 add rebuild index api (#2146)
* feat: search3 add rebuild index api

* feat: add share url for FileParamShare

---------

Co-authored-by: ubuntu <you@example.com>
2025-12-04 00:18:28 +08:00
Meow33
97c12b0b21 docs: update based on suggestions 2025-12-03 17:58:41 +08:00
Meow33
9746ffdc33 Apply suggestions from code review
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-12-03 17:48:08 +08:00
Yajing
8cda14a78c docs: add develop in a dev container using studio (#2141) 2025-12-03 16:07:20 +08:00
Yajing
a4c0161cb1 Apply suggestions
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-12-03 16:03:00 +08:00
eball
505a438fa3 fix: Update fsnotify_daemon.yaml (#2145) 2025-12-03 11:06:07 +08:00
wiy
1a794c9fc4 feat(olares-app): update olares-app version to v1.6.13 (#2144)
* feat: update system-frontend version to v1.6.13, market to v0.6.4 and chart repo to v0.6.4

* files: support internal sharing of external and cache

* feat(user-service): update desktop search

---------

Co-authored-by: icebergtsn <zyh2433219116@gmail.com>
Co-authored-by: aby913 <aby913@163.com>
2025-12-02 23:41:53 +08:00
eball
03e8dd0ac7 app-service, bfl: add a title to the shared entrance (#2143) 2025-12-02 23:41:04 +08:00
eball
eea2dfb67a download, search: add download and search3 provider configurations (#2140)
feat: add download and search3 provider configurations
2025-12-02 23:40:37 +08:00
dkeven
316ffe4f35 fix(gpu): add precheck and disable op for nouveau kernel module (#2139) 2025-12-02 23:40:09 +08:00
eball
08a380df61 jfsnotify: update jfsnotify daemon volume configurations (#2138) 2025-12-02 23:39:07 +08:00
Meow33
faa7638353 docs: update the structure and content 2025-12-02 21:27:19 +08:00
wangyajing
58e869604a add screenshots 2025-12-02 18:18:34 +08:00
Meow33
fc57d0b9f1 docs: update ComfyUI Launcher tutorial 2025-12-02 17:54:35 +08:00
wangyajing
a61dff75b9 docs: add develop in a dev container using studio 2025-12-02 17:11:30 +08:00
hysyeah
0b9c1a09b9 fix: clone app upgrade (#2137) 2025-12-01 23:52:02 +08:00
Yajing
3178e06349 docs: add ace-step tutorial (#2113) 2025-12-01 21:28:22 +08:00
Meow33
69c341060b Apply suggestion from @fnalways
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-12-01 21:26:23 +08:00
Meow33
d56daad3f0 docs: apply suggestions 2025-12-01 21:21:21 +08:00
Meow33
2b239284b3 Apply suggestions from code review
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-12-01 19:38:44 +08:00
Meow33
e2e8b84eef docs: replace screenshots 2025-12-01 19:37:58 +08:00
Meow33
7afb59cd3a Apply suggestions from code review
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-12-01 19:36:12 +08:00
salt
6474487e75 fix: multiple node monitor setting webhook call fail (#2136)
Co-authored-by: ubuntu <you@example.com>
2025-12-01 17:48:24 +08:00
Yajing
3fd15d418b docs: update OlaresManifest example yaml (#2121) 2025-12-01 14:03:53 +08:00
hysyeah
243ad15e66 app-service: fix shared gpu inejct,ns label,shared entrance (#2134)
* app-service: fix shared gpu inejct,ns label,shared entrance

* fix: envoy outbound websocket
2025-11-29 00:02:15 +08:00
eball
56367c964e daemon: skip owner check if not installed successfully (#2133) 2025-11-29 00:00:53 +08:00
salt
8911b33d3e fix: process history data resource url without protocol (#2132)
Co-authored-by: ubuntu <you@example.com>
2025-11-29 00:00:16 +08:00
dkeven
f7c7939493 feat(gpu): clear GPU bindings of uninstalled App (#2129) 2025-11-28 23:59:45 +08:00
dkeven
8eee97f779 chore(cli): optimize error messages for some prechecks (#2128) 2025-11-28 23:59:15 +08:00
Meow33
d3c1a37378 docs: add prerequisites and modify expressions 2025-11-28 13:53:03 +08:00
Meow33
4a8303d050 docs: update LarePass link (#2106) 2025-11-28 13:09:09 +08:00
Power-One-2025
61df0056ba docs/revert changes to existing package-lock.json 2025-11-28 12:03:02 +08:00
Meow33
75c48ef5ee Update docs/use-cases/ace-step.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-28 11:08:34 +08:00
Meow33
4fed6bd618 Update docs/use-cases/ace-step.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-28 11:08:06 +08:00
Meow33
581e252f30 Update docs/use-cases/ace-step.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-28 11:07:53 +08:00
Meow33
f1d479cf1d Update docs/use-cases/ace-step.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-28 11:07:39 +08:00
Meow33
d070e53480 Update docs/use-cases/ace-step.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-28 11:07:23 +08:00
Meow33
89719a8d48 Update docs/use-cases/ace-step.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-28 11:07:06 +08:00
Meow33
085bef64b5 Update docs/use-cases/ace-step.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-28 11:06:45 +08:00
Meow33
963ca8ab48 Update docs/use-cases/ace-step.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-28 11:06:06 +08:00
Meow33
59922bc5cf Update docs/use-cases/ace-step.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-28 11:04:25 +08:00
Meow33
1f4b3f94ca Update docs/use-cases/ace-step.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-28 11:04:11 +08:00
simon
aa9e89c0c9 download-server: fix resume task bug (#2126)
download server v0.1.14
2025-11-27 23:56:19 +08:00
aby913
760aef5521 backup: fix bufio.Scanner token too long (#2125) 2025-11-27 23:55:51 +08:00
aby913
ca1d7ebd09 cli: windows username contains spaces (#2124)
fix: windows username contains spaces
2025-11-27 23:55:23 +08:00
berg
a282878cfe market: update market permission v2 (#2123)
feat: update market permission v2
2025-11-27 23:54:54 +08:00
hysyeah
95ad815142 app-service: add gpu memory size check (#2122) 2025-11-27 23:54:23 +08:00
Meow33
984582c520 Update docs/developer/develop/package/manifest.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-27 21:19:34 +08:00
Meow33
d10e6f0e20 Update docs/zh/developer/develop/package/manifest.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-27 21:19:24 +08:00
Meow33
0db6227f98 Update docs/developer/develop/package/manifest.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-27 21:19:15 +08:00
Meow33
46aa153989 Update docs/zh/developer/develop/package/manifest.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-27 21:19:07 +08:00
Meow33
3cfd619d9d docs: update olaresmanifest example yaml 2025-11-27 17:19:54 +08:00
salt
82e3d7d2d4 fix: missing POD_NAME, POD_NAMESPACE (#2117)
* fix: missing POD_NAME, POD_NAMESPACE

* feat(cli): switch to NVIDIA runfile to install/upgrade GPU driver (#2116)

* opa: ignore validating opa pod itself (#2118)

* opa: ignore validating opa pod itself

* opa: add uid to response in decision logic

* opa: add apiVersion and kind to admission review response

---------

Co-authored-by: ubuntu <you@example.com>
Co-authored-by: dkeven <82354774+dkeven@users.noreply.github.com>
Co-authored-by: eball <liuy102@hotmail.com>
2025-11-27 16:54:35 +08:00
Yajing
9188718cb6 docs: update wording in Steam Headless tutorial (#2119) 2025-11-27 16:54:16 +08:00
eball
7f27a03e84 opa: ignore validating opa pod itself (#2118)
* opa: ignore validating opa pod itself

* opa: add uid to response in decision logic

* opa: add apiVersion and kind to admission review response
2025-11-27 16:19:56 +08:00
Meow33
202a17dd6f docs: update wording 2025-11-27 15:31:24 +08:00
dkeven
fe6817ff78 feat(cli): switch to NVIDIA runfile to install/upgrade GPU driver (#2116) 2025-11-27 15:15:58 +08:00
eball
3991bc2e08 opa: add opa based admission control to Olares (#2110)
* opa: add opa based admission control to Olares

* fix(deployment): add selector to opa deployment spec

* fix(deployment): update Deployment API version to apps/v1

* fix(deployment): remove insecure address option from OPA deployment

* fix(deployment): update OPA image version and adjust service port configuration

* fix(deployment): add debug logging and enable policies in OPA deployment
2025-11-27 01:13:53 +08:00
aby913
c84e4deded files: fix cloud video playback, support external and cache sharing (#2112)
* files: fix cloud video playback, support external and cache sharing

* feat(olares-app): update olares-app version to v1.6.9

---------

Co-authored-by: qq815776412 <815776412@qq.com>
2025-11-27 01:01:54 +08:00
aby913
3a19d380f3 backup(fix): app backup files path invalid (#2111) 2025-11-27 01:01:27 +08:00
hysyeah
21cf7466ee app-service,hami: hardware info inject to values (#2108)
* app-service,hami: hardware info inject to values

* copy embed files
2025-11-27 01:00:08 +08:00
salt
9a0db453d3 feat:add get include directory and get exclude pattern rest api (#2107)
Co-authored-by: ubuntu <you@example.com>
2025-11-27 00:59:39 +08:00
Meow33
3021a88e70 Merge branch 'main' into docs/add-ace-step-tutorial 2025-11-26 22:03:01 +08:00
Meow33
232c277412 docs: add user guide for ace-step 2025-11-26 21:59:21 +08:00
Power-One-2025
d5e0523c6a Update README_CN.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-26 16:21:05 +08:00
salt
03641fb388 feat: add crd setting for search3 and support full content search (#2105)
* feat: add search3_validation yaml

* feat: add more crd

* fix: remove repeated namespace

---------

Co-authored-by: ubuntu <you@example.com>
2025-11-26 15:20:12 +08:00
Power-One-2025
023208603c docs/delete package-lock.json 2025-11-26 14:56:54 +08:00
Power-One-2025
21d10c37b3 update LarePass link 2025-11-26 12:13:08 +08:00
eball
5be2c61091 hami: bump hami version to v2.6.4 (#2104) 2025-11-25 23:44:29 +08:00
aby913
da12178933 backup: adjust backup policy update response data structure (#2103) 2025-11-25 23:10:09 +08:00
aby913
b6484e1a19 files(fix): sync share improve (#2102)
* files(fix): sync share improve

* feat: update olares-app to v1.8.8

---------

Co-authored-by: qq815776412 <815776412@qq.com>
2025-11-25 23:09:39 +08:00
eball
206c946408 app-service, tapr, bfl: add shared entrance url api and fix some bugs (#2101) 2025-11-25 21:12:57 +08:00
Meow33
c57c67db24 docs: update 0.10.0 changes for OlaresManifest.yaml (#2094) 2025-11-25 15:05:22 +08:00
Yajing
1ed26c8264 docs: update macOS Chrome local access instructions (#2097) 2025-11-25 15:03:08 +08:00
Meow33
18ece294ce Update docs/manual/larepass/private-network.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-25 14:59:00 +08:00
Yajing
2f44ae273f docs: add duix.avatar tutorial (#2095) 2025-11-25 14:27:48 +08:00
aby913
a6457f0a2a files(fix): sync shared improve (#2099)
* files(fix): sync share improve

* feat: update olares app version to v1.6.7

---------

Co-authored-by: qq815776412 <815776412@qq.com>
2025-11-24 23:55:25 +08:00
eball
3f6bc2bf36 app-service, tapr: implement shared entrances (#2098)
* app-service, tapr: implement shared entrances

* Update app-service image version to 0.4.46
2025-11-24 23:54:06 +08:00
Yajing
f7248a1c74 Apply suggestions
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-24 22:36:39 +08:00
Meow33
54fc939ea3 docs: reset image size and info title 2025-11-24 16:16:38 +08:00
Meow33
420bb1d805 docs: add extra info and screenshot 2025-11-24 15:46:58 +08:00
wangyajing
39c0d2c777 update curl command for json file 2025-11-24 15:40:50 +08:00
wangyajing
d8e3a64b61 add screenshots 2025-11-24 15:40:50 +08:00
wangyajing
78dbda300b docs: add duix.avatar tutorial 2025-11-24 15:40:47 +08:00
Meow33
16440bc3c5 docs: Update macOS Chrome local access instructions 2025-11-24 13:29:36 +08:00
wiy
f5b8d226c9 feat(olares-app): update version to v1.6.6 (#2096)
* feat(olares-app): update version to v1.6.6

* fix: file uploads under sync shares

---------

Co-authored-by: aby913 <aby913@163.com>
2025-11-21 00:00:25 +08:00
RiddleMe
a80142cdd7 add middleware description 2025-11-20 22:08:10 +08:00
Teng
e69364d329 Update docs/zh/developer/develop/package/manifest.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-20 21:37:15 +08:00
Teng
6facfd93ee Update docs/zh/developer/develop/package/manifest.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-20 21:37:07 +08:00
Teng
7e9b0bcdc5 Update docs/zh/developer/develop/package/manifest.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-20 21:36:54 +08:00
Teng
bb461e8573 Update docs/zh/developer/develop/package/manifest.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-20 21:36:31 +08:00
Teng
926058cbd0 Update docs/zh/developer/develop/package/manifest.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-20 21:36:19 +08:00
Teng
44d56f64e1 Update docs/zh/developer/develop/package/manifest.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-20 21:36:09 +08:00
Teng
8074e7dee9 Update docs/zh/developer/develop/package/manifest.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-20 21:35:57 +08:00
Teng
67af7ee3fa Update docs/zh/developer/develop/package/manifest.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-20 21:35:45 +08:00
Teng
e6b3624bae Update docs/zh/developer/develop/package/manifest.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-20 21:35:34 +08:00
Teng
c27c8a61f1 Update docs/zh/developer/develop/package/manifest.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-20 21:35:26 +08:00
Teng
79e6d4b6e6 Update docs/developer/develop/package/manifest.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-20 21:35:13 +08:00
Teng
ea15f6d04b Update docs/developer/develop/package/manifest.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-20 21:34:57 +08:00
Teng
dffcafbfd2 Update docs/developer/develop/package/manifest.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-20 21:34:02 +08:00
Teng
e30afb517b Update docs/developer/develop/package/manifest.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-20 21:33:40 +08:00
Teng
97a701c7e4 Update docs/developer/develop/package/manifest.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-20 21:33:26 +08:00
Teng
24c68ada0b Update docs/developer/develop/package/manifest.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-20 21:33:13 +08:00
Teng
ec5358f9b0 Update docs/developer/develop/package/manifest.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-20 21:32:38 +08:00
Teng
03bb1ab2b8 Update docs/developer/develop/package/manifest.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-20 21:32:28 +08:00
Teng
d5754b8977 Update docs/developer/develop/package/manifest.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-20 21:32:10 +08:00
Teng
8017975124 Update docs/developer/develop/package/manifest.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-20 21:31:56 +08:00
Teng
66b77ed5a1 Update docs/developer/develop/package/manifest.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-20 21:31:17 +08:00
Yajing
b990d50b01 docs: add the en version of Windows user guide (#2086) 2025-11-20 21:12:34 +08:00
Yajing
f1890e304b docs: fix typos discovered in Nov 2025 (#2093) 2025-11-20 21:03:31 +08:00
Meow33
587ea07a61 Update docs/use-cases/windows.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-20 20:17:03 +08:00
Meow33
e185931214 Update docs/use-cases/windows.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-20 20:16:44 +08:00
Meow33
78fe2b29d2 Update docs/use-cases/windows.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-20 20:15:58 +08:00
Meow33
9fc92b4f32 docs: changes made based on suggestions 2025-11-20 19:20:23 +08:00
Meow33
d33a8b7d31 Update docs/use-cases/windows.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-20 19:10:16 +08:00
Meow33
825a05b02f Update docs/use-cases/windows.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-20 19:10:04 +08:00
Meow33
6aa9b08b63 Update docs/use-cases/windows.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-20 19:08:59 +08:00
Meow33
dcb2505c8e Update docs/use-cases/windows.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-20 19:08:17 +08:00
Meow33
4917a2d2ab Apply suggestion from @fnalways
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-20 19:06:17 +08:00
Meow33
aba1d3336d Apply suggestion from @fnalways
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-20 19:05:52 +08:00
Meow33
7c2c68e03b Apply suggestion from @fnalways
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-20 19:05:35 +08:00
RiddleMe
ff30a31748 update change for 0.10.0 2025-11-20 18:16:22 +08:00
Meow33
3d8d351996 docs: fix typos 2025-11-20 17:51:38 +08:00
Meow33
eea8f607fa Update en.ts 2025-11-20 17:40:58 +08:00
Yajing
d3f357eb13 docs: fix reference issue in organize content (#2092) 2025-11-20 17:32:50 +08:00
Meow33
e19ef85071 docs: fix inference issue in organize content 2025-11-20 17:22:13 +08:00
dkeven
1e7cc5b6ad fix(manifest): handle the case of present secret with missing key (#2091) 2025-11-20 15:00:17 +08:00
Meow33
6e4c27136a Merge branch 'main' into docs/add-run-windows-vm 2025-11-20 11:28:40 +08:00
Meow33
afb1e5b9f7 Merge branch 'docs/add-run-windows-vm' of https://github.com/Meow33/Olares into docs/add-run-windows-vm 2025-11-20 11:09:03 +08:00
Meow33
ed90b16fd3 docs: resolved comments 2025-11-20 11:09:00 +08:00
aby913
2901fcfd24 files: media integration, share bug fix (#2090)
* files: media-server integrate, share videos play, bug fixs

* files: media-server integrate, share videos play, bug fixs

* share: fix some bugs
notification: add apps stop reason

---------

Co-authored-by: qq815776412 <815776412@qq.com>
2025-11-20 00:05:50 +08:00
hysyeah
c918459a8e app-serivce: push event add title, stop reason field (#2089) 2025-11-20 00:04:43 +08:00
eball
9d3c560648 authelia: add policy for probe validating (#2088) 2025-11-20 00:03:51 +08:00
dkeven
c901c54716 chore(cli): merge env for nvidia repo mirror with cdn mirror (#2087) 2025-11-19 21:16:28 +08:00
Meow33
d925999a70 docs: add deerflow tutorial and update Ollama tutorial (#2082) 2025-11-19 21:00:22 +08:00
Meow33
aa5aa78677 Apply suggestion from @fnalways
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-19 20:31:20 +08:00
Meow33
fd37490fcd Apply suggestion from @fnalways
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-19 17:48:24 +08:00
Meow33
d55fb76a71 Apply suggestion from @fnalways
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-19 17:30:25 +08:00
Meow33
ba3954dc0f docs: add windows in use case index 2025-11-19 15:45:45 +08:00
Meow33
faf20cdf0b docs: add user case for windows vm 2025-11-19 15:24:55 +08:00
dkeven
6321909582 feat(upgrade): upgrade l4bflproxy to v0.3.9 (#2084) 2025-11-19 00:31:56 +08:00
eball
355f7c4e69 coredns,bfl,l4: resolving domain to cluster ip in pods (#2085) 2025-11-19 00:24:30 +08:00
dkeven
2c3c949bc9 feat(gpu): add an API to switch GPUBindings in bulk for app (#2083) 2025-11-18 23:39:13 +08:00
Yajing
babf756bd5 Update docs/use-cases/ollama.md 2025-11-18 21:51:10 +08:00
Yajing
c341e22f76 Apply suggestions
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-18 21:49:57 +08:00
wangyajing
0a0e52dd3d add deerflow tutorial 2025-11-18 20:10:32 +08:00
Meow33
081b4064a1 docs: add studio tutorial (#2064) 2025-11-18 13:25:29 +08:00
Yajing
9a224ea780 docs: update the en version of Steam user guide (#2070) 2025-11-18 13:24:31 +08:00
Yajing
ab3a6ba34e docs: remove prompts from use docker compose (#2081) 2025-11-18 11:57:05 +08:00
Meow33
2ec8300663 docs: remove prompts from the doc 2025-11-18 11:52:59 +08:00
Meow33
8762f26c04 docs: change expression 2025-11-18 11:13:35 +08:00
Meow33
65e50afd27 Update docs/use-cases/stream-game.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-18 11:11:09 +08:00
hysyeah
aff0b38c0b fix: set priority for ks,node-exporter,prometheus (#2079)
* fix: set priority for ks,node-exporter,prometheus

* fix: add priority class for download
2025-11-17 23:54:55 +08:00
eball
fefd635f6c cli: add disk management commands for extending and listing unmounted disks (#2078)
* feat: lvm commands

* feat: add disk management commands for extending and listing unmounted disks
2025-11-17 23:54:15 +08:00
wangyajing
a8b410a0da reorganize topics for better readability 2025-11-17 23:24:58 +08:00
Meow33
841b5229e6 Merge branch 'docs/update-user-guide-for-Steam' of https://github.com/Meow33/Olares into docs/update-user-guide-for-Steam 2025-11-17 21:14:39 +08:00
Meow33
89421058bc docs: fix errors 2025-11-17 21:14:09 +08:00
Meow33
4d5f69e9dc Update docs/use-cases/stream-game.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-17 21:13:23 +08:00
Yajing
8cb7ee6aad docs: update perplexica tutorial (#2071) 2025-11-17 21:11:28 +08:00
Yajing
ab62c06d07 Apply suggestions
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-17 21:06:31 +08:00
Yajing
d85c81ff57 Apply suggestions
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-17 21:04:20 +08:00
Meow33
94d07adf9c Update docs/use-cases/stream-game.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-17 21:02:29 +08:00
Meow33
3eeefb18c2 docs: refined structure 2025-11-17 20:54:56 +08:00
Meow33
34b58757ec Update docs/use-cases/stream-game.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-17 20:14:43 +08:00
Meow33
0df243184c Update docs/use-cases/stream-game.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-17 20:14:30 +08:00
Meow33
99420a8a48 Update docs/use-cases/stream-game.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-17 20:14:07 +08:00
Meow33
b013bf6ea9 Update docs/use-cases/stream-game.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-17 20:13:46 +08:00
Meow33
1bedb4d182 Update docs/use-cases/stream-game.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-17 20:13:30 +08:00
Meow33
f844d1221e Update docs/use-cases/stream-game.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-17 20:13:19 +08:00
Meow33
7950d1be7d Update docs/use-cases/stream-game.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-17 20:13:09 +08:00
Meow33
ffdeb91dcd Update docs/use-cases/stream-game.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-17 20:12:53 +08:00
Meow33
a356b13d5a Update docs/use-cases/stream-game.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-17 20:11:31 +08:00
wangyajing
db61f05fb6 update perplexica 2025-11-14 22:52:00 +08:00
Meow33
26937ab505 docs: update the en version of Steam user guide 2025-11-14 22:15:09 +08:00
hysyeah
3dc2132e72 olares: change cadvisor scrape interval (#2068)
olares change cadvisor scrape interval
2025-11-14 21:14:13 +08:00
dkeven
b50f2bbf6c feat(upgrade): upgrade l4bflproxy to v0.3.8 (#2066)
* feat(upgrade): upgrade l4bflproxy to v0.3.7

* feat(upgrade): update L4BFLProxy version to v0.3.8

---------

Co-authored-by: eball <liuy102@hotmail.com>
2025-11-14 21:13:30 +08:00
wangyajing
16a0a5556d fix dead link 2025-11-14 11:06:36 +08:00
aby913
32166687ec files: paste files across users for internal sharing (#2063)
* files: copy files across users for internal sharing

* feat: update olares-app version to 1.6.2

---------

Co-authored-by: qq815776412 <815776412@qq.com>
2025-11-14 00:22:22 +08:00
0x7fffff92
db3498e0a0 fix: video transcoding continuously consumes cpu (#2062)
Co-authored-by: 0x7fffff92 <0x7fffff92@example.com>
2025-11-14 00:21:27 +08:00
Yajing
2dc70ede78 docs: add github trending badge and update olares intro (#2065)
add github trending badge and update olares intro
2025-11-13 23:04:19 +08:00
wangyajing
694f385d2b add studio en tutorial 2025-11-13 22:37:20 +08:00
eball
407c126419 bfl: fix vpn mode policy bug 2025-11-13 19:04:10 +08:00
aby913
18746c917e files: rebuild the samba image (#2061) 2025-11-13 14:01:29 +08:00
eball
01324970b4 daemon: Implement DSR Proxy for handling DNS requests and responses (#2057)
* daemon: Implement DSR Proxy for handling DNS requests and responses

* fix: update DSR proxy logging and improve DNS pod configuration handling

* fix: update sys-event deployment to include additional permissions and bump image version

* fix: update install step to include pcap-devel package

* fix: correct spelling in install step for udev-devel and pcap-devel

* fix: refactor DSRProxy implementation for better clarity and organization

* fix: build arm64

* fix: update sys-event image version to 0.2.12

---------

Co-authored-by: liuyu <>
2025-11-13 11:59:46 +08:00
simon
b068669c3c download-server: fix format id bug (#2059)
download
2025-11-13 00:46:20 +08:00
wiy
bc134283d9 feat(olares-app): add share application (#2058)
* files: share

* feat: update olares-app version to 1.6.1

---------

Co-authored-by: aby913 <aby913@163.com>
2025-11-13 00:45:50 +08:00
dkeven
9f3a0f3c32 feat(cli): expand NodePort range to allow sharing SMB service (#2056) 2025-11-13 00:45:19 +08:00
hysyeah
ca1ab3fef9 app-service: support specify pod that need inject outbound envoy sidecar (#2055)
app-service: support specify pod that need inject outbound envoy sidecar by pod selector
2025-11-13 00:44:36 +08:00
aby913
b6394cc39c integration: rename field expirationDate to expires (#2053) 2025-11-13 00:44:05 +08:00
eball
36915f5f03 Add libpcap-dev to udev-devel installation 2025-11-12 23:48:38 +08:00
hysyeah
1ad305f874 app-service: fix app clone version select (#2052) 2025-11-11 23:46:45 +08:00
dkeven
58cdd7de69 chore(cli): use preferred nvidia driver meta pkg name (#2051) 2025-11-11 21:13:05 +08:00
Yajing
4cee006a1e docs: update the en version of Jellyfin user guide (#2050) 2025-11-11 20:20:12 +08:00
Meow33
7bbc53bef9 Update docs/use-cases/stream-media.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-11 20:16:18 +08:00
Meow33
1432168ec0 Update docs/use-cases/stream-media.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-11 20:15:58 +08:00
Meow33
534ae8dd3a Update docs/use-cases/stream-media.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-11 20:15:20 +08:00
Meow33
0a25611cf5 Update docs/use-cases/stream-media.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-11 20:01:52 +08:00
Meow33
17990b3558 Update docs/use-cases/stream-media.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-11 20:01:32 +08:00
Meow33
cb80d04265 Update docs/use-cases/stream-media.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-11 20:01:12 +08:00
Meow33
0194a493ab Update docs/use-cases/stream-media.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-11 20:00:55 +08:00
Meow33
06e49cb638 Update docs/use-cases/stream-media.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-11 20:00:47 +08:00
Meow33
93dea60906 Update docs/use-cases/stream-media.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-11 20:00:36 +08:00
Meow33
177f955a6b Update docs/use-cases/stream-media.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-11 20:00:11 +08:00
Meow33
324a0b4071 Update docs/use-cases/stream-media.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-11 19:59:41 +08:00
Meow33
132d6432cc Update docs/use-cases/stream-media.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-11 19:59:02 +08:00
Meow33
4c51efb0b7 Update docs/use-cases/stream-media.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-11 19:58:46 +08:00
Meow33
8f0f2e5844 Update docs/use-cases/stream-media.md
Co-authored-by: Yajing <110797546+fnalways@users.noreply.github.com>
2025-11-11 19:58:13 +08:00
Meow33
0ae1524682 docs:update en version of Jellyfin user guide 2025-11-11 18:03:35 +08:00
dkeven
b24ba06794 feat(app-service): add regex validation to env CRD (#2049) 2025-11-10 22:38:55 +08:00
hysyeah
ec6ce88e08 app-service,tapr: support app clone;es,minio prefix bucket,index manager (#2047) 2025-11-08 01:36:41 +08:00
Yajing
7839bed160 docs: refactor manage olares section and fix incorrect descriptions (#2046)
* docs: refactor manage olares section and fix incorrect descriptions

* Apply suggestions from code review

Co-authored-by: Meow33 <supermonkey03@163.com>

* Apply comment

* Apply suggestions from code review

Co-authored-by: Meow33 <supermonkey03@163.com>

---------

Co-authored-by: Meow33 <supermonkey03@163.com>
2025-11-07 23:01:23 +08:00
Meow33
39d3689d01 docs: update iso download link and remove concept from index (#2044) 2025-11-06 22:39:55 +08:00
Yajing
ef347ff8ef docs: update mirrors and cdn urls and hide Windows Docker installation guide (#2041) 2025-11-06 21:29:30 +08:00
eball
908629dd9a daemon: access local domain via proxy protocol (#2043) 2025-11-06 18:25:01 +08:00
dkeven
4cea6ab238 chore(manifest): lift GPU split count limit in timeslicing mode (#2042) 2025-11-06 17:54:41 +08:00
aby913
a0e8a69848 fix: wsl shutdown command not working on newer WSL versions (#2040) 2025-11-06 17:54:13 +08:00
hysyeah
df2b5b4274 authelia: fix ttlcache delete panic may due to some concurrency (#2039) 2025-11-06 17:53:24 +08:00
Yajing
f18d3af3b4 docs: update screenshot for cookie management and fix minor errors (#2033) 2025-11-06 16:49:27 +08:00
Meow33
b4a447b596 docs: update GPU mode descriptions (#1903) 2025-11-06 16:42:39 +08:00
Meow33
d329630509 docs: update mirrors and CDN URLs; hide Windows Docker installation section 2025-11-06 15:49:39 +08:00
yyh
1af84b046d chore: update olares-app and user-service version (#2038) 2025-11-05 21:27:50 +08:00
eball
84e8543309 authelia: improve cidr validation for remote ips in cloud environments (#2037)
* authelia: improve cidr validation for remote ips in cloud environments

* Update auth image version to 0.2.39
2025-11-05 20:42:54 +08:00
eball
09f7ecd295 infisical: add mutex lock for workspace creation (#2036) 2025-11-05 14:54:12 +08:00
salt
1a8dbf0f2c fix: wait drive, cache root directory create successfully (#2035)
Co-authored-by: ubuntu <you@example.com>
2025-11-05 11:34:35 +08:00
berg
3f1e695581 system frontend, user service: update system frontend and user service (#2034)
* feat: update system frontend and user service

* fix: change version
2025-11-05 00:22:54 +08:00
Meow33
8881503ca6 docs: fix minor errors 2025-11-04 20:42:05 +08:00
Meow33
317da8a13e Revert "docs:update screenshot and fix minor errors"
This reverts commit 6d5c2a5e2b.
2025-11-04 20:37:31 +08:00
berg
316d719d64 feat: update system frontend to v1.5.24 (#2032) 2025-11-04 19:28:28 +08:00
hysyeah
01e1b79674 app-service: skip entrance check if set skip filed true (#2031) 2025-11-04 19:28:05 +08:00
eball
9b7ff997b9 daemon: add local domain pattern as a host alias (#2030)
* fix: update zeroconf dependency to v0.2.2 and add host alias functionality

* fix: enhance intranet request handling for host patterns
2025-11-04 19:27:41 +08:00
Meow33
6d5c2a5e2b docs:update screenshot and fix minor errors 2025-11-04 17:53:39 +08:00
dkeven
d0185a484f feat(app-service): add APIs to batch update userenv & sysenv (#2029) 2025-11-04 00:43:42 +08:00
dkeven
aadacbf729 chore(cli): remove any left vgpu lock file (#2028) 2025-11-04 00:43:15 +08:00
wiy
86290d1ce9 feat(olares-app): update system-frontend new version (#2027) 2025-11-03 17:23:19 +08:00
berg
d5ddd59997 system frontend, user service: update system frontend to v1.5.21 and user-service to v0.0.66 (#2026)
feat: update system frontend to v1.5.21 and user-service to v0.0.66
2025-10-31 23:20:57 +08:00
dkeven
64883f1752 app-service: fix middleware netpol; rollback env schema (#2024) 2025-10-31 19:45:00 +08:00
dkeven
ef0b8d3180 fix(daemon): avoid concurrent execution of uninstall and change-ip (#2025) 2025-10-31 19:44:13 +08:00
Calvin W.
101379e6ba docs: add local URL for Olares access doc (#1995) 2025-10-31 15:59:19 +08:00
Calvin W.
80947af962 docs: add Set system environment variables in settings (#2004) 2025-10-31 13:55:31 +08:00
Calvin W.
9ebb80a111 docs: add Olares One specific operations across topics (#1978) 2025-10-31 13:55:06 +08:00
Calvin W.
37e99b977c docs: update docs about gpu passthrough and installation in PVE (#1986) 2025-10-31 13:52:41 +08:00
Calvin W.
dcbc505e7a docs: update FRP setting and related activation process (#1987) 2025-10-31 13:52:25 +08:00
Calvin W.
9f518d6c4b docs: add cookie management in Integrations (#2003) 2025-10-31 13:52:02 +08:00
Calvin W.
6f88df0570 docs: add feature comparison table for LarePass (#2009) 2025-10-31 13:51:47 +08:00
Calvin W.
f97c9521f3 docs: update screenshots for env variable setting (#2023) 2025-10-31 13:50:41 +08:00
cal-weng
61aa638be9 update screenshots 2025-10-31 13:45:19 +08:00
Calvin W.
6285359f31 docs: add documentation for the "user activate" CLI command (#1994) 2025-10-31 10:55:17 +08:00
eball
f72987d55f bfl: Update AUTHELIA_AUTH_URL in bfl_deploy.yaml (#2022) 2025-10-30 22:46:19 +08:00
berg
33292988bb system frontend: update system frontend to v1.5.19 (#2021)
* feat: update system frontend to v1.5.19

* feat: update vault-server version

---------

Co-authored-by: qq815776412 <815776412@qq.com>
2025-10-30 22:45:56 +08:00
dkeven
261cd45535 feat(app-service): independent op & API for apply env (#2020) 2025-10-30 22:45:27 +08:00
hysyeah
f9994e7e88 app-service: fix set cookie with multi set-cookie in headers (#2018) 2025-10-30 19:27:57 +08:00
Calvin W.
b0ecfefa09 docs: update related docs for env var support (#2019) 2025-10-30 18:13:58 +08:00
cal-weng
e1e4528db6 update related docs 2025-10-30 17:32:13 +08:00
berg
6eecd514e4 system frontend: update system frontend to v1.5.18 (#2017)
feat: update system frontend to v1.5.18
2025-10-30 16:15:43 +08:00
dkeven
5b4464533b refactor(app-service): change Env CRD schema for future i18n (#2016) 2025-10-30 16:15:18 +08:00
eball
62233642ad daemon: improve error handling in CheckCurrentStatus function (#2015)
fix: improve error handling in CheckCurrentStatus function
2025-10-30 00:09:53 +08:00
cal-weng
26910b80b9 resolve comments 2025-10-29 19:37:55 +08:00
Meow33
306c7a2480 docs: update content 2025-10-29 19:28:53 +08:00
berg
d26f4f1ac2 system frontend: update system frontend to v1.5.16 (#2014)
feat: update system frontend to v1.5.16
2025-10-29 19:03:33 +08:00
dkeven
1509ab6435 feat(daemon): unified node disk size between olaresd and dashboard (#2013) 2025-10-29 19:03:10 +08:00
dkeven
df0fcb1801 chore(manifests): add default values for some user envs (#2012) 2025-10-29 19:02:41 +08:00
aby913
359a269e88 integration(fix): add user suffix to cookie (#2011) 2025-10-29 19:02:05 +08:00
dkeven
f621aeef54 feat(daemon): ensure dockerhub mirror in sysenv at the first (#2010) 2025-10-29 19:01:34 +08:00
cal-weng
10ce9b44fc add note on multi-GPU and improve accuracy 2025-10-29 17:16:55 +08:00
Meow33
6d5e66b73b docs: update doc based on feedback 2025-10-29 15:27:00 +08:00
cal-weng
2f701510e0 update support fact 2025-10-29 14:50:19 +08:00
cal-weng
ec38cbd285 fix case 2025-10-29 14:38:37 +08:00
cal-weng
640d8c1bf4 docs: add feature comparison table for LarePass 2025-10-29 14:33:41 +08:00
Meow33
c570cf8fc2 docs: update documentation based on review comments 2025-10-29 13:16:17 +08:00
Calvin W.
9e18f11822 Update docs/zh/manual/get-started/activate-olares.md 2025-10-29 11:54:56 +08:00
Meow33
121482528b docs: fix errors 2025-10-29 11:45:26 +08:00
Calvin W.
ac482bceae Update field names and relevant description (#1982) 2025-10-29 11:38:27 +08:00
Meow33
3692f5ed7d Merge branch 'docs/add-user-activate-cli-command' of https://github.com/beclab/Olares into docs/add-user-activate-cli-command 2025-10-29 11:27:39 +08:00
Meow33
ce32e32433 docs: improve formatting and fix minor errors 2025-10-29 11:27:36 +08:00
Meow33
fdeea2f4a1 Merge branch 'main' into docs/add-pve-gpu-passthrough-iso-install 2025-10-29 11:15:44 +08:00
Meow33
837aa2037f Merge branch 'main' into docs/add-user-activate-cli-command 2025-10-29 11:10:15 +08:00
berg
45065b03e3 system-frontend: update version to v1.5.15 (#2008)
feat: update system frontend to v1.5.15
2025-10-29 00:12:40 +08:00
Meow33
195f8c6ec7 docs: format the doc and add argument section 2025-10-28 21:18:35 +08:00
Sai
20202d1cdb feat: market support systemenv (#2006)
support systemenv
2025-10-28 20:33:06 +08:00
Meow33
e4d31241da docs: improve formatting and fix minor errors 2025-10-28 20:14:47 +08:00
Calvin W.
83dc24df94 docs: move concepts to developer doc (#1952) 2025-10-28 20:08:40 +08:00
dkeven
890eb8ea46 feat(cli): add upgrader for main release version 1.12.2 (#2005) 2025-10-28 18:27:07 +08:00
simon
d57f01f88b download: add file_type && modify aira2 percent calculate (#2002)
download 0.1.12
2025-10-28 17:08:33 +08:00
dkeven
3297f3088e feat(daemon): handle sysenv for dockerhub mirror endpoint (#2000) 2025-10-28 17:07:59 +08:00
Meow33
f34ab4d5ce docs: add set system environment variables for settings 2025-10-28 16:50:05 +08:00
cal-weng
2f775e098e docs: add cookie management in Integrations 2025-10-28 15:35:41 +08:00
eball
56600420f1 chore: update version to 1.12.3 in workflows and scripts (#2001) 2025-10-28 13:51:15 +08:00
Calvin W.
4e579bc934 Update docs/zh/manual/larepass/private-network.md 2025-10-28 11:49:52 +08:00
cal-weng
8571da9761 fix building error 2025-10-28 11:26:42 +08:00
aby913
0a591f7a3c fix: avoid glob parsing for special-char filenames (#1999) 2025-10-27 23:46:31 +08:00
berg
84dec294da system-frontend: update system-frontend to v1.5.14 (#1998)
feat: update system-frontend to v1.5.14
2025-10-27 23:46:04 +08:00
hysyeah
e3cb3e5a54 app-service: upgrade chart via appmgr controller in setup domain (#1997) 2025-10-27 23:45:25 +08:00
dkeven
9fb31d52b7 fix(daemon): handle LVM device when getting disksize (#1996) 2025-10-27 23:44:54 +08:00
cal-weng
5a7c8f539a fix error 2025-10-27 21:09:16 +08:00
cal-weng
9305b09717 docs: add local URL for Olares access doc 2025-10-27 19:43:07 +08:00
Meow33
25b2ff91af docs: add documentation for the "user activate" CLI command 2025-10-27 19:34:26 +08:00
eball
7f6091afb1 juicefs: bump version to v1.3.0 in Olares.yaml (#1993) 2025-10-27 18:52:31 +08:00
eball
fe3acf669e cli: fix some user activation bugs (#1992)
* fix(cli): update UserBindTerminus to return access token and adjust activation wizard call

* Update wizard.go

feat: ensure authUrl has worked

* Update wizard.go

* feat(cli): add reset password option to user activation command

* feat: add initializeAccount and upload mainvault

* fix: update UserBindTerminus to return access token and improve error handling in RunWizard

* feat: implement AES-GCM encryption in encryptAESGCM function and add necessary imports

* fix: improve account retrieval and error handling in Login and initializeAccount functions

* Update app.go

* feat: update

* fix: comment out TOTP initialization in Signup and adjust account retrieval in Login

---------

Co-authored-by: Peng Peng <billpengpeng@gmail.com>
2025-10-27 18:52:14 +08:00
dkeven
18950cc43b fix(bfl): use dynamical variable endpoint in cert manager (#1991) 2025-10-27 18:51:56 +08:00
cal-weng
d25bde12c3 add multiple cards for one app support and update GPU modes description 2025-10-27 15:30:45 +08:00
wiy
f0542c3ea5 feat(olares-app): update system-frontend version to v1.5.13 (#1990) 2025-10-25 00:35:04 +08:00
eball
70185da4a7 refactor: change the backend of JuiceFS notify daemon to inotify (#1989)
fix: update fsnotify daemon and proxy images to v0.1.4 and v0.1.11 respectively
2025-10-25 00:34:24 +08:00
hysyeah
1dc859f225 app-service: fix helm upgrade set recreate to false (#1988) 2025-10-25 00:33:46 +08:00
eball
7a84a51940 feat: refactor disk utility functions to improve disk size retrieval (#1985) 2025-10-25 00:33:14 +08:00
cal-weng
d5122fac17 docs: update FRP setting and related activation process 2025-10-24 21:20:47 +08:00
Meow33
36167790df Resolve merge conflicts and update internal links 2025-10-24 20:59:24 +08:00
Meow33
ad5e1328c5 Merge branch 'main' into docs/add-pve-gpu-passthrough-iso-install 2025-10-24 20:45:44 +08:00
Meow33
e2b8cf1cf2 update docs about gpu passthrough and installation in PVE 2025-10-24 16:32:29 +08:00
dkeven
6f8d9f15b2 fix(image-service): watch whole config dir to tolerate file removal (#1979) 2025-10-24 14:45:15 +08:00
cal-weng
64215b478f add anchor link to SSH password reset and fix format 2025-10-24 11:38:42 +08:00
hysyeah
f8faecdc36 app-sevice: fix upgrade chart context in setupdomain cause release failed (#1984) 2025-10-23 23:50:09 +08:00
wiy
656894e46a feat(olares-app): update system-frontend version to v1.5.12 (#1983) 2025-10-23 23:49:19 +08:00
aby913
3caaa6b63b files(fix): optimize the return value of the accounts query (#1981)
fix: optimize the return value of the accounts query
2025-10-23 23:48:49 +08:00
Sai
ad5acdbf1d fix: chartrepo support oci type in image manifest (#1980)
support oci type in image manifest
2025-10-23 23:47:15 +08:00
dkeven
24ef743d24 fix(cli): lazy load DID cache db upon invoke (#1977) 2025-10-23 23:45:33 +08:00
cal-weng
0e3e61afe3 fix links 2025-10-23 21:47:20 +08:00
cal-weng
de254bee66 fix links 2025-10-23 21:34:54 +08:00
Meow33
96f2aa5b30 Update field names and relevant description 2025-10-23 20:58:37 +08:00
cal-weng
f86c4e5e52 Add Olares One only badge for Fan panel 2025-10-23 20:48:53 +08:00
cal-weng
05c2fe8c35 add description for SSH password reset 2025-10-23 20:27:13 +08:00
Peng Peng
dcd8413dcf Revert "Update wizard.go"
This reverts commit b4b13b0aa9.
2025-10-23 19:34:05 +08:00
Peng Peng
b4b13b0aa9 Update wizard.go 2025-10-23 19:33:50 +08:00
cal-weng
d8d4b6d9f9 docs: update work mode and fan panel for Olares One 2025-10-23 15:33:40 +08:00
wiy
2ebc4dc700 feat(olares-app): update olares-app new version to v1.5.11 (#1976) 2025-10-23 11:05:13 +08:00
dkeven
910334101c feat(app-service): auto-suspend app upon evicted or long-pending pod (#1975) 2025-10-23 11:04:47 +08:00
dkeven
b53dc23d80 chore(bfl): rename fields in olares info API (#1974) 2025-10-23 11:04:15 +08:00
dkeven
0325f41617 fix(gpu): make App and GPU binding request idempotent (#1973) 2025-10-23 11:03:48 +08:00
eball
99176209ea cli: add user activation command (#1972)
* feat: implement SSI Authentication Client and User Store

* feat: add user activation command with validation and wizard integration

* fix: set default values for BflUrl and VaultUrl in user activation command
2025-10-23 11:03:19 +08:00
dkeven
694f349e10 fix(cli): install a stable version of nvidia container tool (#1971) 2025-10-23 11:03:02 +08:00
aby913
ea872ca156 download(fix): fix role, path match (#1970) 2025-10-23 11:02:32 +08:00
aby913
e5bdfa2840 backup(fix): check suffix of path (#1969)
* backup(fix): check suffix of path

* fix: ignore missing files when backup apps
2025-10-23 11:02:04 +08:00
salt
0a474797a6 feat: add service for search3monitor rest api (#1968)
* feat: add network policy for search3monitor rest api

* feat: remove network policy

---------

Co-authored-by: ubuntu <you@example.com>
2025-10-23 11:01:22 +08:00
eball
6215da6cc0 daemon: update dependencies and improve WebSocket handling in proxy server (#1967)
fix: update dependencies and improve WebSocket handling in proxy server
2025-10-22 16:42:18 +08:00
eball
4c3cf83106 fix: intranet server bugs (#1966)
* feat: add X-Forwarded-Proto header to proxy requests

* feat: add X-Forwarded-Proto header to proxy requests

* fix: intranet server bugs

* feat(olares-app): update olares-app version to v1.5.10

---------

Co-authored-by: qq815776412 <815776412@qq.com>
2025-10-22 00:02:49 +08:00
hysyeah
6d7c963898 app-service: rename envoy sidecar name (#1965) 2025-10-22 00:01:59 +08:00
aby913
1cf8dcda3b backup(fix): access integration (#1964) 2025-10-22 00:01:02 +08:00
simon
38c6f29023 fix: support nodes, add download env (#1963)
* download add env

* fix: support nodes

---------

Co-authored-by: aby913 <aby913@163.com>
2025-10-22 00:00:14 +08:00
0x7fffff92
fd08ef8816 fix: Increase permissions and resolve mirror cache issues (#1961)
Co-authored-by: 0x7fffff92 <0x7fffff92@example.com>
2025-10-21 23:59:36 +08:00
dkeven
a176a5dc7a chore(manifests): SMTP-related modifications to user env (#1959) 2025-10-21 23:58:57 +08:00
eball
e02fd1b2de daemon: run proxy server in a goroutine (#1962)
Start the proxy server in a goroutine to avoid blocking.
2025-10-21 19:00:40 +08:00
eball
4e6b410d3b feat: update L4 proxy image version to v0.3.6 in deployment configurations (#1960) 2025-10-21 14:22:20 +08:00
wiy
d31a46b6f5 feat: update system frontend to v1.5.9 (#1958)
Co-authored-by: icebergtsn <zyh2433219116@gmail.com>
2025-10-20 23:55:34 +08:00
eball
774a0e14c4 daemon: access from intranet via domain olares.local (#1957)
* feat: implement mDNS server and proxy server structures for intranet

* feat: implement mDNS server and proxy server structures for intranet

* feat(intranet): implement server initialization and start logic

* refactor: mdns server

* feat(intranet): implement proxy server and enhance server management

* feat: Enhance intranet server functionality and update dependencies

- Refactored mDNS server start and restart methods for clarity.
- Improved SetHosts method to handle host management more effectively.
- Added Reload method to the Server struct for dynamic configuration updates.
- Integrated application URL retrieval from Kubernetes into the intranet watcher.
- Updated Go module dependencies to newer versions for better stability and features.
- Adjusted deployment configurations for L4 proxy and ingress images.

* feat: Upgrade L4BflProxy and update auth image version to 0.2.36

* feat: Update Kubernetes dependencies and improve intranet server handling
2025-10-20 23:54:56 +08:00
Peng Peng
115fb2123e docs: remove unused vertical bar (#1956) 2025-10-20 21:39:49 +08:00
Calvin W.
7d1453b283 docs: update license badge in ReadMe to AGPL-3 (#1955)
docs: update license badge to AGPL-3
2025-10-20 21:31:08 +08:00
Calvin W.
e6e1f33ffd docs: update links and note for ISO install guides (#1953)
* docs: update links and note for ISO install guides

* update links

* update link in PVE ISO install doc

* fix display for installation methods

* Remove redundant lines
2025-10-20 21:07:05 +08:00
dkeven
aeef6f602b chore(manifests): add required userenvs and remove currently unused ones (#1954) 2025-10-20 20:38:32 +08:00
dkeven
17ff965a32 fix: unify shell env name of cdn service with sysenv (#1951) 2025-10-20 20:37:25 +08:00
cal-weng
1305ffe910 docs: move concepts to developer doc 2025-10-20 13:37:27 +08:00
aby913
aa79d97dc6 feat(integration): integration server (#1948) 2025-10-18 14:21:58 +08:00
aby913
b79f94fe37 refactor: change download to DaemonSet and migrate to os-framework (#1942)
* refactor:  change download to DaemonSet  and migrate to os-framework

* Update PG_HOST value in download_deploy.yaml

* fix: buidl path

---------

Co-authored-by: eball <liuy102@hotmail.com>
2025-10-18 14:21:08 +08:00
wiy
1d3cbde451 feat(olares-app): update olares-app version to v1.5.8 (#1947) 2025-10-18 00:14:44 +08:00
dkeven
8aa08d041d chore: clean up and migrate from legacy envs (#1946)
* chore(cli): get rid of injection of legacy envs

* chore(cli): clean up legacy env MARKET_PROVIDER

* chore: rename download cdn url to olares cdn service

* chore: change default cdn service url
2025-10-18 00:13:50 +08:00
hysyeah
07fe0fd852 tapr: fix minio policy was override when set multi bucket (#1945)
tapr: fix minio policy was overwrite when set multi bucket
2025-10-18 00:11:52 +08:00
eball
fd2f4bace4 system-server: fix rbac https provider bug (#1944) 2025-10-17 17:24:09 +08:00
dkeven
ed74c31e85 fix(app-service): retain legacy env rendering for migration (#1943) 2025-10-17 17:23:53 +08:00
dkeven
3c7d0bb87c chore(manifests): clean up legacy env rendering in all files (#1941) 2025-10-17 17:19:05 +08:00
eball
8dc819008c olares: remove kubectl container from Olares.yaml (#1940) 2025-10-17 17:18:30 +08:00
dkeven
89dc9a31c8 chore: get rid of legacy env injection for tailscale (#1939) 2025-10-17 17:18:12 +08:00
Calvin W.
3f5c15e9f3 docs: add iso install guide and move back all supported install methods in get started (#1911) 2025-10-17 16:56:39 +08:00
Calvin W.
9b04cea89f Update docs/manual/get-started/install-olares.md 2025-10-17 16:40:17 +08:00
Calvin W.
d9768fb7bb docs: add storage expansion guide (#1914) 2025-10-17 13:44:27 +08:00
eball
aca1d9df99 system-server: add notification provider (#1938) 2025-10-17 00:06:48 +08:00
wiy
3594ab5de3 feat(olares-app): update olares-app version to v1.5.7 (#1937)
* feat(olares-app): update olares-app version to v1.5.7

* feat(user-service): update user-service notification request to provider
2025-10-17 00:05:45 +08:00
dkeven
9d4dd57b69 gpu(optimize): lower metrics collect interval to reduce lag (#1934) 2025-10-17 00:05:13 +08:00
eball
badf84e5d7 system-server: fix websocket rbac proxy tls bug (#1932) 2025-10-17 00:04:45 +08:00
dkeven
2df9fd0f9b refactor: choose reverse proxy config during activation if enabled (#1935)
* refactor(cli): get rid of legacy proxy envs in favor of new option

* refactor: update app-service & bfl to ajust for new network settings
2025-10-16 21:44:22 +08:00
hysyeah
139d82eddf fix: add addon charts image (#1931) 2025-10-16 21:39:01 +08:00
cal-weng
0bf4fd259d adjust wording 2025-10-16 21:12:23 +08:00
cal-weng
76c5da5f7f adjust table width 2025-10-16 21:08:18 +08:00
cal-weng
6239d18f15 fix deadlinks 2025-10-16 20:40:35 +08:00
cal-weng
54404e84c0 add ISO links 2025-10-16 20:36:37 +08:00
Meow33
9448ef1b73 Update expand-storage-in-olares.md 2025-10-16 19:16:00 +08:00
eball
6241cceceb cli: refactor error handling for jws cache directory checks (#1933)
* cli: refactor error handling for jws cache directory checks

* fix: add nil check for directory info before removal
2025-10-16 17:27:44 +08:00
Meow33
3b3e65ea9f updated code block formatting 2025-10-16 17:07:16 +08:00
Meow33
e994ecb8fd updated screenshots and adjusted level of Unmount a partition 2025-10-16 15:29:18 +08:00
wiy
91728176ad feat(olares-app): update olares-app version to 1.5.6 (#1930) 2025-10-16 00:18:18 +08:00
dkeven
c3c257af94 feat(app-service): also sync type from referred envs (#1929) 2025-10-16 00:17:31 +08:00
eball
4058206fd6 system-server: support https provider (#1928) 2025-10-16 00:16:35 +08:00
dkeven
90ad4c73dd feat(gpu): export and serve GPU power limit metrics (#1927) 2025-10-16 00:15:53 +08:00
Meow33
d1c4dd9b95 updated 2025-10-15 14:54:40 +08:00
Meow33
28c1ee9dfa updated accordingly
All comments addressed. Please review again.
2025-10-15 14:52:28 +08:00
cal-weng
ed45ac7dda fix wrong reuse 2025-10-15 13:49:16 +08:00
cal-weng
7fba177f94 fix dead links and wording 2025-10-15 13:45:04 +08:00
cal-weng
5c3febdfa6 docs: move alternative installation methods back to get started and rewrite the overview page 2025-10-15 11:38:34 +08:00
berg
246aaad54a system frontend: update version to v1.5.5 (#1926)
feat: update frontend version
2025-10-14 23:29:25 +08:00
hysyeah
9cf65c5d7c app-service: fix middleware check (#1925) 2025-10-14 23:28:38 +08:00
aby913
ec6316e943 refactor(backup): watch systemenvs as service addresses (#1924) 2025-10-14 23:25:37 +08:00
0x7fffff92
ee1845dab9 feat: support new env (#1910)
Co-authored-by: 0x7fffff92 <0x7fffff92@example.com>
2025-10-14 21:21:05 +08:00
dkeven
7e79602c1e refactor(nodeinit): watch systemenvs as service addresses (#1923) 2025-10-14 19:12:46 +08:00
eball
63f678ae5e system-server: add RBAC permissions for media server and hami services (#1922)
* feat: add RBAC permissions for media server and hami services; update proxy services

* chore: update app-service image version to 0.4.19
2025-10-14 19:12:14 +08:00
dkeven
eb860449aa refactor(daemon): watch systemenvs as service addresses (#1920) 2025-10-14 19:10:05 +08:00
Sai
4360e2591e feat: market support new env key (#1918)
update env config
2025-10-14 19:04:07 +08:00
dkeven
fc35c00305 refactor(app-service): watch sysenvs as svc addrs; migrate sysenv based on sys domain (#1921) 2025-10-14 16:44:42 +08:00
eball
26acd08025 chore: update cli dependency version in go.mod and go.sum (#1919) 2025-10-14 14:14:01 +08:00
eball
360e7e0f71 cli: simplify error handling for database opening (#1917) 2025-10-14 13:33:15 +08:00
wiy
d98feab763 feat: update files cdn address (#1916)
feat: update files cdn address file.bttcdn.com to app.cdn.olares.com
2025-10-13 23:50:07 +08:00
dkeven
3dac3c2a13 refactor: unify various SystemEnvs; migrate BFL to new env framework (#1915)
* refactor: unify various system envs into one

* refactor(bfl): watch unified systemenv resource as API address
2025-10-13 23:48:58 +08:00
Meow33
3a45f6dd8b docs: add storage expansion guide 2025-10-13 21:34:02 +08:00
eball
e3df0cda78 daemon: update cli dependency version in go.mod and go.sum (#1913) 2025-10-13 20:01:43 +08:00
eball
ace4363e51 cli: use constant for DIDCachePath and improve directory handling (#1912)
cli: use constant for DIDCachePath and improve directory handling in init function
2025-10-13 17:25:43 +08:00
dkeven
32b4413599 fix(daemon): log warnings upon system error in upgrade precheck (#1909) 2025-10-13 16:59:18 +08:00
cal-weng
c749008d87 docs: add iso install method in get started 2025-10-13 16:38:27 +08:00
berg
a44909b825 feat: support configuring app environment variables during installation in the app market. (#1907) 2025-10-11 23:54:01 +08:00
cal-weng
5a434b5b50 resolve comments 2025-10-11 21:45:15 +08:00
cal-weng
d8db9c458c update wording 2025-10-11 21:23:52 +08:00
hysyeah
435ceff018 app-serivce: add option images for middleware that create with cr (#1906) 2025-10-11 19:58:34 +08:00
eball
a73bdb5b27 authelia: mark requests from master node internal network as internal (#1905)
authelia: mark request from master node internal network as internal
2025-10-11 19:56:15 +08:00
wiy
ab80bebc97 feat(olares-app): remove cloud drive config (#1904) 2025-10-11 19:53:27 +08:00
cal-weng
861c5812b3 docs: update GPU mode descriptions to be more accurate 2025-10-11 15:06:45 +08:00
eball
89119319f3 app-service: add desktop provider roles and bug fix (#1901)
app-service: update app-service image version to 0.4.16 and add desktop provider roles
2025-10-11 00:52:34 +08:00
berg
9e9e29fa07 user-service: support displaying environment variables in settings (#1900)
feat: release user-service version: v0.0.56
2025-10-11 00:52:03 +08:00
hysyeah
628dc885c9 app-service,tapr: add support for mysql8 middleware (#1899) 2025-10-10 00:23:35 +08:00
Sai
5b73c14d3c feat: market support mobile key (#1896)
market support mobile key
2025-10-10 00:23:04 +08:00
eball
77158cc609 app-service: add namespace selector to bfl pod selector (#1898) 2025-10-09 19:43:02 +08:00
dkeven
fd7f579996 refactor(cli): move upgrader registration of different versions to seperate files (#1897) 2025-10-09 17:27:49 +08:00
hysyeah
962d7964ed cli: add kubeproxy image to vfs (#1895) 2025-10-02 01:04:22 +08:00
eball
93d6581a74 daemon: did-gate-url bug (#1894) 2025-09-30 21:09:03 +08:00
hysyeah
1d586790da app-service,tapr: add support for mariadb middleware (#1893)
feat: add support for mariadb middleware
2025-09-30 16:03:17 +08:00
eball
d7844ee4a7 olares: change kube-rbac-proxy image repo (#1892) 2025-09-30 14:20:09 +08:00
eball
c54d8fc956 daemon: get did-gate-url from environment (#1891)
* daemon: get did-gate-url from envrionment

* fix: update go mod
2025-09-30 00:01:57 +08:00
eball
6af571b6d4 cli: change did-gate-url to a variable (#1890) 2025-09-29 20:03:32 +08:00
dkeven
b574663cdd fix(cli): unify apt tool installation check for both Ubuntu & Debian (#1889) 2025-09-29 17:47:14 +08:00
eball
77076f97fe authelia: mark request from cluster pods as internal (#1888) 2025-09-29 17:46:03 +08:00
hysyeah
330fffd380 cli: stripped-down kubeblocks crds (#1886)
* cli: stripped-down kubeblocks crds

* fix: get kubeblocks deployment
2025-09-29 17:45:36 +08:00
dkeven
3f24bb046e fix(cli): add retry with delay before applying CR of new kind (#1887) 2025-09-29 14:05:57 +08:00
dkeven
dff1928b3c feat(app-service): support declaration of GPU consume policy in app manifest (#1885) 2025-09-29 00:01:07 +08:00
berg
3c5e037372 system frontend: update system frontend to v1.5.3 (#1884)
feat: update system frontend to v1.5.3
2025-09-28 20:30:44 +08:00
dkeven
2def8f51b7 feat: support declaration and apply of system and user envs (#1881)
* feat: support declaration and apply of system and user envs

* infisical: move namespace to os-protected (#1878)

* infisical: move namespace to os-protected

* fix: lint error

* fix: add namespace os-protected

* fix: middleware request user

* Update tapr-sidecar image version to 0.1.14

* feat: support declaration and apply of system and user envs

---------

Co-authored-by: eball <liuy102@hotmail.com>
Co-authored-by: liuyu <>
2025-09-27 02:26:41 +08:00
hysyeah
97edd192f2 app-service,tapr: add support for rabbitmq and elasticsearch middleware (#1882)
* app-service,tapr: add support for rabbitmq and elasticsearch middleware

* fix: remove mongodb dir
2025-09-27 01:24:57 +08:00
eball
5c668d622e infisical: move namespace to os-protected (#1878)
* infisical: move namespace to os-protected

* fix: lint error

* fix: add namespace os-protected

* fix: middleware request user

* Update tapr-sidecar image version to 0.1.14
2025-09-27 01:04:11 +08:00
dkeven
29ef564e98 fix(upgrade): apply KubeBlocks CRDs when upgrading (#1880) 2025-09-26 20:38:07 +08:00
berg
6f174f6d82 system frontend: update version to v1.5.2 (#1877)
feat: update system frontend version to v1.5.2
2025-09-26 19:57:15 +08:00
eball
9f98007ce7 olares: avoid requesting backend service directly (#1875)
* olares: avoid requesting backend service directly

* fix: wrong namespace

* fix: vault server proxy

* fix: seafile and infisical proxy
2025-09-26 18:55:36 +08:00
eball
234b887787 authelia: remove authentication with backend nonce (#1876)
* authelia: remove authentication with backend nonce

* backup: remove backend nonce

---------

Co-authored-by: aby913 <aby913@163.com>
2025-09-26 15:53:40 +08:00
hysyeah
fcf6c507be image-serivce: fix avoid panic with invalid image ref (#1874) 2025-09-26 11:13:00 +08:00
Calvin W.
9f7e2c49e0 docs: add note for GPU support (#1873)
* docs: add note for GPU support models

* update judgement method
2025-09-25 21:46:49 +08:00
dkeven
9719a72aec feat(gpu): support many to many GPU bindings based on App policy (#1872) 2025-09-25 21:45:12 +08:00
hysyeah
6cbd31a11f app-service,tapr,cli: support kubeblocks middleware mongodb minio (#1834)
* app-service,tapr,cli: support kubeblocks middleware mongodb minio

* set image tag

* fix: add KB_MIDDLEWARES env

* fix: rabbitmq addon chart location url
2025-09-25 15:25:11 +08:00
Meow33
d60accd2f6 update instructions on Install on PVE section (#1871)
* update Install on PVE section

* Update pve-via-iso-image.md
2025-09-25 15:24:41 +08:00
Calvin W.
0f56ebf4a5 docs: update market doc with multi-source switch (#1869)
* docs: update market doc with multi-source switch

* Update docs/zh/manual/olares/market.md
2025-09-25 13:40:04 +08:00
Meow33
1e9f0bca72 docs: update iso install on pve (#1868)
* add doc /Users/a123/Documents/GitHub/Olares/docs/developer/install/pve-via-iso-image.md

* add doc PVE install via ISO image

* Update docs/developer/install/pve-via-iso-image.md

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Update docs/developer/install/pve-via-iso-image.md

* Update docs/zh/developer/install/pve-via-iso-image.md

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @Meow33

* Apply suggestion from @Meow33

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @cal-weng

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Apply suggestion from @Meow33

* Apply suggestion from @Meow33

* Apply suggestion from @Meow33

* Apply suggestion from @Meow33

* Apply suggestion from @Meow33

* Apply suggestion from @Meow33

* Apply suggestion from @Meow33

* Apply suggestion from @Meow33

* Apply suggestion from @Meow33

* update note for installing the graphics driver

---------

Co-authored-by: Calvin W. <wenghao@bytetrade.io>
2025-09-25 13:39:16 +08:00
dkeven
74ee951758 feat: support installation on Ubuntu 25.04 (#1870) 2025-09-25 11:17:13 +08:00
wiy
77c4decaad fix(vault): import account bug (#1866) 2025-09-23 20:52:29 +08:00
0x7fffff92
0447114b54 Fix: Use CORS for all request methods, not just OPTIONS (#1867)
fix: Use CORS for all request methods, not just OPTIONS

Co-authored-by: 0x7fffff92 <0x7fffff92@example.com>
2025-09-23 20:32:46 +08:00
eball
1c1c370daf bfl: set auth upstream header to files proxy (#1865) 2025-09-23 19:52:47 +08:00
eball
da9cde1cbd daemon: ssh password apis (#1864)
* daemon: ssh password apis

* fix: not enough arguments
2025-09-23 19:34:03 +08:00
aby913
3d54075607 fix: query snapshot failed from Cache directory (#1863)
fix: restore cache path invalid
2025-09-23 13:09:26 +08:00
Calvin W.
60585fe6d2 docs: add iso activation method for LarePass (#1861)
* docs: add iso activation method for LarePass

* Apply suggestions from code review

Co-authored-by: Meow33 <supermonkey03@163.com>

* update image

* Apply suggestions from code review

* Apply suggestions from code review

---------

Co-authored-by: Meow33 <supermonkey03@163.com>
2025-09-23 13:08:29 +08:00
Calvin W.
2e3df3d805 docs: add note for multi-node display for cluster physical resources (#1859) 2025-09-23 13:08:05 +08:00
Calvin W.
9af67a27c4 docs: add doc for video settings (#1858)
* docs: add doc for video settings

* Update docs/manual/olares/settings/video.md

Co-authored-by: Meow33 <supermonkey03@163.com>

* Update docs/manual/olares/settings/video.md

Co-authored-by: Meow33 <supermonkey03@163.com>

---------

Co-authored-by: Meow33 <supermonkey03@163.com>
2025-09-23 13:07:40 +08:00
Calvin W.
1540081ef9 docs: restore the cloud drive related topics and lines (#1847)
* docs: restore the cloud drive related topics and lines

* Apply suggestions from code review

Co-authored-by: Meow33 <supermonkey03@163.com>

---------

Co-authored-by: Meow33 <supermonkey03@163.com>
2025-09-23 13:07:06 +08:00
Meow33
556d900fcd docs: updates on Settings-My Olares (#1844)
* Updates on Settings-My Olares

* update Settings screenshots

* Update docs/manual/olares/settings/my-olares.md

* Update docs/zh/manual/olares/settings/my-olares.md

* Update docs/zh/manual/olares/settings/my-olares.md

* Update docs/zh/manual/olares/settings/my-olares.md

* Update docs/manual/olares/settings/my-olares.md

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Update docs/manual/olares/settings/my-olares.md

Co-authored-by: Calvin W. <wenghao@bytetrade.io>

* Update docs/zh/manual/olares/settings/my-olares.md

* Update docs/zh/manual/olares/settings/my-olares.md

---------

Co-authored-by: Calvin W. <wenghao@bytetrade.io>
2025-09-23 13:06:34 +08:00
aby913
2e9c2f79d0 backup: backup cache path invalid, password get failed (#1862) 2025-09-23 00:44:48 +08:00
eball
5b1438413c hami: bump hami-core version (#1857) 2025-09-23 00:44:02 +08:00
wiy
37b930ea83 feat(system-frontend): release new version to v1.4.37 (#1860) 2025-09-22 17:09:00 +08:00
salt
208fb789af feat: allow search3 search3monitor receiver os.users nats message (#1855)
Co-authored-by: ubuntu <you@example.com>
2025-09-22 13:28:29 +08:00
Sai
2dd9d6f754 fix: market initialization skipped (#1856)
fix initialization skipped
2025-09-22 13:27:58 +08:00
wiy
e32e878685 feat(system-frontend): release new version to v1.4.35 (#1854) 2025-09-20 00:25:25 +08:00
aby913
9a5e5e1faf bfl: must reconcile when files pod ip assigned (#1852)
* bfl: must reconcile when files pod ip assigned

* Update ingress image version to v0.3.21

---------

Co-authored-by: eball <liuy102@hotmail.com>
2025-09-20 00:24:51 +08:00
hysyeah
392bcce478 app-serivce: fix v2 uninstall all wait ns be deleted (#1851) 2025-09-19 13:04:01 +08:00
Sai
dec07f3330 fix:Market defending against abnormal data (#1850)
Defending against abnormal data
2025-09-19 13:03:37 +08:00
eball
6dc12964c9 authelia: unsafe pointer thread-safe bug (#1849)
authelia: unsafe pointer thread safe bug
2025-09-19 01:03:01 +08:00
hysyeah
a796c6704a fix: do not update random-key when exists (#1846) 2025-09-19 00:12:54 +08:00
aby913
fc3284baca files: optimize error message (#1848)
fix: optimize error message
2025-09-19 00:12:12 +08:00
berg
794e586434 system frontend: update system frontend to v1.4.33 (#1845)
feat: update system frontend to v1.4.33
2025-09-18 21:37:48 +08:00
eball
f3d1e2fca2 olares: add priority class to some system services (#1843)
* olares: add priority class to some system services

* fix: add system-cluster-critical priority for tapr middleware

---------

Co-authored-by: hys <hysyeah@gmail.com>
2025-09-18 21:25:27 +08:00
dkeven
710970851d fix(cli): distinguish exit code when checking status of terminated containers (#1842) 2025-09-18 21:24:26 +08:00
salt
bf54bd3632 fix: fix fail delete, fix fail exit when pod exit (#1841)
fix: fix fail delete, fix fail exid when pod exit

Co-authored-by: ubuntu <you@example.com>
2025-09-18 21:04:01 +08:00
hysyeah
7e31acf719 authelia: fix aesdecrypt unpadding panic (#1840) 2025-09-18 21:02:21 +08:00
Sai
4043f803a1 fix: Optimizing task execution (#1839)
Optimizing task execution
2025-09-17 20:25:43 +08:00
wiy
4e1a08bcc5 feat(system-frontend): release new version to v1.4.31 (#1838) 2025-09-17 20:17:42 +08:00
eball
65999fe3b0 system-server: get user token from cookie in priority (#1837) 2025-09-17 18:48:38 +08:00
hysyeah
a3c121418a lldap: invalidate refresh token after reset password (#1836) 2025-09-17 18:48:19 +08:00
eball
bdc90c4c09 authelia, systemserver: authenticate the request with public policy in rbac proxy (#1835) 2025-09-17 16:38:43 +08:00
wiy
472a461bd9 fix(system-frontend): settings backup bug (#1833) 2025-09-17 16:34:35 +08:00
lovehunter9
3b97326269 fix: files nginx and relative changed for improving (#1831)
* fix: files nginx and relative changed for improving

* fix: automatically number duplicate files and folders when copying
2025-09-17 14:42:25 +08:00
aby913
04e84a68c0 fix: files, settings forwarding configuration (#1832) 2025-09-16 23:51:53 +08:00
wiy
3fd82f150e feat(system-frontend): upgrade system frontend version to v1.4.29 (#1829)
* feat(system-frontend): upgrade system frontend version to v1.4.29

* Update notification_deploy.yaml

* fix source manager ui for market

* Optimize task lock contention in multi-user and multi-source environments

* feat(system-frontend): upload version to v1.4.30

---------

Co-authored-by: Sai <kldtks@live.com>
2025-09-16 23:51:22 +08:00
salt
851745f60c feat: refactor monitor (#1830)
Co-authored-by: ubuntu <you@example.com>
2025-09-16 21:22:09 +08:00
wiy
43f7b6533d feat(system-frontend): update olares-app version to v1.4.27 (#1824) 2025-09-15 11:36:44 +08:00
berg
de0c1dd9f4 feat: update system frontend version to v1.4.28 (#1828) 2025-09-15 00:20:42 +08:00
Meow33
a6407f12e1 Reset official link (#1826)
Change from https://one.olares.com to https://www.olares.com
2025-09-13 17:29:05 +08:00
0x7fffff92
7219cbab11 feat: Supports Google Drive, S3, and Dropbox cloud video playback (#1827)
Co-authored-by: 0x7fffff92 <0x7fffff92@example.com>
2025-09-13 01:14:44 +08:00
Calvin W.
d3d6165f5b Replace larepass link (#1822) 2025-09-12 10:46:24 +08:00
eball
e91f3b56f1 systemserver: clean up user-service-provider.yaml and fix cookie path (#1825)
systemserver: Clean up user-service-provider.yaml and fix cookie path
2025-09-12 01:10:50 +08:00
aby913
3834e88367 fix: preview,delete,download files with special characters (#1823)
fix: preview, delete files with special characters
2025-09-12 00:32:26 +08:00
dkeven
764138452b fix(upgrade): add migration task from system-frontend to olares-app (#1821) 2025-09-12 00:31:37 +08:00
Meow33
f0223eff6a Update docs/zh/manual/larepass/private-network.md
Co-authored-by: Calvin W. <wenghao@bytetrade.io>
2025-09-11 21:34:15 +08:00
Meow33
4f3effb53e Update docs/zh/manual/larepass/index.md
Co-authored-by: Calvin W. <wenghao@bytetrade.io>
2025-09-11 21:33:58 +08:00
Meow33
fc655b5c32 Replace links of larepass and discord 2025-09-11 20:26:22 +08:00
Meow33
c4c8d614b6 Replace larepass link 2025-09-11 19:20:03 +08:00
berg
1d4e637900 market, settings: fix some ui bugs (#1820)
feat: update system frontend version to 1.4.26
2025-09-11 00:44:35 +08:00
eball
c570fd3204 settings, authelia, tapr: settings provider permission and cookie config bug (#1819)
* ci: bump version to 1.12.2

* fix: settings provider permission and cookie config bug

* fix: settings provider permission and cookie config bug
2025-09-11 00:42:39 +08:00
lovehunter9
81a8ca53fa fix: files image and pdf preview, and /api/mount response for choosing path (#1818)
* fix: files image and pdf preview, and /api/mount response for choosing path

* fix: upload to cloud progress, multi dup directories

* fix: upload to cloud and check dst exsts

---------

Co-authored-by: aby913 <aby913@163.com>
2025-09-11 00:42:19 +08:00
dkeven
4e08bf6d3f feat(cli): support installation on Debian 13 and remove no longer supported distros (#1817) 2025-09-11 00:41:32 +08:00
Meow33
93a20fa397 docs: update Developer Guide and Concepts sections in Olares (#1816)
* Content modification

1. Hide Recommendation
2. Update link of LLDAP
3. Update content of Service system

* Jump link reset

* Additional changes
2025-09-10 21:01:31 +08:00
eball
255af9e472 olares: bump version to 1.12.2 (#1815)
ci: bump version to 1.12.2
2025-09-10 14:05:13 +08:00
Calvin W.
fdf73c0b6c docs: update LarePass topics with new UI layout and upgrade process (#1809) 2025-09-10 13:28:02 +08:00
Calvin W.
e0f886b2b9 Update docs/manual/get-started/activate-olares.md
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-09-10 11:05:00 +08:00
Calvin W.
decde7860b Apply suggestions from code review
Co-authored-by: Meow33 <supermonkey03@163.com>
2025-09-10 11:04:04 +08:00
cal-weng
bacc6b6517 add notes for start status 2025-09-09 17:50:34 +08:00
cal-weng
1a71ce2650 docs: update LarePass topics with new UI layout and upgrade process 2025-09-09 15:27:40 +08:00
2276 changed files with 255272 additions and 24765 deletions

View File

@@ -3,12 +3,28 @@ name: Lint and Test Charts
on:
push:
branches: [ "main", "release-*" ]
paths-ignore:
- 'docs/**'
paths:
- '!docs/**'
- 'apps/.olares/**'
- 'build/**'
- 'cli/**'
- 'daemon/**'
- 'framework/**/.olares/**'
- 'infrastructure/**/.olares/**'
- 'platform/**/.olares/**'
- 'vendor/**'
pull_request_target:
branches: [ "main", "release-*" ]
paths-ignore:
- 'docs/**'
paths:
- '!docs/**'
- 'apps/.olares/**'
- 'build/**'
- 'cli/**'
- 'daemon/**'
- 'framework/**/.olares/**'
- 'infrastructure/**/.olares/**'
- 'platform/**/.olares/**'
- 'vendor/**'
workflow_dispatch:
@@ -59,7 +75,7 @@ jobs:
steps:
- id: generate
run: |
v=1.12.1-$(echo $RANDOM$RANDOM)
v=1.12.3-$(echo $RANDOM$RANDOM)
echo "version=$v" >> "$GITHUB_OUTPUT"
upload-cli:
@@ -211,7 +227,7 @@ jobs:
url: 'https://cloud-dev-api.bttcdn.com/v1/resource/installTest'
method: 'POST'
customHeaders: '{"Authorization": "${{ secrets.INSTALL_SECRET }}"}'
data: 'versions=${{ needs.test-version.outputs.version }}&downloadUrl=https://dc3p1870nn3cj.cloudfront.net/install-wizard-v${{ needs.test-version.outputs.version }}.tar.gz'
data: 'versions=${{ needs.test-version.outputs.version }}&downloadUrl=https://cdn.olares.com/install-wizard-v${{ needs.test-version.outputs.version }}.tar.gz'
contentType: "application/x-www-form-urlencoded"
- name: Check Result

View File

@@ -0,0 +1,32 @@
name: App-Service Build test
on:
push:
branches:
- "module-appservice"
paths:
- 'framework/app-service/**'
- '!framework/app-service/.olares/**'
- '!framework/app-service/README.md'
- '!framework/app-service/PROJECT'
pull_request:
branches:
- "module-appservice"
paths:
- 'framework/app-service/**'
- '!framework/app-service/.olares/**'
- '!framework/app-service/README.md'
- '!framework/app-service/PROJECT'
jobs:
build0-main:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y btrfs-progs libbtrfs-dev
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.24.6'
- run: make build
working-directory: framework/app-service

View File

@@ -0,0 +1,62 @@
name: Publish app-service to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
publish_dockerhub_amd64:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and push amd64 Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/app-service:${{ github.event.inputs.tags }}-amd64
context: framework/app-service
file: framework/app-service/Dockerfile
platforms: linux/amd64
publish_dockerhub_arm64:
runs-on: self-hosted
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and push arm64 Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/app-service:${{ github.event.inputs.tags }}-arm64
context: framework/app-service
file: framework/app-service/Dockerfile
platforms: linux/arm64
publish_manifest:
needs:
- publish_dockerhub_amd64
- publish_dockerhub_arm64
runs-on: ubuntu-latest
steps:
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Push manifest
run: |
docker manifest create beclab/app-service:${{ github.event.inputs.tags }} --amend beclab/app-service:${{ github.event.inputs.tags }}-amd64 --amend beclab/app-service:${{ github.event.inputs.tags }}-arm64
docker manifest push beclab/app-service:${{ github.event.inputs.tags }}

View File

@@ -0,0 +1,63 @@
name: Publish image-service to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
publish_dockerhub_amd64:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and push amd64 Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/image-service:${{ github.event.inputs.tags }}-amd64
context: framework/app-service
file: framework/app-service/Dockerfile.image
platforms: linux/amd64
publish_dockerhub_arm64:
runs-on: self-hosted
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and push arm64 Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/image-service:${{ github.event.inputs.tags }}-arm64
context: framework/app-service
file: framework/app-service/Dockerfile.image
platforms: linux/arm64
publish_manifest:
needs:
- publish_dockerhub_amd64
- publish_dockerhub_arm64
runs-on: ubuntu-latest
steps:
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Push manifest
run: |
docker manifest create beclab/image-service:${{ github.event.inputs.tags }} --amend beclab/image-service:${{ github.event.inputs.tags }}-amd64 --amend beclab/image-service:${{ github.event.inputs.tags }}-arm64
docker manifest push beclab/image-service:${{ github.event.inputs.tags }}

View File

@@ -0,0 +1,31 @@
name: Backup Server Build test
on:
push:
branches:
- "module-backup"
paths:
- 'framework/backup-server/**'
- '!framework/backup-server/.olares/**'
- '!framework/backup-server/README.md'
pull_request:
branches:
- "module-backup"
paths:
- 'framework/backup-server/**'
- '!framework/backup-server/.olares/**'
- '!framework/backup-server/README.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.21.10'
- name: Run Build
run: |
make all
working-directory: framework/backup-server

View File

@@ -0,0 +1,36 @@
name: Publish Backup Server to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
publish_dockerhub:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/backup-server:v${{ github.event.inputs.tags }}
file: framework/backup-server/Dockerfile
context: framework/backup-server
platforms: linux/amd64,linux/arm64

View File

@@ -0,0 +1,36 @@
name: Publish Sidecar Backup Sync to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
publish_dockerhub:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/sidecar-backup-sync:v${{ github.event.inputs.tags }}
file: framework/backup-server/Dockerfile.sidecar
context: framework/backup-server
platforms: linux/amd64,linux/arm64

View File

@@ -0,0 +1,43 @@
name: BFL Build test
on:
push:
branches: [ "module-bfl" ]
paths:
- 'framework/bfl/**'
- '!framework/bfl/.olares/**'
- '!framework/bfl/README.md'
pull_request:
branches: [ "module-bfl" ]
paths:
- 'framework/bfl/**'
- '!framework/bfl/.olares/**'
- '!framework/bfl/README.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.22.1'
- name: Run Build
working-directory: framework/bfl
run: |
ksDir="../../kubesphere-ext"
version="v3.3.0-ext"
if [ -d "$ksDir" ]; then
pushd "${ksDir}/"
branch=$(git rev-parse --abbrev-ref HEAD|awk -F / '{print $2}')
if [ x"$branch" != x"$version" ]; then
git checkout $version
fi
popd &>/dev/null
else
git clone https://github.com/beclab/kubesphere-ext.git "${ksDir}"
fi
make all

View File

@@ -0,0 +1,36 @@
name: Publish BFL-API to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
publish_dockerhub:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/bfl:${{ github.event.inputs.tags }}
file: framework/bfl/Dockerfile.api
context: framework/bfl
platforms: linux/amd64,linux/arm64

View File

@@ -0,0 +1,35 @@
name: Publish BFL-frpc to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
publish_dockerhub:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build bfl-frpc and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/frpc:${{ github.event.inputs.tags }}
file: framework/bfl/Dockerfile.frpc
context: framework/bfl
platforms: linux/amd64,linux/arm64

View File

@@ -0,0 +1,35 @@
name: Publish BFL-ingress to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
publish_dockerhub:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build bfl-ingress and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/bfl-ingress:${{ github.event.inputs.tags }}
file: framework/bfl/Dockerfile.ingress
context: framework/bfl
platforms: linux/amd64,linux/arm64

View File

@@ -0,0 +1,58 @@
name: Publish Integration Server to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: "Release Tags"
jobs:
publish_dockerhub:
runs-on: ubuntu-latest
steps:
- name: PR Conventional Commit Validation
uses: ytanikin/PRConventionalCommits@1.1.0
if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target'
with:
task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert","style"]'
add_label: "true"
- name: Check out the repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
with:
image: tonistiigi/binfmt:qemu-v8.1.5
cache-image: false
platforms: arm64
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- uses: actions/setup-go@v2
with:
go-version: 1.23.3
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: get latest tag
uses: "WyriHaximus/github-action-get-previous-tag@v1"
id: get-latest-tag
with:
fallback: latest
- name: Build and push
uses: docker/build-push-action@v2
with:
file: framework/integration/Dockerfile
push: true
tags: beclab/integration-server:${{ github.event.inputs.tags }}
platforms: linux/amd64,linux/arm64
context: framework/integration

View File

@@ -0,0 +1,36 @@
name: Publish Kube State Metrics to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
update_dockerhub:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and Push image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/kube-state-metrics:${{ github.event.inputs.tags }}
file: framework/kube-state-metrics/Dockerfile
platforms: linux/amd64,linux/arm64
context: framework/kube-state-metrics

View File

@@ -0,0 +1,29 @@
name: Kubesphere Build Test
on:
push:
branches:
- "module-kubesphere"
paths:
- 'infrastructure/kubesphere/**'
- '!infrastructure/kubesphere/.olares/**'
- '!infrastructure/kubesphere/README.md'
pull_request:
branches:
- "module-kubesphere"
paths:
- 'infrastructure/kubesphere/**'
- '!infrastructure/kubesphere/.olares/**'
- '!infrastructure/kubesphere/README.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.24'
- run: make binary
working-directory: infrastructure/kubesphere

View File

@@ -0,0 +1,36 @@
name: Publish Kubesphere to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
publish_dockerhub:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/ks-apiserver:${{ github.event.inputs.tags }}
file: infrastructure/kubesphere/build/ks-apiserver/Dockerfile
context: infrastructure/kubesphere
platforms: linux/amd64,linux/arm64

View File

@@ -0,0 +1,47 @@
name: L4-BFL-Proxy Build test
on:
push:
branches: [ "module-l4" ]
paths:
- 'framework/l4-bfl-proxy/**'
- '!framework/l4-bfl-proxy/.olares/**'
- '!framework/l4-bfl-proxy/README.md'
pull_request:
branches: [ "module-l4" ]
paths:
- 'framework/l4-bfl-proxy/**'
- '!framework/l4-bfl-proxy/.olares/**'
- '!framework/l4-bfl-proxy/README.md'
jobs:
build:
runs-on: ubuntu-latest
# runs-on: self-hosted
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.18.2'
- name: Run Build
working-directory: framework/l4-bfl-proxy
run: |
ksDir="../../kubesphere"
tag="v3.3.0"
if [ -d "$ksDir" ]; then
pushd "${ksDir}/"
branch=$(git rev-parse --abbrev-ref HEAD|awk -F / '{print $2}')
if [ x"$branch" != x"$tag" ]; then
git checkout -b $tag
fi
popd &>/dev/null
else
git clone https://github.com/kubesphere/kubesphere.git "${ksDir}"
pushd "${ksDir}/"
git checkout -b $tag
popd &>/dev/null
fi
make all

View File

@@ -0,0 +1,67 @@
name: Publish L4 openresty-base to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
publish_dockerhub_amd64:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build openresty and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: bytetrade/openresty:base-${{ github.event.inputs.tags }}-amd64
file: framework/l4-bfl-proxy/Dockerfile.openresty
platforms: linux/amd64
context: framework/l4-bfl-proxy
publish_dockerhub_arm64:
runs-on: self-hosted
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build nginx-lua and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: bytetrade/openresty:base-${{ github.event.inputs.tags }}-arm64
file: framework/l4-bfl-proxy/Dockerfile.openresty
platforms: linux/arm64
context: framework/l4-bfl-proxy
publish_manifest:
needs:
- publish_dockerhub_amd64
- publish_dockerhub_arm64
runs-on: ubuntu-latest
steps:
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Push manifest
run: |
docker manifest create bytetrade/openresty:base-${{ github.event.inputs.tags }} --amend bytetrade/openresty:base-${{ github.event.inputs.tags }}-amd64 --amend bytetrade/openresty:base-${{ github.event.inputs.tags }}-arm64
docker manifest push bytetrade/openresty:base-${{ github.event.inputs.tags }}

View File

@@ -0,0 +1,35 @@
name: Publish L4-BFL-Proxy to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
publish_dockerhub:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build l4-bfl-proxy and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/l4-bfl-proxy:${{ github.event.inputs.tags }}
file: framework/l4-bfl-proxy/Dockerfile
platforms: linux/amd64,linux/arm64
context: framework/l4-bfl-proxy

View File

@@ -0,0 +1,67 @@
name: Publish L4 nginx-lua to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
publish_dockerhub_amd64:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build nginx-lua and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: bytetrade/openresty:${{ github.event.inputs.tags }}-amd64
file: framework/l4-bfl-proxy/Dockerfile.nginx
platforms: linux/amd64
context: framework/l4-bfl-proxy
publish_dockerhub_arm64:
runs-on: self-hosted
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build nginx-lua and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: bytetrade/openresty:${{ github.event.inputs.tags }}-arm64
file: framework/l4-bfl-proxy/Dockerfile.nginx
platforms: linux/arm64
context: framework/l4-bfl-proxy
publish_manifest:
needs:
- publish_dockerhub_amd64
- publish_dockerhub_arm64
runs-on: ubuntu-latest
steps:
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Push manifest
run: |
docker manifest create bytetrade/openresty:${{ github.event.inputs.tags }} --amend bytetrade/openresty:${{ github.event.inputs.tags }}-amd64 --amend bytetrade/openresty:${{ github.event.inputs.tags }}-arm64
docker manifest push bytetrade/openresty:${{ github.event.inputs.tags }}

View File

@@ -0,0 +1,29 @@
name: OSNode-Init Build test
on:
push:
branches: [ "module-nodeinit" ]
paths:
- 'framework/osnode-init/**'
- '!framework/osnode-init/.olares/**'
- '!framework/osnode-init/README.md'
pull_request:
branches: [ "module-nodeinit" ]
paths:
- 'framework/osnode-init/**'
- '!framework/osnode-init/.olares/**'
- '!framework/osnode-init/README.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.24.6'
- name: Run Build
working-directory: framework/osnode-init
run: |
make all

View File

@@ -0,0 +1,42 @@
name: Publish OSNode-Init to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
publish_dockerhub:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.24.6'
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/osnode-init:v${{ github.event.inputs.tags }}
file: framework/osnode-init/Dockerfile
context: framework/osnode-init
platforms: linux/amd64, linux/arm64

View File

@@ -0,0 +1,31 @@
name: SystemServer Build test
on:
push:
branches:
- "module-systemserver"
paths:
- 'framework/systemserver/**'
- '!framework/systemserver/.olares/**'
- '!framework/systemserver/README.md'
pull_request:
branches:
- "module-systemserver"
paths:
- 'framework/systemserver/**'
- '!framework/systemserver/.olares/**'
- '!framework/systemserver/README.md'
jobs:
build0-main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.22.6'
- run: |
git clone https://github.com/kubernetes/code-generator.git ../code-generator
cd ../code-generator
git checkout -b release-1.27
cd -
make system-server
working-directory: framework/system-server

View File

@@ -0,0 +1,37 @@
name: Publish SystemServer to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
update_dockerhub:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/system-server:${{ github.event.inputs.tags }}
context: framework/system-server
file: Dockerfile
platforms: linux/amd64,linux/arm64

View File

@@ -0,0 +1,37 @@
name: Publish SystemServer Provider Proxy to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
update_dockerhub:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/provider-proxy:${{ github.event.inputs.tags }}
file: framework/system-server/Dockerfile.provider
context: framework/system-server
platforms: linux/amd64,linux/arm64

View File

@@ -0,0 +1,28 @@
name: TAPR Build test
on:
push:
branches:
- "module-tapr"
paths:
- 'platform/tapr/**'
- '!platform/tapr/.olares/**'
- '!platform/tapr/README.md'
pull_request:
branches:
- "module-tapr"
paths:
- 'platform/tapr/**'
- '!platform/tapr/.olares/**'
- '!platform/tapr/README.md'
jobs:
build0-main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: '1.23.3'
- working-directory: platform/tapr
run: |
make build-uploader build-vault build-middleware

View File

@@ -0,0 +1,37 @@
name: Publish TAPR citus to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
update_dockerhub:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/citus:${{ github.event.inputs.tags }}
file: platform/tapr/docker/citus/Dockerfile
platforms: linux/amd64, linux/arm64
context: platform/tapr

View File

@@ -0,0 +1,37 @@
name: Publish TAPR image-uploader to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
update_dockerhub:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/images-uploader:${{ github.event.inputs.tags }}
file: platform/tapr/docker/uploader/Dockerfile
context: platform/tapr
platforms: linux/amd64, linux/arm64

View File

@@ -0,0 +1,62 @@
name: Publish TAPR middleware-operator to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
publish_dockerhub_amd64:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and push amd64 Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/middleware-operator:${{ github.event.inputs.tags }}-amd64
file: platform/tapr/docker/middleware/Dockerfile
context: platform/tapr
platforms: linux/amd64
publish_dockerhub_arm64:
runs-on: self-hosted
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and push arm64 Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/middleware-operator:${{ github.event.inputs.tags }}-arm64
file: platform/tapr/docker/middleware/Dockerfile
context: platform/tapr
platforms: linux/arm64
publish_manifest:
needs:
- publish_dockerhub_amd64
- publish_dockerhub_arm64
runs-on: ubuntu-latest
steps:
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Push manifest
run: |
docker manifest create beclab/middleware-operator:${{ github.event.inputs.tags }} --amend beclab/middleware-operator:${{ github.event.inputs.tags }}-amd64 --amend beclab/middleware-operator:${{ github.event.inputs.tags }}-arm64
docker manifest push beclab/middleware-operator:${{ github.event.inputs.tags }}

View File

@@ -0,0 +1,37 @@
name: Publish TAPR s3rver to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
update_dockerhub:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/s3rver:${{ github.event.inputs.tags }}
file: platform/tapr/docker/middleware/Dockerfile.s3rver
context: platform/tapr
platforms: linux/amd64, linux/arm64

View File

@@ -0,0 +1,62 @@
name: Publish TAPR sys-event to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
publish_dockerhub_amd64:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and push amd64 Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/sys-event:${{ github.event.inputs.tags }}-amd64
file: platform/tapr/docker/sys-event/Dockerfile
context: platform/tapr
platforms: linux/amd64
publish_dockerhub_arm64:
runs-on: self-hosted
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and push arm64 Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/sys-event:${{ github.event.inputs.tags }}-arm64
file: platform/tapr/docker/sys-event/Dockerfile
context: platform/tapr
platforms: linux/arm64
publish_manifest:
needs:
- publish_dockerhub_amd64
- publish_dockerhub_arm64
runs-on: ubuntu-latest
steps:
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Push manifest
run: |
docker manifest create beclab/sys-event:${{ github.event.inputs.tags }} --amend beclab/sys-event:${{ github.event.inputs.tags }}-amd64 --amend beclab/sys-event:${{ github.event.inputs.tags }}-arm64
docker manifest push beclab/sys-event:${{ github.event.inputs.tags }}

View File

@@ -0,0 +1,37 @@
name: Publish TAPR secret-vault to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
update_dockerhub:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/secret-vault:${{ github.event.inputs.tags }}
file: platform/tapr/docker/vault/Dockerfile
context: platform/tapr
platforms: linux/amd64, linux/arm64

View File

@@ -0,0 +1,37 @@
name: Publish TAPR ws-gateway to Dockerhub
on:
workflow_dispatch:
inputs:
tags:
description: 'Release Tags'
jobs:
update_dockerhub:
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v3
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v3
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASS }}
- name: Build and push Docker image
uses: docker/build-push-action@v3
with:
push: true
tags: beclab/ws-gateway:${{ github.event.inputs.tags }}
file: platform/tapr/docker/ws-gateway/Dockerfile
context: platform/tapr
platforms: linux/amd64, linux/arm64

View File

@@ -44,9 +44,9 @@ jobs:
with:
go-version: 1.22.1
- name: install udev-devel
- name: install udev-devel and pcap-devel
run: |
sudo apt update && sudo apt install -y libudev-dev
sudo apt update && sudo apt install -y libudev-dev libpcap-dev
- name: Install x86_64 cross-compiler
run: sudo apt-get update && sudo apt-get install -y build-essential

View File

@@ -17,7 +17,7 @@ jobs:
steps:
- id: generate
run: |
v=1.12.1-$(date +"%Y%m%d")
v=1.12.3-$(date +"%Y%m%d")
echo "version=$v" >> "$GITHUB_OUTPUT"
release-id:

View File

@@ -162,7 +162,7 @@ jobs:
- name: Get checksum
id: vars
run: |
echo "version_md5sum=$(curl -sSfL https://dc3p1870nn3cj.cloudfront.net${{ secrets.REPO_PATH }}install-wizard-v${{ github.event.inputs.tags }}.${{ needs.release-id.outputs.id }}.md5sum.txt|awk '{print $1}')" >> $GITHUB_OUTPUT
echo "version_md5sum=$(curl -sSfL https://cdn.olares.com${{ secrets.REPO_PATH }}install-wizard-v${{ github.event.inputs.tags }}.${{ needs.release-id.outputs.id }}.md5sum.txt|awk '{print $1}')" >> $GITHUB_OUTPUT
- name: Update checksum
uses: eball/write-tag-to-version-file@latest

4
.gitignore vendored
View File

@@ -37,4 +37,6 @@ docs/.vitepress/dist/
docs/.vitepress/cache/
node_modules
.idea/
cli/olares-cli*
cli/olares-cli*
framework/app-service/bin

View File

@@ -7,8 +7,10 @@
![Build Status](https://github.com/beclab/olares/actions/workflows/release-daily.yaml/badge.svg)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/beclab/olares)](https://github.com/beclab/olares/releases)
[![GitHub Repo stars](https://img.shields.io/github/stars/beclab/olares?style=social)](https://github.com/beclab/olares/stargazers)
[![Discord](https://img.shields.io/badge/Discord-7289DA?logo=discord&logoColor=white)](https://discord.com/invite/BzfqrgQPDK)
[![License](https://img.shields.io/badge/License-Olares-darkblue)](https://github.com/beclab/olares/blob/main/LICENSE.md)
[![Discord](https://img.shields.io/badge/Discord-7289DA?logo=discord&logoColor=white)](https://discord.gg/olares)
[![License](https://img.shields.io/badge/License-AGPL--3.0-blue)](https://github.com/beclab/olares/blob/main/LICENSE)
<a href="https://trendshift.io/repositories/15376" target="_blank"><img src="https://trendshift.io/api/badge/repositories/15376" alt="beclab%2FOlares | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
<p>
<a href="./README.md"><img alt="Readme in English" src="https://img.shields.io/badge/English-FFFFFF"></a>
@@ -21,7 +23,7 @@
<p align="center">
<a href="https://olares.com">Website</a> ·
<a href="https://docs.olares.com">Documentation</a> ·
<a href="https://olares.com/larepass">Download LarePass</a> ·
<a href="https://www.olares.com/larepass">Download LarePass</a> ·
<a href="https://github.com/beclab/apps">Olares Apps</a> ·
<a href="https://space.olares.com">Olares Space</a>
</p>
@@ -30,10 +32,10 @@
>
>*It's time for a change.*
![Personal Cloud](https://file.bttcdn.com/github/olares/public-cloud-to-personal-cloud.jpg)
![Personal Cloud](https://app.cdn.olares.com/github/olares/public-cloud-to-personal-cloud.jpg)
We believe you have a fundamental right to control your digital life. The most effective way to uphold this right is by hosting your data locally, on your own hardware.
Olares is an **open-source personal cloud operating system** designed to empower you to own and manage your digital assets locally. Instead of relying on public cloud services, you can deploy powerful open-source alternatives locally on Olares, such as Ollama for hosting LLMs, SD WebUI for image generation, and Mastodon for building censor free social space. Imagine the power of the cloud, but with you in complete command.
Olares is an **open-source personal cloud operating system** designed to empower you to own and manage your digital assets locally. Instead of relying on public cloud services, you can deploy powerful open-source alternatives locally on Olares, such as Ollama for hosting LLMs, ComfyUI for image generation, and Perplexica for private, AI-driven search and reasoning. Imagine the power of the cloud, but with you in complete command.
> 🌟 *Star us to receive instant notifications about new releases and updates.*
@@ -41,7 +43,7 @@ Olares is an **open-source personal cloud operating system** designed to empower
Just as Public clouds offer IaaS, PaaS, and SaaS layers, Olares provides open-source alternatives to each of these layers.
![Tech Stacks](https://file.bttcdn.com/github/olares/olares-architecture.jpg)
![Tech Stacks](https://app.cdn.olares.com/github/olares/olares-architecture.jpg)
For detailed description of each component, refer to [Olares architecture](https://docs.olares.com/manual/concepts/system-architecture.html).
@@ -66,15 +68,15 @@ Here are some screenshots from the UI for a sneak peek:
| **DesktopStreamlined and familiar portal** | **FilesA secure home to your data**
| :--------: | :-------: |
| ![Desktop](https://file.bttcdn.com/github/terminus/v2/desktop.jpg) | ![Files](https://file.bttcdn.com/github/terminus/v2/files.jpg) |
| ![Desktop](https://app.cdn.olares.com/github/terminus/v2/desktop.jpg) | ![Files](https://app.cdn.olares.com/github/terminus/v2/files.jpg) |
| **Vault1Password alternative**|**MarketApp ecosystem in your control** |
| ![vault](https://file.bttcdn.com/github/terminus/v2/vault.jpg) | ![market](https://file.bttcdn.com/github/terminus/v2/market.jpg) |
| ![vault](https://app.cdn.olares.com/github/terminus/v2/vault.jpg) | ![market](https://app.cdn.olares.com/github/terminus/v2/market.jpg) |
|**WiseYour digital secret garden** | **SettingsManage Olares efficiently** |
| ![settings](https://file.bttcdn.com/github/terminus/v2/wise.jpg) | ![](https://file.bttcdn.com/github/terminus/v2/settings.jpg) |
| ![settings](https://app.cdn.olares.com/github/terminus/v2/wise.jpg) | ![](https://app.cdn.olares.com/github/terminus/v2/settings.jpg) |
|**DashboardConstant system monitoring** | **ProfileYour unique homepage** |
| ![dashboard](https://file.bttcdn.com/github/terminus/v2/dashboard.jpg) | ![profile](https://file.bttcdn.com/github/terminus/v2/profile.jpg) |
| ![dashboard](https://app.cdn.olares.com/github/terminus/v2/dashboard.jpg) | ![profile](https://app.cdn.olares.com/github/terminus/v2/profile.jpg) |
| **StudioDevelop, debug, and deploy**|**Control HubManage Kubernetes clusters easily** |
| ![Studio](https://file.bttcdn.com/github/terminus/v2/devbox.jpg) | ![Controlhub](https://file.bttcdn.com/github/terminus/v2/controlhub.jpg)|
| ![Studio](https://app.cdn.olares.com/github/terminus/v2/devbox.jpg) | ![Controlhub](https://app.cdn.olares.com/github/terminus/v2/controlhub.jpg)|
## Key use cases
@@ -134,7 +136,7 @@ https://docs.olares.com/developer/contribute/olares.html
* [**GitHub Discussion**](https://github.com/beclab/olares/discussions). Best for sharing feedback and asking questions.
* [**GitHub Issues**](https://github.com/beclab/olares/issues). Best for filing bugs you encounter using Olares and submitting feature proposals.
* [**Discord**](https://discord.com/invite/BzfqrgQPDK). Best for sharing anything Olares.
* [**Discord**](https://discord.gg/olares). Best for sharing anything Olares.
## Special thanks

View File

@@ -7,8 +7,10 @@
![Build Status](https://github.com/beclab/olares/actions/workflows/release-daily.yaml/badge.svg)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/beclab/terminus)](https://github.com/beclab/olares/releases)
[![GitHub Repo stars](https://img.shields.io/github/stars/beclab/terminus?style=social)](https://github.com/beclab/olares/stargazers)
[![Discord](https://img.shields.io/badge/Discord-7289DA?logo=discord&logoColor=white)](https://discord.com/invite/BzfqrgQPDK)
[![License](https://img.shields.io/badge/License-Olares-darkblue)](https://github.com/beclab/olares/blob/main/LICENSE.md)
[![Discord](https://img.shields.io/badge/Discord-7289DA?logo=discord&logoColor=white)](https://discord.gg/olares)
[![License](https://img.shields.io/badge/License-AGPL--3.0-blue)](https://github.com/beclab/olares/blob/main/LICENSE)
<a href="https://trendshift.io/repositories/15376" target="_blank"><img src="https://trendshift.io/api/badge/repositories/15376" alt="beclab%2FOlares | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
<p>
<a href="./README.md"><img alt="Readme in English" src="https://img.shields.io/badge/English-FFFFFF"></a>
@@ -21,7 +23,7 @@
<p align="center">
<a href="https://olares.com">网站</a> ·
<a href="https://docs.olares.com">文档</a> ·
<a href="https://olares.com/larepass">下载 LarePass</a> ·
<a href="https://www.olares.cn/larepass">下载 LarePass</a> ·
<a href="https://github.com/beclab/apps">Olares 应用</a> ·
<a href="https://space.olares.com">Olares Space</a>
</p>
@@ -30,11 +32,11 @@
>
> *是时候做出改变了。*
![个人云](https://file.bttcdn.com/github/olares/public-cloud-to-personal-cloud.jpg)
![个人云](https://app.cdn.olares.com/github/olares/public-cloud-to-personal-cloud.jpg)
我们坚信,**您拥有掌控自己数字生活的基本权利**。维护这一权利最有效的方式,就是将您的数据托管在本地,在您自己的硬件上。
Olares 是一款开源个人云操作系统,旨在让您能够轻松在本地拥有并管理自己的数字资产。您无需再依赖公有云服务,而可以在 Olares 上本地部署强大的开源平替服务或应用,例如可以使用 Ollama 托管大语言模型,使用 SD WebUI 用于图像生成,以及使用 Mastodon 构建不受审查的社交空间。Olares 让坐拥云计算的强大威力,又能完全将其置于自己掌控之下。
Olares 是一款开源个人云操作系统,旨在让您能够轻松在本地拥有并管理自己的数字资产。您无需再依赖公有云服务,而可以在 Olares 上本地部署强大的开源平替服务或应用,例如可以使用 Ollama 托管大语言模型,使用 ComfyUI 生成图像,以及使用 Perplexica 打造本地化、注重隐私的 AI 搜索与问答体验。Olares 让坐拥云计算的强大威力,又能完全将其置于自己掌控之下。
> 为 Olares 点亮 🌟 以及时获取新版本和更新的通知。
@@ -42,7 +44,7 @@ Olares 是一款开源个人云操作系统,旨在让您能够轻松在本地
公有云具有基础设施即服务IaaS、平台即服务PaaS和软件即服务SaaS等层级。Olares 为这些层级提供了开源替代方案。
![技术栈](https://file.bttcdn.com/github/olares/olares-architecture.jpg)
![技术栈](https://app.cdn.olares.com/github/olares/olares-architecture.jpg)
详细描述请参考 [Olares 架构](https://docs.olares.cn/zh/manual/concepts/system-architecture.html)文档。
@@ -68,15 +70,15 @@ Olares 提供了一系列功能,旨在提升安全性、使用便捷性以及
| **桌面:熟悉高效的访问入口** | **文件管理器:安全存储数据**
| :--------: | :-------: |
| ![桌面](https://file.bttcdn.com/github/terminus/v2/desktop.jpg) | ![文件](https://file.bttcdn.com/github/terminus/v2/files.jpg) |
| ![桌面](https://app.cdn.olares.com/github/terminus/v2/desktop.jpg) | ![文件](https://app.cdn.olares.com/github/terminus/v2/files.jpg) |
| **Vault密码无忧管理**|**市场:可控的应用生态系统** |
| ![vault](https://file.bttcdn.com/github/terminus/v2/vault.jpg) | ![市场](https://file.bttcdn.com/github/terminus/v2/market.jpg) |
| ![vault](https://app.cdn.olares.com/github/terminus/v2/vault.jpg) | ![市场](https://app.cdn.olares.com/github/terminus/v2/market.jpg) |
|**Wise数字后花园** | **设置:高效管理 Olares** |
| ![设置](https://file.bttcdn.com/github/terminus/v2/wise.jpg) | ![](https://file.bttcdn.com/github/terminus/v2/settings.jpg) |
| ![设置](https://app.cdn.olares.com/github/terminus/v2/wise.jpg) | ![](https://app.cdn.olares.com/github/terminus/v2/settings.jpg) |
|**仪表盘:持续监控 Olares** | **Profile独特的个人主页** |
| ![面板](https://file.bttcdn.com/github/terminus/v2/dashboard.jpg) | ![profile](https://file.bttcdn.com/github/terminus/v2/profile.jpg) |
| ![面板](https://app.cdn.olares.com/github/terminus/v2/dashboard.jpg) | ![profile](https://app.cdn.olares.com/github/terminus/v2/profile.jpg) |
| **Studio一站式开发、调试和部署**|**控制面板:轻松管理 Kubernetes 集群** |
| ![Devbox](https://file.bttcdn.com/github/terminus/v2/devbox.jpg) | ![控制中心](https://file.bttcdn.com/github/terminus/v2/controlhub.jpg)|
| ![Devbox](https://app.cdn.olares.com/github/terminus/v2/devbox.jpg) | ![控制中心](https://app.cdn.olares.com/github/terminus/v2/controlhub.jpg)|
## 使用场景
@@ -136,7 +138,7 @@ https://docs.olares.com/developer/contribute/olares.html
* [**GitHub Discussion**](https://github.com/beclab/olares/discussions) - 讨论 Olares 使用过程中的疑问。
* [**GitHub Issues**](https://github.com/beclab/olares/issues) - 报告 Olares 的遇到的问题或提出功能改进建议。
* [**Discord**](https://discord.com/invite/BzfqrgQPDK) - 日常交流,分享经验,或讨论与 Olares 相关的任何主题。
* [**Discord**](https://discord.gg/olares) - 日常交流,分享经验,或讨论与 Olares 相关的任何主题。
## 特别感谢

View File

@@ -7,8 +7,10 @@
![Build Status](https://github.com/beclab/olares/actions/workflows/release-daily.yaml/badge.svg)
[![GitHub release (latest by date)](https://img.shields.io/github/v/release/beclab/olares)](https://github.com/beclab/olares/releases)
[![GitHub Repo stars](https://img.shields.io/github/stars/beclab/olares?style=social)](https://github.com/beclab/olares/stargazers)
[![Discord](https://img.shields.io/badge/Discord-7289DA?logo=discord&logoColor=white)](https://discord.com/invite/BzfqrgQPDK)
[![License](https://img.shields.io/badge/License-Olares-darkblue)](https://github.com/beclab/olares/blob/main/LICENSE.md)
[![Discord](https://img.shields.io/badge/Discord-7289DA?logo=discord&logoColor=white)](https://discord.gg/olares)
[![License](https://img.shields.io/badge/License-AGPL--3.0-blue)](https://github.com/beclab/olares/blob/main/LICENSE)
<a href="https://trendshift.io/repositories/15376" target="_blank"><img src="https://trendshift.io/api/badge/repositories/15376" alt="beclab%2FOlares | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
<p>
<a href="./README.md"><img alt="Readme in English" src="https://img.shields.io/badge/English-FFFFFF"></a>
@@ -21,7 +23,7 @@
<p align="center">
<a href="https://olares.com">ウェブサイト</a> ·
<a href="https://docs.olares.com">ドキュメント</a> ·
<a href="https://olares.com/larepass">LarePassをダウンロード</a> ·
<a href="https://www.olares.com/larepass">LarePassをダウンロード</a> ·
<a href="https://github.com/beclab/apps">Olaresアプリ</a> ·
<a href="https://space.olares.com">Olares Space</a>
</p>
@@ -30,21 +32,20 @@
>
>*今こそ、変革の時です。*
![自身のデジタル](https://file.bttcdn.com/github/olares/public-cloud-to-personal-cloud.jpg)
![自身のデジタル](https://app.cdn.olares.com/github/olares/public-cloud-to-personal-cloud.jpg)
私たちは、あなたが自身のデジタルライフをコントロールする基本的な権利を有すると確信しています。この権利を守る最も効果的な方法は、あなたのデータをローカルの、あなた自身のハードウェア上でホストすることです。
Olaresは、あなたが自身のデジタル資産をローカルで容易に所有し管理できるよう設計された、オープンソースのパーソナルクラウドOSです。もはやパブリッククラウドサービスに依存する必要はありません。Olares上で、例えばOllamaを利用した大規模言語モデルのホスティング、SD WebUIによる画像生成、Mastodonを用いた検閲のないソーシャルスペースの構築など、強力なオープンソースの代替サービスやアプリケーションをローカルにデプロイできます。Olaresは、クラウドコンピューティングの絶大な力を活用しつつ、それを完全に自身のコントロール下に置くことを可能にします
Olaresは、あなたが自身のデジタル資産をローカルで所有し管理できるよう設計された、オープンソースのパーソナルクラウドOSです。パブリッククラウドサービスに依存する代わりに、Olares上で強力なオープンソースの代替をローカルにデプロイできます。例えば、LLMのホスティングにはOllama、画像生成にはComfyUI、そしてプライバシーを重視したAI駆動の検索と推論にはPerplexicaを利用できます。クラウドの力をそのままに、主導権は常にあなたの手に
> 🌟 *新しいリリースや更新についての通知を受け取るために、スターを付けてください。*
## アーキテクチャ
パブリッククラウドは、IaaS (Infrastructure as a Service)、PaaS (Platform as a Service)、SaaS (Software as a Service) といったサービスレイヤーで構成されています。Olaresは、これら各レイヤーに対するオープンソースの代替ソリューションを提供しています。
![Olaresのアーキテクチ](https://file.bttcdn.com/github/olares/olares-architecture.jpg)
![Olaresのアーキテクチ](https://app.cdn.olares.com/github/olares/olares-architecture.jpg)
各コンポーネントの詳細については、[Olares アーキテクチャ](https://docs.olares.com/manual/concepts/system-architecture.html)(英語版)をご参照ください。
各コンポーネントの詳細については、[Olares アーキテクチャ](https://docs.olares.com/developer/concepts/system-architecture.html)(英語版)をご参照ください。
> 🔍**OlaresとNASの違いは何ですか**
>
@@ -67,15 +68,15 @@ Olaresは、セキュリティ、使いやすさ、開発の柔軟性を向上
| **デスクトップ:馴染みやすく効率的なアクセスポイント** | **ファイルマネージャー:データを安全に保管** |
| :--------: | :-------: |
| ![桌面](https://file.bttcdn.com/github/terminus/v2/desktop.jpg) | ![文件](https://file.bttcdn.com/github/terminus/v2/files.jpg) |
| ![桌面](https://app.cdn.olares.com/github/terminus/v2/desktop.jpg) | ![文件](https://app.cdn.olares.com/github/terminus/v2/files.jpg) |
| **Vault安心のパスワード管理**|**マーケット:コントロール可能なアプリエコシステム** |
| ![vault](https://file.bttcdn.com/github/terminus/v2/vault.jpg) | ![市场](https://file.bttcdn.com/github/terminus/v2/market.jpg) |
| ![vault](https://app.cdn.olares.com/github/terminus/v2/vault.jpg) | ![市场](https://app.cdn.olares.com/github/terminus/v2/market.jpg) |
| **Wiseあなただけのデジタルガーデン** | **設定Olaresを効率的に管理** |
| ![设置](https://file.bttcdn.com/github/terminus/v2/wise.jpg) | ![](https://file.bttcdn.com/github/terminus/v2/settings.jpg) |
| ![设置](https://app.cdn.olares.com/github/terminus/v2/wise.jpg) | ![](https://app.cdn.olares.com/github/terminus/v2/settings.jpg) |
| **ダッシュボードOlaresを継続的に監視** | **プロフィール:ユニークなパーソナルページ** |
| ![面板](https://file.bttcdn.com/github/terminus/v2/dashboard.jpg) | ![profile](https://file.bttcdn.com/github/terminus/v2/profile.jpg) |
| ![面板](https://app.cdn.olares.com/github/terminus/v2/dashboard.jpg) | ![profile](https://app.cdn.olares.com/github/terminus/v2/profile.jpg) |
| **Studio開発、デバッグ、デプロイをワンストップで**|**コントロールパネルKubernetesクラスターを簡単に管理** |
| ![Devbox](https://file.bttcdn.com/github/terminus/v2/devbox.jpg) | ![控制中心](https://file.bttcdn.com/github/terminus/v2/controlhub.jpg)|
| ![Devbox](https://app.cdn.olares.com/github/terminus/v2/devbox.jpg) | ![控制中心](https://app.cdn.olares.com/github/terminus/v2/controlhub.jpg)|
## なぜOlaresなのか
@@ -135,7 +136,7 @@ https://docs.olares.com/developer/contribute/olares.html
* [**GitHub Discussion**](https://github.com/beclab/olares/discussions). フィードバックの共有や質問に最適です。
* [**GitHub Issues**](https://github.com/beclab/olares/issues). Olaresの使用中に遭遇したバグの報告や機能提案の提出に最適です。
* [**Discord**](https://discord.com/invite/BzfqrgQPDK). Olaresに関するあらゆることを共有するのに最適です。
* [**Discord**](https://discord.gg/olares). Olaresに関するあらゆることを共有するのに最適です。
## 特別な感謝

View File

@@ -11,3 +11,17 @@ subjects:
- kind: ServiceAccount
name: system-frontend
namespace: {{ .Release.Namespace }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: backend:{{ .Values.bfl.username }}:system-frontend:media-server-svc
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ .Values.bfl.username }}:media-server-svc
subjects:
- kind: ServiceAccount
name: system-frontend
namespace: {{ .Release.Namespace }}

View File

@@ -35,34 +35,6 @@ rules:
- "/api/nodes/*"
verbs: ["*"]
# ---
# apiVersion: sys.bytetrade.io/v1alpha1
# kind: ProviderRegistry
# metadata:
# name: files-provider
# namespace: user-system-{{ .Values.bfl.username }}
# spec:
# dataType: files
# deployment: files
# description: files provider
# endpoint: files-service.{{ .Release.Namespace }}
# group: service.files
# kind: provider
# namespace: {{ .Release.Namespace }}
# opApis:
# - name: Query
# uri: /provider/query_file
# - name: GetSearchFolderStatus
# uri: /provider/get_search_folder_status
# - name: UpdateSearchFolderPaths
# uri: /provider/update_search_folder_paths
# - name: GetDatasetFolderStatus
# uri: /provider/get_dataset_folder_status
# - name: UpdateDatasetFolderPaths
# uri: /provider/update_dataset_folder_paths
# version: v1
# status:
# state: active
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
@@ -78,8 +50,23 @@ rules:
- "/provider/update_search_folder_paths"
- "/provider/get_dataset_folder_status"
- "/provider/update_dataset_folder_paths"
- "/seahub/api/*"
- "/system/configuration/encoding"
- "/api/search/get_directory/"
verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ .Values.bfl.username }}:media-server-svc
annotations:
provider-registry-ref: user-system-{{ .Values.bfl.username }}/media-server-service
provider-service-ref: media-server-service.os-framework:9090
rules:
- nonResourceURLs:
- "/System/Configuration/encoding"
verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1

View File

@@ -0,0 +1,27 @@
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: backend:{{ .Values.bfl.username }}:system-frontend:hami-scheduler-svc
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ .Values.bfl.username }}:hami-scheduler-svc
subjects:
- kind: ServiceAccount
name: system-frontend
namespace: {{ .Release.Namespace }}
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: backend:{{ .Values.bfl.username }}:system-frontend:hami-webui-svc
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ .Values.bfl.username }}:hami-webui-svc
subjects:
- kind: ServiceAccount
name: system-frontend
namespace: {{ .Release.Namespace }}

View File

@@ -0,0 +1,26 @@
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ .Values.bfl.username }}:hami-scheduler-svc
annotations:
provider-registry-ref: user-system-{{ .Values.bfl.username }}/hami-scheduler
provider-service-ref: https://hami-scheduler.kube-system
rules:
- nonResourceURLs:
- "/gpus*"
verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ .Values.bfl.username }}:hami-webui-svc
annotations:
provider-registry-ref: user-system-{{ .Values.bfl.username }}/hami-webui
provider-service-ref: hami-webui.kube-system:3000
rules:
- nonResourceURLs:
- "/api/vgpu/v1/*"
verbs: ["*"]

View File

@@ -4,7 +4,7 @@ metadata:
name: {{ .Values.bfl.username }}:infisical-frontend-svc
annotations:
provider-registry-ref: user-space-{{ .Values.bfl.username }}/infisical
provider-service-ref: infisical-service.os-framework:8080
provider-service-ref: infisical-service.os-protected:8080
rules:
- nonResourceURLs: ["/admin/*"]
verbs: ["*"]
@@ -16,7 +16,7 @@ metadata:
name: {{ .Values.bfl.username }}:infisical-frontend-domain
annotations:
provider-registry-ref: {{ .Values.bfl.username }}/settings
provider-service-ref: infisical-service.os-framework:8080
provider-service-ref: infisical-service.os-protected:8080
rules:
- nonResourceURLs: ["/admin/*"]
verbs: ["*"]

View File

@@ -37,6 +37,32 @@ rules:
- nonResourceURLs: ["*"]
verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ .Values.bfl.username }}:monitoring-frontend-domain-settings
annotations:
provider-registry-ref: {{ .Values.bfl.username }}/settings
provider-service-ref: monitoring-server.os-framework:80
rules:
- nonResourceURLs:
- "/kapis/*"
verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ .Values.bfl.username }}:monitoring-frontend-domain-desktop
annotations:
provider-registry-ref: {{ .Values.bfl.username }}/desktop
provider-service-ref: monitoring-server.os-framework:80
rules:
- nonResourceURLs:
- "/kapis/*"
verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1
@@ -78,6 +104,31 @@ subjects:
- kind: User
name: '{{ .Values.bfl.username }}'
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: user:{{ .Values.bfl.username }}:monitoring-frontend-domain-settings
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ .Values.bfl.username }}:monitoring-frontend-domain-settings
subjects:
- kind: User
name: '{{ .Values.bfl.username }}'
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: user:{{ .Values.bfl.username }}:monitoring-frontend-domain-desktop
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ .Values.bfl.username }}:monitoring-frontend-domain-desktop
subjects:
- kind: User
name: '{{ .Values.bfl.username }}'
---
apiVersion: v1

View File

@@ -0,0 +1,13 @@
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: backend:{{ .Values.bfl.username }}:notification-provider-svc
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ .Values.bfl.username }}:notification-provider-svc
subjects:
- kind: ServiceAccount
name: system-frontend
namespace: {{ .Release.Namespace }}

View File

@@ -0,0 +1,12 @@
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ .Values.bfl.username }}:notification-provider-svc
annotations:
provider-registry-ref: user-system-{{ .Values.bfl.username }}/notifications-server
provider-service-ref: notifications-server.os-framework:80
rules:
- nonResourceURLs:
- "/notification/*"
verbs: ["*"]

View File

@@ -209,6 +209,21 @@ spec:
port: 80
targetPort: 91
---
apiVersion: v1
kind: Service
metadata:
name: share-fe-service
namespace: user-space-{{ .Values.bfl.username }}
spec:
selector:
app: olares-app
type: ClusterIP
ports:
- protocol: TCP
name: share
port: 80
targetPort: 92
---
apiVersion: apps/v1
kind: Deployment
metadata:
@@ -220,12 +235,12 @@ metadata:
applications.app.bytetrade.io/owner: '{{ .Values.bfl.username }}'
applications.app.bytetrade.io/author: bytetrade.io
annotations:
applications.app.bytetrade.io/default-thirdlevel-domains: '[{"appName": "olares-app","entranceName":"dashboard","thirdLevelDomain":"dashboard"},{"appName":"olares-app","entranceName":"control-hub","thirdLevelDomain":"control-hub"},{"appName":"olares-app","entranceName":"files","thirdLevelDomain":"files"},{"appName": "olares-app","entranceName":"vault","thirdLevelDomain":"vault"},{"appName":"olares-app","entranceName":"headscale","thirdLevelDomain":"headscale"},{"appName":"olares-app","entranceName":"settings","thirdLevelDomain":"settings"},{"appName": "olares-app","entranceName":"market","thirdLevelDomain":"market"},{"appName":"olares-app","entranceName":"profile","thirdLevelDomain":"profile"}]'
applications.app.bytetrade.io/icon: https://file.bttcdn.com/appstore/olaresapps/icon.png
applications.app.bytetrade.io/default-thirdlevel-domains: '[{"appName": "olares-app","entranceName":"dashboard","thirdLevelDomain":"dashboard"},{"appName":"olares-app","entranceName":"control-hub","thirdLevelDomain":"control-hub"},{"appName":"olares-app","entranceName":"files","thirdLevelDomain":"files"},{"appName":"olares-app","entranceName":"share","thirdLevelDomain":"share"},{"appName": "olares-app","entranceName":"vault","thirdLevelDomain":"vault"},{"appName":"olares-app","entranceName":"headscale","thirdLevelDomain":"headscale"},{"appName":"olares-app","entranceName":"settings","thirdLevelDomain":"settings"},{"appName": "olares-app","entranceName":"market","thirdLevelDomain":"market"},{"appName":"olares-app","entranceName":"profile","thirdLevelDomain":"profile"}]'
applications.app.bytetrade.io/icon: https://app.cdn.olares.com/appstore/olaresapps/icon.png
applications.app.bytetrade.io/title: 'Olares Apps'
applications.app.bytetrade.io/version: '0.0.1'
applications.app.bytetrade.io/policies: '{"policies":[{"entranceName":"dashboard","uriRegex":"/js/script.js", "level":"public"},{"entranceName":"dashboard","uriRegex":"/js/api/send", "level":"public"}]}'
applications.app.bytetrade.io/entrances: '[{"name":"files", "host":"files-fe-service", "port":80,"title":"Files","windowPushState":true,"icon":"https://file.bttcdn.com/appstore/files/icon.png"},{"name":"vault", "host":"vault-service", "port":80,"title":"Vault","windowPushState":true,"icon":"https://file.bttcdn.com/appstore/vault/icon.png"},{"name":"market", "host":"appstore-fe-service", "port":80,"title":"Market","windowPushState":true,"icon":"https://file.bttcdn.com/appstore/appstore/icon.png"},{"name":"settings", "host":"settings-service", "port":80,"title":"Settings","icon":"https://file.bttcdn.com/appstore/settings/icon.png"},{"name":"profile", "host":"profile-service", "port":80,"title":"Profile","windowPushState":true,"icon":"https://file.bttcdn.com/appstore/profile/icon.png"},{"name":"dashboard","host":"dashboard-service","port":80,"title":"Dashboard","windowPushState":true,"icon":"https://file.bttcdn.com/appstore/dashboard/icon.png"},{"name":"control-hub","host":"control-hub-service","port":80,"title":"Control Hub","windowPushState":true,"icon":"https://file.bttcdn.com/appstore/control-hub/icon.png"},{"name":"headscale", "host":"headscale-svc", "port":80,"title":"Headscale","invisible": true,"icon":"https://file.bttcdn.com/appstore/headscale/icon.png"}]'
applications.app.bytetrade.io/entrances: '[{"name":"files", "host":"files-fe-service", "port":80,"title":"Files","windowPushState":true,"icon":"https://app.cdn.olares.com/appstore/files/icon.png"},{"name":"share","authLevel":"public", "host":"share-fe-service", "port":80,"title":"Share","windowPushState":true,"icon":"https://app.cdn.olares.com/appstore/files/icon.png","invisible":true},{"name":"vault", "host":"vault-service", "port":80,"title":"Vault","windowPushState":true,"icon":"https://app.cdn.olares.com/appstore/vault/icon.png"},{"name":"market", "host":"appstore-fe-service", "port":80,"title":"Market","windowPushState":true,"icon":"https://app.cdn.olares.com/appstore/appstore/icon.png"},{"name":"settings", "host":"settings-service", "port":80,"title":"Settings","icon":"https://app.cdn.olares.com/appstore/settings/icon.png"},{"name":"profile", "host":"profile-service", "port":80,"title":"Profile","windowPushState":true,"icon":"https://app.cdn.olares.com/appstore/profile/icon.png"},{"name":"dashboard","host":"dashboard-service","port":80,"title":"Dashboard","windowPushState":true,"icon":"https://app.cdn.olares.com/appstore/dashboard/icon.png"},{"name":"control-hub","host":"control-hub-service","port":80,"title":"Control Hub","windowPushState":true,"icon":"https://app.cdn.olares.com/appstore/control-hub/icon.png"},{"name":"headscale", "host":"headscale-svc", "port":80,"title":"Headscale","invisible": true,"icon":"https://app.cdn.olares.com/appstore/headscale/icon.png"}]'
spec:
replicas: 1
selector:
@@ -249,11 +264,11 @@ spec:
initContainers:
- args:
- -it
- authelia-backend.os-framework:9091,infisical-service:80,system-server.user-system-{{ .Values.bfl.username }}:80,nats.user-system-{{ .Values.bfl.username }}:4222
- authelia-backend.user-system-{{ .Values.bfl.username }}:9091,infisical-service.user-system-{{ .Values.bfl.username }}:8080,system-server.user-system-{{ .Values.bfl.username }}:80,nats.user-system-{{ .Values.bfl.username }}:4222
image: owncloudci/wait-for:latest
imagePullPolicy: IfNotPresent
name: check-auth
- name: terminus-sidecar-init
- name: olares-sidecar-init
image: openservicemesh/init:v1.2.3
imagePullPolicy: IfNotPresent
securityContext:
@@ -302,26 +317,8 @@ spec:
- |
chown -R 1000:1000 /uploadstemp && \
chown -R 1000:1000 /appdata
- name: init-container
image: 'postgres:16.0-alpine3.18'
command:
- sh
- '-c'
- >-
echo -e "Checking for the availability of PostgreSQL Server deployment"; until psql -h $PGHOST -p $PGPORT -U $PGUSER -d $PGDB -c "SELECT 1"; do sleep 1; printf "-"; done; sleep 5; echo -e " >> PostgreSQL DB Server has started";
env:
- name: PGHOST
value: citus-master-svc.user-system-{{ .Values.bfl.username }}
- name: PGPORT
value: "5432"
- name: PGUSER
value: cloud_drive_integration_{{ .Values.bfl.username }}
- name: PGPASSWORD
value: "{{ $pg_password | b64dec }}"
- name: PGDB
value: user_space_{{ .Values.bfl.username }}_cloud_drive_integration
- name: olares-app-init
image: beclab/system-frontend:v1.4.25
image: beclab/system-frontend:v1.6.23
imagePullPolicy: IfNotPresent
command:
- /bin/sh
@@ -333,7 +330,7 @@ spec:
name: www-dir
containers:
- name: terminus-envoy-sidecar
- name: olares-envoy-sidecar
image: bytetrade/envoy:v1.25.11
imagePullPolicy: IfNotPresent
securityContext:
@@ -347,7 +344,7 @@ spec:
- name: tapr
containerPort: 15080
volumeMounts:
- name: terminus-sidecar-config
- name: olares-sidecar-config
readOnly: true
mountPath: /etc/envoy/envoy.yaml
subPath: envoy.yaml
@@ -370,6 +367,7 @@ spec:
- containerPort: 89
- containerPort: 90
- containerPort: 91
- containerPort: 92
- containerPort: 8090
command:
- /bin/sh
@@ -379,7 +377,7 @@ spec:
cp -r /www/nginxs/* /etc/nginx/conf.d/
nginx -g 'daemon off;'
volumeMounts:
- name: terminus-sidecar-config
- name: olares-sidecar-config
readOnly: true
mountPath: /etc/envoy/envoy.yaml
subPath: envoy.yaml
@@ -442,15 +440,11 @@ spec:
- name: NATS_SUBJECT_VAULT
value: os.vault.{{ .Values.bfl.username}}
- name: user-service
image: beclab/user-service:v0.0.51
image: beclab/user-service:v0.0.78
imagePullPolicy: IfNotPresent
ports:
- containerPort: 3000
env:
{{- range $key, $val := .Values.terminusGlobalEnvs }}
- name: {{ $key }}
value: {{ $val | quote }}
{{- end }}
- name: DEV_MODE
value: ''
- name: MY_NAME
@@ -517,60 +511,12 @@ spec:
value: redis-cluster-proxy.user-system-{{ .Values.bfl.username }}
- name: REDIS_PORT
value: '6379'
- name: drive-server
image: beclab/drive:v0.0.72
imagePullPolicy: IfNotPresent
env:
- name: OS_SYSTEM_SERVER
value: system-server.user-system-{{ .Values.bfl.username }}
- name: DATABASE_URL
value: postgres://cloud_drive_integration_{{ .Values.bfl.username }}:{{ $pg_password | b64dec }}@citus-master-svc.user-system-{{ .Values.bfl.username }}:5432/user_space_{{ .Values.bfl.username }}_cloud_drive_integration
- name: REDIS_URL
value: redis://:{{ $redis_password | b64dec }}@redis-cluster-proxy.user-system-{{ .Values.bfl.username }}:6379/0
- name: TASK_EXECUTOR_MAX_THREADS
value: '6'
ports:
- containerPort: 8181
volumeMounts:
- name: upload-data
mountPath: /data/Home
- name: upload-appdata
mountPath: /appdata/
- name: userspace-app-dir
mountPath: /data/Application
- name: data-dir
mountPath: /data
- name: task-executor
image: beclab/driveexecutor:v0.0.72
imagePullPolicy: IfNotPresent
env:
- name: OS_SYSTEM_SERVER
value: system-server.user-system-{{ .Values.bfl.username }}
- name: DATABASE_URL
value: postgres://cloud_drive_integration_{{ .Values.bfl.username }}:{{ $pg_password | b64dec }}@citus-master-svc.user-system-{{ .Values.bfl.username }}:5432/user_space_{{ .Values.bfl.username }}_cloud_drive_integration
- name: REDIS_URL
value: redis://:{{ $redis_password | b64dec }}@redis-cluster-proxy.user-system-{{ .Values.bfl.username }}:6379/0
- name: TASK_EXECUTOR_MAX_THREADS
value: '6'
ports:
- containerPort: 8181
volumeMounts:
- name: upload-data
mountPath: /data/Home
- name: upload-appdata
mountPath: /appdata/
- name: userspace-app-dir
mountPath: /data/Application
- name: data-dir
mountPath: /data
volumes:
- name: userspace-dir
hostPath:
type: Directory
path: '{{ .Values.userspace.userData }}'
- name: terminus-sidecar-config
- name: olares-sidecar-config
configMap:
name: user-service-sidecar-ws-configs
items:
@@ -616,56 +562,6 @@ spec:
- key: headscale.conf
path: headscale.conf
---
apiVersion: v1
kind: Secret
metadata:
name: cloud-drive-integration-secrets
namespace: user-system-{{ .Values.bfl.username }}
type: Opaque
data:
pg_password: {{ $pg_password }}
---
apiVersion: apr.bytetrade.io/v1alpha1
kind: MiddlewareRequest
metadata:
name: cloud-drive-integration-pg
namespace: user-system-{{ .Values.bfl.username }}
spec:
app: cloud-drive-integration
appNamespace: {{ .Release.Namespace }}
middleware: postgres
postgreSQL:
user: cloud_drive_integration_{{ .Values.bfl.username }}
password:
valueFrom:
secretKeyRef:
key: pg_password
name: cloud-drive-integration-secrets
databases:
- name: cloud-drive-integration
---
apiVersion: v1
kind: ConfigMap
metadata:
name: cloud-drive-integration-secrets-auth
namespace: {{ .Release.Namespace }}
data:
redis_password: {{ $redis_password_data }}
redis_addr: redis-cluster-proxy.user-system-{{ .Values.bfl.username }}:6379
redis_host: redis-cluster-proxy.user-system-{{ .Values.bfl.username }}
redis_port: '6379'
---
apiVersion: v1
kind: ConfigMap
metadata:
name: cloud-drive-integration-userspace-data
namespace: {{ .Release.Namespace }}
data:
appData: "{{ .Values.userspace.appData }}"
appCache: "{{ .Values.userspace.appCache }}"
username: "{{ .Values.bfl.username }}"
---
apiVersion: v1
kind: Secret
@@ -729,200 +625,7 @@ spec:
sub: allow
pub: allow
user: user-system-{{ .Values.bfl.username }}-files-frontend
---
apiVersion: v1
data:
envoy.yaml: |
admin:
access_log_path: "/dev/stdout"
address:
socket_address:
address: 0.0.0.0
port_value: 15000
static_resources:
listeners:
- name: listener_0
address:
socket_address:
address: 0.0.0.0
port_value: 15003
listener_filters:
- name: envoy.filters.listener.original_dst
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.listener.original_dst.v3.OriginalDst
filter_chains:
- filters:
- name: envoy.filters.network.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
stat_prefix: desktop_http
upgrade_configs:
- upgrade_type: websocket
- upgrade_type: tailscale-control-protocol
skip_xff_append: false
max_request_headers_kb: 500
codec_type: AUTO
route_config:
name: local_route
virtual_hosts:
- name: service
domains: ["*"]
routes:
- match:
prefix: "/upload"
route:
cluster: upload_original_dst
timeout: 1800s
idle_timeout: 1800s
- match:
prefix: "/"
route:
cluster: original_dst
timeout: 1800s
idle_timeout: 1800s
http_protocol_options:
accept_http_10: true
http_filters:
- name: envoy.filters.http.ext_authz
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.ext_authz.v3.ExtAuthz
http_service:
path_prefix: '/api/verify/'
server_uri:
uri: authelia-backend.os-framework:9091
cluster: authelia
timeout: 2s
authorization_request:
allowed_headers:
patterns:
- exact: accept
- exact: cookie
- exact: proxy-authorization
- prefix: x-unauth-
- exact: x-authorization
- exact: x-bfl-user
- exact: x-real-ip
- exact: terminus-nonce
- exact: x-provider-proxy
headers_to_add:
- key: X-Forwarded-Method
value: '%REQ(:METHOD)%'
- key: X-Forwarded-Proto
value: '%REQ(:SCHEME)%'
- key: X-Forwarded-Host
value: '%REQ(:AUTHORITY)%'
- key: X-Forwarded-Uri
value: '%REQ(:PATH)%'
- key: X-Forwarded-For
value: '%DOWNSTREAM_REMOTE_ADDRESS_WITHOUT_PORT%'
authorization_response:
allowed_upstream_headers:
patterns:
- exact: authorization
- exact: proxy-authorization
- prefix: remote-
- prefix: authelia-
allowed_client_headers:
patterns:
- exact: set-cookie
allowed_client_headers_on_success:
patterns:
- exact: set-cookie
failure_mode_allow: false
- name: envoy.filters.http.router
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
- name: listener_image
address:
socket_address:
address: 127.0.0.1
port_value: 15080
filter_chains:
- filters:
- name: envoy.filters.network.http_connection_manager
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
stat_prefix: tapr_http
http_protocol_options:
accept_http_10: true
upgrade_configs:
- upgrade_type: websocket
skip_xff_append: false
codec_type: AUTO
route_config:
name: local_route
virtual_hosts:
- name: service
domains: ["*"]
routes:
- match:
prefix: "/images/upload"
route:
cluster: images
http_filters:
- name: envoy.filters.http.router
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
clusters:
- name: original_dst
connect_timeout: 120s
type: ORIGINAL_DST
lb_policy: CLUSTER_PROVIDED
common_http_protocol_options:
idle_timeout: 10s
- name: upload_original_dst
connect_timeout: 5000s
type: LOGICAL_DNS
dns_lookup_family: V4_ONLY
dns_refresh_rate: 600s
lb_policy: ROUND_ROBIN
load_assignment:
cluster_name: upload_original_dst
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: files-service.os-framework
port_value: 80
- name: authelia
connect_timeout: 2s
type: LOGICAL_DNS
dns_lookup_family: V4_ONLY
dns_refresh_rate: 600s
lb_policy: ROUND_ROBIN
load_assignment:
cluster_name: authelia
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: authelia-backend.os-framework
port_value: 9091
- name: images
connect_timeout: 5s
type: LOGICAL_DNS
dns_lookup_family: V4_ONLY
dns_refresh_rate: 600s
lb_policy: ROUND_ROBIN
load_assignment:
cluster_name: images
endpoints:
- lb_endpoints:
- endpoint:
address:
socket_address:
address: tapr-images-svc.user-system-{{ .Values.bfl.username }}
port_value: 8080
kind: ConfigMap
metadata:
name: sidecar-upload-configs
namespace: {{ .Release.Namespace }}
---
apiVersion: v1
kind: Secret
@@ -979,6 +682,7 @@ spec:
key: redis_password
name: user-service-secrets
namespace: user-service
---
apiVersion: v1
kind: Service
@@ -987,7 +691,22 @@ metadata:
namespace: {{ .Release.Namespace }}
spec:
type: ExternalName
externalName: vault-server.os-framework.svc.cluster.local
externalName: vault-server.user-system-{{ .Values.bfl.username }}.svc.cluster.local
ports:
- protocol: TCP
port: 3000
targetPort: 3000
---
apiVersion: v1
kind: Service
metadata:
name: vault-server
namespace: user-system-{{ .Values.bfl.username }}
spec:
type: ClusterIP
selector:
app: systemserver
ports:
- protocol: TCP
port: 3000
@@ -1046,7 +765,7 @@ data:
http_service:
path_prefix: '/api/verify/'
server_uri:
uri: authelia-backend.os-framework:9091
uri: authelia-backend.user-system-{{ .Values.bfl.username }}:9091
cluster: authelia
timeout: 2s
authorization_request:
@@ -1143,7 +862,7 @@ data:
- endpoint:
address:
socket_address:
address: authelia-backend.os-framework
address: authelia-backend.user-system-{{ .Values.bfl.username }}
port_value: 9091
- name: images
connect_timeout: 5s
@@ -1222,7 +941,7 @@ data:
http_service:
path_prefix: '/api/verify/'
server_uri:
uri: authelia-backend.os-framework:9091
uri: authelia-backend.user-system-{{ .Values.bfl.username }}:9091
cluster: authelia
timeout: 2s
authorization_request:
@@ -1334,7 +1053,7 @@ data:
- endpoint:
address:
socket_address:
address: authelia-backend.os-framework
address: authelia-backend.user-system-{{ .Values.bfl.username }}
port_value: 9091
- name: images
connect_timeout: 5s
@@ -1412,7 +1131,7 @@ data:
http_service:
path_prefix: '/api/verify/'
server_uri:
uri: authelia-backend.os-framework:9091
uri: authelia-backend.user-system-{{ .Values.bfl.username }}:9091
cluster: authelia
timeout: 2s
authorization_request:
@@ -1524,7 +1243,7 @@ data:
- endpoint:
address:
socket_address:
address: authelia-backend.os-framework
address: authelia-backend.user-system-{{ .Values.bfl.username }}
port_value: 9091
- name: images
connect_timeout: 5s

View File

@@ -0,0 +1,11 @@
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ .Values.bfl.username }}:prometheus-k8s
annotations:
provider-registry-ref: {{ .Values.bfl.username }}/4ae9f19e
provider-service-ref: http://prometheus-k8s.kubesphere-monitoring-system:9090
rules:
- nonResourceURLs:
- "*"
verbs: ["*"]

View File

@@ -0,0 +1,40 @@
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ .Values.bfl.username }}:seafile-frontend-domain-desktop
annotations:
provider-registry-ref: {{ .Values.bfl.username }}/desktop
provider-service-ref: seafile.os-framework.os-framework:80
rules:
- nonResourceURLs:
- "/seahub/*"
- "/seafhttp/*"
verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: user:{{ .Values.bfl.username }}:seafile-frontend-domain-desktop
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ .Values.bfl.username }}:seafile-frontend-domain-desktop
subjects:
- kind: User
name: '{{ .Values.bfl.username }}'
---
apiVersion: v1
kind: Service
metadata:
name: seafile
namespace: user-space-{{ .Values.bfl.username }}
spec:
type: ExternalName
externalName: system-server.user-system-{{ .Values.bfl.username }}.svc.cluster.local
ports:
- protocol: TCP
port: 80
targetPort: 28080

View File

@@ -0,0 +1,13 @@
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: backend:{{ .Values.bfl.username }}:search-provider-svc
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ .Values.bfl.username }}:search-provider-svc
subjects:
- kind: ServiceAccount
name: system-frontend
namespace: {{ .Release.Namespace }}

View File

@@ -0,0 +1,15 @@
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ .Values.bfl.username }}:search-provider-svc
annotations:
provider-registry-ref: user-system-{{ .Values.bfl.username }}/search3
provider-service-ref: search3.os-framework:80
rules:
- nonResourceURLs:
- "/document/search*"
- "/task/*"
- "/search/*"
- "/monitorsetting/*"
verbs: ["*"]

View File

@@ -1,156 +1,3 @@
# ---
# apiVersion: sys.bytetrade.io/v1alpha1
# kind: ProviderRegistry
# metadata:
# name: settings-nft
# namespace: user-system-{{ .Values.bfl.username }}
# spec:
# dataType: nft
# deployment: settings
# description: Get Cloud Bind NFT List
# endpoint: settings-service.{{ .Release.Namespace }}
# group: service.settings
# kind: provider
# namespace: {{ .Release.Namespace }}
# opApis:
# - name: getNFTAddress
# uri: /api/cloud/getNFTAddress
# version: v1
# status:
# state: active
# ---
# apiVersion: sys.bytetrade.io/v1alpha1
# kind: ProviderRegistry
# metadata:
# name: settings-account
# namespace: user-system-{{ .Values.bfl.username }}
# spec:
# dataType: account
# deployment: settings
# description: Get Acccount saved in Settings
# endpoint: settings-service.{{ .Release.Namespace }}
# group: service.settings
# kind: provider
# namespace: {{ .Release.Namespace }}
# opApis:
# - name: getAccount
# uri: /api/account
# version: v1
# status:
# state: active
# ---
# apiVersion: sys.bytetrade.io/v1alpha1
# kind: ProviderRegistry
# metadata:
# name: settings-backup-password
# namespace: user-system-{{ .Values.bfl.username }}
# spec:
# dataType: backupPassword
# deployment: settings
# description: Get Backup Plan's Password
# endpoint: settings-service.{{ .Release.Namespace }}
# group: service.settings
# kind: provider
# namespace: {{ .Release.Namespace }}
# opApis:
# - name: getAccount
# uri: /api/backup/password
# version: v1
# status:
# state: active
# ---
# apiVersion: sys.bytetrade.io/v1alpha1
# kind: ProviderRegistry
# metadata:
# name: settings-account-retrieve
# namespace: user-system-{{ .Values.bfl.username }}
# spec:
# dataType: legacy_api
# deployment: settings
# description: settings account retrieve legacy api
# endpoint: settings-service.{{ .Release.Namespace }}
# group: service.settings
# kind: provider
# namespace: {{ .Release.Namespace }}
# version: v1
# opApis:
# - name: POST
# uri: /api/account/retrieve
# - name: GET
# uri: /api/account/all
# - name: POST
# uri: /api/cookie/retrieve
# - name: POST
# uri: /api/cookie
# status:
# state: active
# ---
# apiVersion: sys.bytetrade.io/v1alpha1
# kind: ProviderRegistry
# metadata:
# name: intent-api
# namespace: user-system-{{ .Values.bfl.username }}
# spec:
# dataType: legacy_api
# deployment: edge-desktop
# description: edge-desktop legacy api
# endpoint: edge-desktop.{{ .Release.Namespace }}
# group: api.intent
# kind: provider
# namespace: {{ .Release.Namespace }}
# version: v1
# opApis:
# - name: POST
# uri: /server/intent/send
# status:
# state: active
# ---
# apiVersion: sys.bytetrade.io/v1alpha1
# kind: ProviderRegistry
# metadata:
# name: intent-api-v2
# namespace: user-system-{{ .Values.bfl.username }}
# spec:
# dataType: legacy_api
# deployment: edge-desktop
# description: edge-desktop legacy api
# endpoint: edge-desktop.{{ .Release.Namespace }}
# group: api.intent
# kind: provider
# namespace: {{ .Release.Namespace }}
# version: v2
# opApis:
# - name: POST
# uri: /server/intent/send
# status:
# state: active
# ---
# apiVersion: sys.bytetrade.io/v1alpha1
# kind: ProviderRegistry
# metadata:
# name: destktop-ai-provider
# namespace: user-system-{{ .Values.bfl.username }}
# spec:
# dataType: ai_message
# deployment: edge-desktop
# description: search ai callback
# endpoint: edge-desktop.{{ .Release.Namespace }}
# group: service.desktop
# kind: provider
# namespace: {{ .Release.Namespace }}
# opApis:
# - name: AIMessage
# uri: /server/ai_message
# version: v1
# status:
# state: active
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
@@ -167,7 +14,8 @@ rules:
- "/api/account/retrieve"
- "/api/account/all"
- "/api/cookie/retrieve"
- "/api/cookie/"
- "/api/cookie"
- "/api/abilities"
verbs: ["*"]
---
@@ -182,4 +30,43 @@ rules:
- nonResourceURLs:
- "/server/intent/send"
- "/server/ai_message"
verbs: ["*"]
verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ .Values.bfl.username }}:desktop
annotations:
provider-registry-ref: {{ .Values.bfl.username }}/desktop
provider-service-ref: edge-desktop.{{ .Release.Namespace }}
rules:
- nonResourceURLs:
- "/server/intent/send"
verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ .Release.Namespace }}:desktop
annotations:
provider-registry-ref: {{ .Release.Namespace }}/desktop
provider-service-ref: edge-desktop.{{ .Release.Namespace }}
rules:
- nonResourceURLs:
- "/server/intent/send"
verbs: ["*"]
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ .Values.bfl.username }}:dashboard
annotations:
provider-registry-ref: {{ .Values.bfl.username }}/dashboard
provider-service-ref: prometheus-k8s.kubesphere-monitoring-system:9090
rules:
- nonResourceURLs:
- "*"
verbs: ["*"]

View File

@@ -22,14 +22,14 @@ spec:
initContainers:
- args:
- -it
- authelia-backend.os-framework:9091
- authelia-backend.user-system-{{ .Values.bfl.username }}:9091
image: owncloudci/wait-for:latest
imagePullPolicy: IfNotPresent
name: check-auth
containers:
- name: wizard
image: beclab/wizard:v1.4.3
image: beclab/wizard:v1.6.5
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80

View File

@@ -1,9 +1,9 @@
$currentPath = Get-Location
$architecture = $env:PROCESSOR_ARCHITECTURE
$downloadCdnUrlFromEnv = $env:DOWNLOAD_CDN_URL
$cdnServiceFromEnv = $env:OLARES_SYSTEM_CDN_SERVICE
$version = "#__VERSION__"
$releaseID = "#__RELEASE_ID__"
$downloadUrl = "https://dc3p1870nn3cj.cloudfront.net"
$cdnService = "https://cdn.olares.com"
function Test-Wait {
while ($true) {
@@ -40,8 +40,8 @@ if ($architecture -like "ARM") {
$arch = "arm64"
}
if (-Not $downloadCdnUrlFromEnv -eq "") {
$downloadUrl = $downloadCdnUrlFromEnv
if (-Not $cdnServiceFromEnv -eq "") {
$cdnService = $cdnServiceFromEnv
}
$CLI_PROGRAM_PATH = "{0}\" -f $currentPath
@@ -55,7 +55,7 @@ if (-not [string]::IsNullOrEmpty($releaseID) -and $releaseID.Substring(0,3) -ne
} else {
$CLI_FILE = "olares-cli-v{0}_windows_{1}.tar.gz" -f $CLI_VERSION, $arch
}
$CLI_URL = "{0}/{1}" -f $downloadUrl, $CLI_FILE
$CLI_URL = "{0}/{1}" -f $cdnService, $CLI_FILE
$CLI_PATH = "{0}{1}" -f $CLI_PROGRAM_PATH, $CLI_FILE
$download = 0

View File

@@ -7,10 +7,18 @@ function command_exists() {
command -v "$@" > /dev/null 2>&1
}
if [[ x"$REPO_PATH" == x"" ]]; then
export REPO_PATH="#__REPO_PATH__"
fi
if [[ "x${REPO_PATH:3}" == "xREPO_PATH__" ]]; then
export REPO_PATH="/"
fi
if [[ x"$VERSION" == x"" ]]; then
if [[ "$LOCAL_RELEASE" == "1" ]]; then
ts=$(date +%Y%m%d%H%M%S)
export VERSION="1.12.1-$ts"
export VERSION="1.12.3-$ts"
echo "will build and use a local release of Olares with version: $VERSION"
echo ""
else
@@ -20,7 +28,7 @@ fi
if [[ "x${VERSION}" == "x" || "x${VERSION:3}" == "xVERSION__" ]]; then
echo "error: Olares version is unspecified, please set the VERSION env var and rerun this script."
echo "for example: VERSION=1.12.1-20241124 bash $0"
echo "for example: VERSION=1.12.3-20241124 bash $0"
exit 1
fi
@@ -69,9 +77,9 @@ if [ ! -d $BASE_DIR ]; then
mkdir -p $BASE_DIR
fi
cdn_url=${DOWNLOAD_CDN_URL}
cdn_url=${OLARES_SYSTEM_CDN_SERVICE}
if [ -z ${cdn_url} ]; then
cdn_url="https://dc3p1870nn3cj.cloudfront.net"
cdn_url="https://cdn.olares.com"
fi
RELEASE_ID="#__RELEASE_ID__"
@@ -92,13 +100,17 @@ if [[ "$LOCAL_RELEASE" == "1" ]]; then
fi
INSTALL_OLARES_CLI=$(which olares-cli)
else
if command_exists olares-cli && [[ "$(olares-cli -v | awk '{print $3}')" == "$VERSION" ]]; then
expected_vendor="main"
if [[ "$(basename "$REPO_PATH")" == "olares-one" ]]; then
expected_vendor="OlaresOne"
fi
if command_exists olares-cli && [[ "$(olares-cli -v | awk '{print $3}')" == "$VERSION" ]] && [[ "$(olares-cli --vendor)" == "$expected_vendor" ]]; then
INSTALL_OLARES_CLI=$(which olares-cli)
echo "olares-cli already installed and is the expected version"
echo ""
else
if [[ ! -f ${CLI_FILE} ]]; then
CLI_URL="${cdn_url}/${CLI_FILE}"
CLI_URL="${cdn_url}${REPO_PATH}${CLI_FILE}"
echo "downloading Olares installer from ${CLI_URL} ..."
echo ""
@@ -138,7 +150,7 @@ fi
PARAMS="--version $VERSION --base-dir $BASE_DIR"
KUBE_PARAM="--kube $KUBE_TYPE"
CDN="--download-cdn-url ${cdn_url}"
CDN="--cdn-service ${cdn_url}"
if [[ -f $BASE_DIR/.prepared ]]; then
echo "file $BASE_DIR/.prepared detected, skip preparing phase"

View File

@@ -7,6 +7,15 @@ function command_exists() {
command -v "$@" > /dev/null 2>&1
}
if [[ x"$REPO_PATH" == x"" ]]; then
export REPO_PATH="#__REPO_PATH__"
fi
if [[ "x${REPO_PATH:3}" == "xREPO_PATH__" ]]; then
export REPO_PATH="/"
fi
function read_tty() {
echo -n $1
read $2 < /dev/tty
@@ -149,7 +158,7 @@ export VERSION="#__VERSION__"
if [[ "x${VERSION}" == "x" || "x${VERSION:3}" == "xVERSION__" ]]; then
echo "error: Olares version is unspecified, please set the VERSION env var and rerun this script."
echo "for example: VERSION=1.12.1-20241124 bash $0"
echo "for example: VERSION=1.12.3-20241124 bash $0"
exit 1
fi
@@ -158,9 +167,9 @@ if [ ! -d $BASE_DIR ]; then
mkdir -p $BASE_DIR
fi
cdn_url=${DOWNLOAD_CDN_URL}
cdn_url=${OLARES_SYSTEM_CDN_SERVICE}
if [[ -z "${cdn_url}" ]]; then
cdn_url="https://dc3p1870nn3cj.cloudfront.net"
cdn_url="https://cdn.olares.com"
fi
set_master_host_ssh_options
@@ -172,15 +181,17 @@ else
RELEASE_ID_SUFFIX=".$RELEASE_ID"
fi
CLI_FILE="olares-cli-v${VERSION}_linux_${ARCH}${RELEASE_ID_SUFFIX}.tar.gz"
if command_exists olares-cli && [[ "$(olares-cli -v | awk '{print $3}')" == "$VERSION" ]]; then
expected_vendor="main"
if [[ "$(basename "$REPO_PATH")" == "olares-one" ]]; then
expected_vendor="OlaresOne"
fi
if command_exists olares-cli && [[ "$(olares-cli -v | awk '{print $3}')" == "$VERSION" ]] && [[ "$(olares-cli --vendor)" == "$expected_vendor" ]]; then
INSTALL_OLARES_CLI=$(which olares-cli)
echo "olares-cli already installed and is the expected version"
echo ""
else
if [[ ! -f ${CLI_FILE} ]]; then
CLI_URL="${cdn_url}/${CLI_FILE}"
CLI_URL="${cdn_url}${REPO_PATH}${CLI_FILE}"
echo "downloading Olares installer from ${CLI_URL} ..."
echo ""
@@ -214,7 +225,7 @@ if [[ ! "$master_olares_version" ]]; then
exit 1
fi
PARAMS="--version $master_olares_version --base-dir $BASE_DIR"
CDN="--download-cdn-url ${cdn_url}"
CDN="--cdn-service ${cdn_url}"
if [[ -f $BASE_DIR/.prepared ]]; then
echo "file $BASE_DIR/.prepared detected, skip preparing phase"

View File

@@ -716,7 +716,7 @@ EOF
local filename=$(echo -n "$img"|md5sum|awk '{print $1}')
filename="$filename.tar.gz"
echo "downloading ${filename} ..."
curl -fsSL https://dc3p1870nn3cj.cloudfront.net/${filename} -o $BASE_DIR/images/$filename
curl -fsSL https://cdn.olares.com/${filename} -o $BASE_DIR/images/$filename
done < $BASE_DIR/images/images.node.mf
fi
fi

View File

@@ -1603,7 +1603,7 @@ install_containerd(){
# local filename=$(echo -n "$img"|md5sum|awk '{print $1}')
# filename="$filename.tar.gz"
# echo "downloading ${filename} ..."
# curl -fsSL https://dc3p1870nn3cj.cloudfront.net/${filename} -o $BASE_DIR/images/$filename
# curl -fsSL https://cdn.olares.com/${filename} -o $BASE_DIR/images/$filename
# done < $BASE_DIR/images/images.mf
# fi
# fi

View File

@@ -17,6 +17,7 @@ metadata:
kubesphere.io/creator: '{{ .Values.user.name }}'
labels:
kubesphere.io/workspace: system-workspace
openpolicyagent.org/webhook: ignore
name: os-platform
---
@@ -27,6 +28,19 @@ metadata:
kubesphere.io/creator: '{{ .Values.user.name }}'
labels:
kubesphere.io/workspace: system-workspace
openpolicyagent.org/webhook: ignore
name: os-framework
---
apiVersion: v1
kind: Namespace
metadata:
annotations:
kubesphere.io/creator: '{{ .Values.user.name }}'
labels:
kubesphere.io/workspace: system-workspace
openpolicyagent.org/webhook: ignore
name: os-protected

View File

@@ -7,7 +7,7 @@ import requests
import sys
import json
CDN_URL = "https://dc3p1870nn3cj.cloudfront.net"
CDN_URL = "https://cdn.olares.com"
def get_file_size(objectid, fileid):
url = f"{CDN_URL}/{objectid}"

View File

@@ -2,7 +2,7 @@
set -e
cdn_url="https://dc3p1870nn3cj.cloudfront.net"
cdn_url="https://cdn.olares.com"
download_checksum(){
local name=$1

View File

@@ -66,6 +66,12 @@ if [ ! -z $RELEASE_ID ]; then
sh -c "$SED 's/#__RELEASE_ID__/${RELEASE_ID}/' joincluster.sh"
fi
# replace repo path placeholder in scripts if provided
if [ ! -z "$REPO_PATH" ]; then
sh -c "$SED 's|#__REPO_PATH__|${REPO_PATH}|g' install.sh"
sh -c "$SED 's|#__REPO_PATH__|${REPO_PATH}|g' joincluster.sh"
fi
$TAR --exclude=wizard/tools --exclude=.git -zcvf ${BASE_DIR}/../install-wizard-${VERSION}.tar.gz .
popd

View File

@@ -17,7 +17,7 @@ for mod in "${PACKAGE_MODULE[@]}";do
chart_path="${mod}/${app}"
if [ -d $chart_path ]; then
find $chart_path -type f -name *.yaml | while read p; do
find $chart_path -type f -path '*/.olares/*.yaml' | while read p; do
bash ${BASE_DIR}/yaml2prop.sh -f $p | while read l;do
if [[ "$l" == *".image = "* || "$l" == "output.containers."*".name"* ]]; then
echo "$l"
@@ -32,8 +32,7 @@ for mod in "${PACKAGE_MODULE[@]}";do
fi
done
done
awk '{print $3}' ${TMP_MANIFEST} | sort | uniq | grep -v nitro | grep -v orion >> ${IMAGE_MANIFEST}
awk '{print $3}' ${TMP_MANIFEST} | sort | uniq | grep -v nitro | grep -v orion | grep -v '^nonexisting$' >> ${IMAGE_MANIFEST}
# patch
# fix backup server version

View File

@@ -76,4 +76,9 @@ run_cmd "cp -rf framework/bfl/.olares/config/launcher ${DIST}/wizard/config/"
echo "packaging gpu ..."
run_cmd "cp -rf infrastructure/gpu/.olares/config/gpu ${DIST}/wizard/config/"
echo "packaging completed"
echo "packaging env config ..."
run_cmd "cp -rf build/system-env.yaml ${DIST}/system-env.yaml"
run_cmd "cp -rf build/user-env.yaml ${DIST}/user-env.yaml"
echo "packaging completed"

View File

@@ -7,13 +7,13 @@ fi
cat $1|while read image; do
name=$(echo -n "$image"|md5sum|awk '{print $1}')
if [ ! -z "$FROM_S3" ]; then
curl -fsSLI https://dc3p1870nn3cj.cloudfront.net/$path$name.tar.gz > /dev/null
curl -fsSLI https://cdn.olares.com/$path$name.tar.gz > /dev/null
if [ $? -ne 0 ]; then
docker pull $image --platform $PLATFORM
docker save $image -o $name.tar
gzip $name.tar
else
curl -fsSL https://dc3p1870nn3cj.cloudfront.net/$path$name.tar.gz -o $name.tar.gz
curl -fsSL https://cdn.olares.com/$path$name.tar.gz -o $name.tar.gz
fi
else
docker pull $image --platform $PLATFORM

42
build/system-env.yaml Normal file
View File

@@ -0,0 +1,42 @@
apiVersion: v1
systemEnvs:
# the remote service provides a unified base url for all legacy services
# including:
# DID_GATE_URL,
# OLARES_SPACE_URL,
# FIREBASE_PUSH_URL,
# FRP_LIST_URL,
# TAILSCALE_CONTROLPLANE_URL,
# MARKET_PROVIDER,
# TERMINUS_CERT_SERVICE_API,
# TERMINUS_DNS_SERVICE_API
- envName: OLARES_SYSTEM_REMOTE_SERVICE
default: "https://api.olares.com"
type: url
editable: true
required: true
# the legacy DOWNLOAD_CDN_URL
- envName: OLARES_SYSTEM_CDN_SERVICE
default: "https://cdn.olares.com"
type: url
editable: true
required: true
# docker hub mirror endpoint for docker.io registry
- envName: OLARES_SYSTEM_DOCKERHUB_SERVICE
type: url
editable: true
required: false
# the legacy OLARES_ROOT_DIR
- envName: OLARES_SYSTEM_ROOT_PATH
default: /olares
editable: false
required: true
# the legacy OLARES_FS_TYPE
- envName: OLARES_SYSTEM_ROOTFS_TYPE
default: fs
editable: false
required: true
# the legacy CUDA_VERSION
- envName: OLARES_SYSTEM_CUDA_VERSION
editable: false
required: false

View File

@@ -28,9 +28,9 @@ while read line; do
checksum="$name.checksum.txt"
echo "if exists $filename ... "
curl -fsSLI https://dc3p1870nn3cj.cloudfront.net/$path$name > /dev/null
curl -fsSLI https://cdn.olares.com/$path$name > /dev/null
if [ $? -ne 0 ]; then
code=$(curl -o /dev/null -fsSLI -w "%{http_code}" https://dc3p1870nn3cj.cloudfront.net/$path$name)
code=$(curl -o /dev/null -fsSLI -w "%{http_code}" https://cdn.olares.com/$path$name)
if [ $code -eq 403 ]; then
bash ${BASE_DIR}/download-deps.sh $PLATFORM $line

View File

@@ -12,9 +12,9 @@ cat $1|while read image; do
checksum="$name.checksum.txt"
manifest="$name.manifest.json"
curl -fsSLI https://dc3p1870nn3cj.cloudfront.net/$path$name.tar.gz > /dev/null
curl -fsSLI https://cdn.olares.com/$path$name.tar.gz > /dev/null
if [ $? -ne 0 ]; then
code=$(curl -o /dev/null -fsSLI -w "%{http_code}" https://dc3p1870nn3cj.cloudfront.net/$path$name.tar.gz)
code=$(curl -o /dev/null -fsSLI -w "%{http_code}" https://cdn.olares.com/$path$name.tar.gz)
if [ $code -eq 403 ]; then
set -ex
skopeo copy --insecure-policy docker://$image oci-archive:$name.tar
@@ -45,9 +45,9 @@ cat $1|while read image; do
# re-upload checksum.txt
curl -fsSLI https://dc3p1870nn3cj.cloudfront.net/$path$checksum > /dev/null
curl -fsSLI https://cdn.olares.com/$path$checksum > /dev/null
if [ $? -ne 0 ]; then
code=$(curl -o /dev/null -fsSLI -w "%{http_code}" https://dc3p1870nn3cj.cloudfront.net/$path$checksum)
code=$(curl -o /dev/null -fsSLI -w "%{http_code}" https://cdn.olares.com/$path$checksum)
if [ $code -eq 403 ]; then
set -ex
skopeo copy --insecure-policy docker://$image oci-archive:$name.tar
@@ -74,9 +74,9 @@ cat $1|while read image; do
fi
# upload manifest.json
curl -fsSLI https://dc3p1870nn3cj.cloudfront.net/$path$manifest > /dev/null
curl -fsSLI https://cdn.olares.com/$path$manifest > /dev/null
if [ $? -ne 0 ]; then
code=$(curl -o /dev/null -fsSLI -w "%{http_code}" https://dc3p1870nn3cj.cloudfront.net/$path$manifest)
code=$(curl -o /dev/null -fsSLI -w "%{http_code}" https://cdn.olares.com/$path$manifest)
if [ $code -eq 403 ]; then
set -ex
BASE_DIR=$(dirname $(realpath -s $0))

72
build/user-env.yaml Normal file
View File

@@ -0,0 +1,72 @@
apiVersion: v1
userEnvs:
- envName: OLARES_USER_EMAIL
type: string
editable: true
- envName: OLARES_USER_USERNAME
type: string
editable: true
- envName: OLARES_USER_PASSWORD
type: password
editable: true
- envName: OLARES_USER_TIMEZONE
type: string
editable: true
- envName: OLARES_USER_SMTP_ENABLED
type: bool
editable: true
- envName: OLARES_USER_SMTP_SERVER
type: domain
editable: true
- envName: OLARES_USER_SMTP_PORT
type: number
editable: true
- envName: OLARES_USER_SMTP_USERNAME
type: string
editable: true
- envName: OLARES_USER_SMTP_PASSWORD
type: password
editable: true
- envName: OLARES_USER_SMTP_FROM_ADDRESS
type: email
editable: true
- envName: OLARES_USER_SMTP_SECURE
type: bool
editable: true
default: "true"
- envName: OLARES_USER_SMTP_USE_TLS
type: bool
editable: true
- envName: OLARES_USER_SMTP_USE_SSL
type: bool
editable: true
- envName: OLARES_USER_SMTP_SECURITY_PROTOCOLS
type: string
editable: true
- envName: OLARES_USER_OPENAI_APIKEY
type: password
editable: true
- envName: OLARES_USER_CUSTOM_OPENAI_SERVICE
type: url
editable: true
- envName: OLARES_USER_CUSTOM_OPENAI_APIKEY
type: password
editable: true
- envName: OLARES_USER_HUGGINGFACE_SERVICE
type: url
editable: true
default: "https://huggingface.co/"
- envName: OLARES_USER_HUGGINGFACE_TOKEN
type: password
editable: true
- envName: OLARES_USER_PYPI_SERVICE
type: url
editable: true
default: "https://pypi.org/simple/"
- envName: OLARES_USER_GITHUB_SERVICE
type: url
editable: true
default: "https://github.com/"
- envName: OLARES_USER_GITHUB_TOKEN
type: password
editable: true

445
cli/cmd/ctl/disk/extend.go Normal file
View File

@@ -0,0 +1,445 @@
package disk
import (
"fmt"
"log"
"os"
"strconv"
"strings"
"text/tabwriter"
"github.com/beclab/Olares/cli/pkg/utils"
"github.com/beclab/Olares/cli/pkg/utils/lvm"
"github.com/pkg/errors"
"github.com/spf13/cobra"
)
const defaultOlaresVGName = "olares-vg"
func NewExtendDiskCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "extend",
Short: "extend disk operations",
Run: func(cmd *cobra.Command, args []string) {
// early return if no unmounted disks found
unmountedDevices, err := lvm.FindUnmountedDevices()
if err != nil {
log.Fatalf("Error finding unmounted devices: %v\n", err)
}
if len(unmountedDevices) == 0 {
log.Println("No unmounted disks found to extend.")
return
}
// select volume group to extend
currentVgs, err := lvm.FindCurrentLVM()
if err != nil {
log.Fatalf("Error finding current LVM: %v\n", err)
}
if len(currentVgs) == 0 {
log.Println("No valid volume groups found to extend.")
return
}
selectedVg, err := selectExtendingVG(currentVgs)
if err != nil {
log.Fatalf("Error selecting volume group: %v\n", err)
}
log.Printf("Selected volume group to extend: %s\n", selectedVg)
// select logical volume to extend
lvInVg, err := lvm.FindLvByVgName(selectedVg)
if err != nil {
log.Fatalf("Error finding logical volumes in volume group %s: %v\n", selectedVg, err)
}
if len(lvInVg) == 0 {
log.Printf("No logical volumes found in volume group %s to extend.\n", selectedVg)
return
}
selectedLv, err := selectExtendingLV(selectedVg, lvInVg)
if err != nil {
log.Fatalf("Error selecting logical volume: %v\n", err)
}
log.Printf("Selected logical volume to extend: %s\n", selectedLv)
// select unmounted devices to create physical volume
selectedDevice, err := selectExtendingDevices(unmountedDevices)
if err != nil {
log.Fatalf("Error selecting unmounted device: %v\n", err)
}
log.Printf("Selected unmounted device to use: %s\n", selectedDevice)
options := &LvmExtendOptions{
VgName: selectedVg,
DevicePath: selectedDevice,
LvName: selectedLv,
DeviceBlk: unmountedDevices[selectedDevice],
}
log.Printf("Extending logical volume %s in volume group %s using device %s\n", options.LvName, options.VgName, options.DevicePath)
cleanupNeeded, err := options.cleanupDiskParts()
if err != nil {
log.Fatalf("Error during disk partition cleanup check: %v\n", err)
}
if cleanupNeeded {
do, err := options.destroyWarning()
if err != nil {
log.Fatalf("Error during partition cleanup confirmation: %v\n", err)
}
if !do {
log.Println("Operation aborted by user.")
return
}
err = options.deleteDevicePartitions()
if err != nil {
log.Fatalf("Error deleting device partitions: %v\n", err)
}
} else {
do, err := options.makeDecision()
if err != nil {
log.Fatalf("Error during extension confirmation: %v\n", err)
}
if !do {
log.Println("Operation aborted by user.")
return
}
}
err = options.extendLVM()
if err != nil {
log.Fatalf("Error extending LVM: %v\n", err)
}
log.Println("Disk extension completed successfully.")
// end of command run, and show result
// show the result of the extension
lvInVg, err = lvm.FindLvByVgName(selectedVg)
if err != nil {
log.Fatalf("Error finding logical volumes in volume group %s: %v\n", selectedVg, err)
}
w := tabwriter.NewWriter(os.Stdout, 0, 8, 2, ' ', 0)
fmt.Fprint(w, "id\tLV\tVG\tLSize\tMountpoints\n")
for idx, lv := range lvInVg {
fmt.Fprintf(w, "%d\t%s\t%s\t%s\t%s\n", idx+1, lv.LvName, lv.VgName, lv.LvSize, strings.Join(lv.Mountpoints, ","))
}
w.Flush()
},
}
return cmd
}
type LvmExtendOptions struct {
VgName string
DevicePath string
LvName string
DeviceBlk *lvm.BlkPart
}
func selectExtendingVG(vgs []*lvm.VgItem) (string, error) {
// if only one vg, return it directly
if len(vgs) == 1 {
return vgs[0].VgName, nil
}
reader, err := utils.GetBufIOReaderOfTerminalInput()
if err != nil {
return "", errors.Wrap(err, "failed to get terminal input reader")
}
fmt.Println("Multiple volume groups found. Please select one to extend:")
fmt.Println("")
// print header
w := tabwriter.NewWriter(os.Stdout, 0, 8, 2, ' ', 0)
fmt.Fprint(w, "id\tVG\tVSize\tVFree\n")
for idx, vg := range vgs {
fmt.Fprintf(w, "%d\t%s\t%s\t%s\n", idx+1, vg.VgName, vg.VgSize, vg.VgFree)
}
w.Flush()
LOOP:
fmt.Printf("\nEnter the volume group id to extend: ")
var input string
input, err = reader.ReadString('\n')
if err != nil && err.Error() != "EOF" {
return "", errors.Wrap(errors.WithStack(err), "read volume group id failed")
}
input = strings.TrimSpace(input)
if input == "" {
fmt.Printf("\ninvalid volume group id, please try again")
goto LOOP
}
selectedIdx, err := strconv.Atoi(input)
if err != nil || selectedIdx < 1 || selectedIdx > len(vgs) {
fmt.Printf("\ninvalid volume group id, please try again")
goto LOOP
}
return vgs[selectedIdx-1].VgName, nil
}
func selectExtendingLV(vgName string, lvs []*lvm.LvItem) (string, error) {
if len(lvs) == 1 {
return lvs[0].LvName, nil
}
if vgName == defaultOlaresVGName {
selectedLv := ""
for _, lv := range lvs {
if lv.LvName == "root" {
selectedLv = lv.LvName
continue
}
if lv.LvName == "data" {
selectedLv = lv.LvName
break
}
}
if selectedLv != "" {
return selectedLv, nil
}
}
reader, err := utils.GetBufIOReaderOfTerminalInput()
if err != nil {
return "", errors.Wrap(err, "failed to get terminal input reader")
}
fmt.Println("Multiple logical volumes found. Please select one to extend:")
fmt.Println("")
// print header
w := tabwriter.NewWriter(os.Stdout, 0, 8, 2, ' ', 0)
fmt.Fprint(w, "id\tLV\tVG\tLSize\tMountpoints\n")
for idx, lv := range lvs {
fmt.Fprintf(w, "%d\t%s\t%s\t%s\t%s\n", idx+1, lv.LvName, lv.VgName, lv.LvSize, strings.Join(lv.Mountpoints, ","))
}
w.Flush()
LOOP:
fmt.Printf("\nEnter the logical volume id to extend: ")
var input string
input, err = reader.ReadString('\n')
if err != nil && err.Error() != "EOF" {
return "", errors.Wrap(errors.WithStack(err), "read logical volume id failed")
}
input = strings.TrimSpace(input)
if input == "" {
fmt.Printf("\ninvalid logical volume id, please try again")
goto LOOP
}
selectedIdx, err := strconv.Atoi(input)
if err != nil || selectedIdx < 1 || selectedIdx > len(lvs) {
fmt.Printf("\ninvalid logical volume id, please try again")
goto LOOP
}
return lvs[selectedIdx-1].LvName, nil
}
func selectExtendingDevices(unmountedDevices map[string]*lvm.BlkPart) (string, error) {
if len(unmountedDevices) == 0 {
return "", errors.New("no unmounted devices available for selection")
}
if len(unmountedDevices) == 1 {
for path := range unmountedDevices {
return path, nil
}
}
reader, err := utils.GetBufIOReaderOfTerminalInput()
if err != nil {
return "", errors.Wrap(err, "failed to get terminal input reader")
}
fmt.Println("Multiple unmounted devices found. Please select one to use:")
fmt.Println("")
// print header
w := tabwriter.NewWriter(os.Stdout, 0, 8, 2, ' ', 0)
fmt.Fprint(w, "id\tDevice\tSize\n")
idx := 1
devicePaths := make([]string, 0, len(unmountedDevices))
for path, device := range unmountedDevices {
fmt.Fprintf(w, "%d\t%s\t%s\n", idx, path, device.Size)
devicePaths = append(devicePaths, path)
idx++
}
w.Flush()
LOOP:
fmt.Printf("\nEnter the device id to use: ")
var input string
input, err = reader.ReadString('\n')
if err != nil && err.Error() != "EOF" {
return "", errors.Wrap(errors.WithStack(err), "read device id failed")
}
input = strings.TrimSpace(input)
if input == "" {
fmt.Printf("\ninvalid device id, please try again")
goto LOOP
}
selectedIdx, err := strconv.Atoi(input)
if err != nil || selectedIdx < 1 || selectedIdx > len(devicePaths) {
fmt.Printf("\ninvalid device id, please try again")
goto LOOP
}
return devicePaths[selectedIdx-1], nil
}
func (o LvmExtendOptions) destroyWarning() (bool, error) {
reader, err := utils.GetBufIOReaderOfTerminalInput()
if err != nil {
return false, errors.Wrap(err, "failed to get terminal input reader")
}
fmt.Printf("WARNING: This will DESTROY all data on %s\n", o.DevicePath)
LOOP:
fmt.Printf("Type 'YES' to continue, CTRL+C to abort: ")
var input string
input, err = reader.ReadString('\n')
if err != nil && err.Error() != "EOF" {
return false, errors.Wrap(errors.WithStack(err), "read confirmation input failed")
}
input = strings.ToUpper(strings.TrimSpace(input))
if input != "YES" {
goto LOOP
}
return true, nil
}
func (o LvmExtendOptions) makeDecision() (bool, error) {
reader, err := utils.GetBufIOReaderOfTerminalInput()
if err != nil {
return false, errors.Wrap(err, "failed to get terminal input reader")
}
fmt.Printf("NOTICE: Extending LVM will begin on device %s\n", o.DevicePath)
LOOP:
fmt.Printf("Type 'YES' to continue, CTRL+C to abort: ")
var input string
input, err = reader.ReadString('\n')
if err != nil && err.Error() != "EOF" {
return false, errors.Wrap(errors.WithStack(err), "read confirmation input failed")
}
input = strings.ToUpper(strings.TrimSpace(input))
if input != "YES" {
goto LOOP
}
return true, nil
}
func (o LvmExtendOptions) cleanupDiskParts() (bool, error) {
if o.DeviceBlk == nil {
return false, errors.New("device block is nil")
}
if len(o.DeviceBlk.Children) == 0 {
return false, nil
}
return true, nil
}
func (o LvmExtendOptions) deleteDevicePartitions() error {
log.Printf("Selected device %s has existing partitions. Cleaning up...\n", o.DevicePath)
if o.DeviceBlk == nil {
return errors.New("device block is nil")
}
if len(o.DeviceBlk.Children) == 0 {
return nil
}
log.Printf("Deleting existing partitions on device %s...\n", o.DevicePath)
var partitions []string
for _, part := range o.DeviceBlk.Children {
partitions = append(partitions, "/dev/"+part.Name)
}
vgs, err := lvm.FindVgsOnDevice(partitions)
if err != nil {
return errors.Wrap(err, "failed to find volume groups on device partitions")
}
if len(vgs) > 0 {
log.Println("existing volume group on device, delete it first")
for _, vg := range vgs {
lvs, err := lvm.FindLvByVgName(vg.VgName)
if err != nil {
return errors.Wrapf(err, "failed to find logical volumes in volume group %s", vg.VgName)
}
err = lvm.DeactivateLv(vg.VgName)
if err != nil {
return errors.Wrapf(err, "failed to deactivate volume group %s", vg.VgName)
}
for _, lv := range lvs {
err = lvm.RemoveLv(lv.LvPath)
if err != nil {
return errors.Wrapf(err, "failed to remove logical volume %s", lv.LvPath)
}
}
err = lvm.RemoveVg(vg.VgName)
if err != nil {
return errors.Wrapf(err, "failed to remove volume group %s", vg)
}
err = lvm.RemovePv(vg.PvName)
if err != nil {
return errors.Wrapf(err, "failed to remove physical volume %s", vg.PvName)
}
}
}
log.Printf("Deleting partitions on device %s...\n", o.DevicePath)
err = lvm.DeleteDevicePartitions(o.DevicePath)
if err != nil {
return errors.Wrapf(err, "failed to delete partitions on device %s", o.DevicePath)
}
return nil
}
func (o LvmExtendOptions) extendLVM() error {
log.Printf("Creating partition on device %s...\n", o.DevicePath)
err := lvm.MakePartOnDevice(o.DevicePath)
if err != nil {
return errors.Wrapf(err, "failed to create partition on device %s", o.DevicePath)
}
log.Printf("Creating physical volume on device %s...\n", o.DevicePath)
err = lvm.AddNewPV(o.DevicePath, o.VgName)
if err != nil {
return errors.Wrapf(err, "failed to create physical volume on device %s", o.DevicePath)
}
log.Printf("Extending volume group %s with logic volume %s on device %s...\n", o.VgName, o.LvName, o.DevicePath)
err = lvm.ExtendLv(o.VgName, o.LvName)
if err != nil {
return errors.Wrapf(err, "failed to extend logical volume %s in volume group %s", o.LvName, o.VgName)
}
return nil
}

View File

@@ -0,0 +1,34 @@
package disk
import (
"fmt"
"log"
"os"
"text/tabwriter"
"github.com/beclab/Olares/cli/pkg/utils/lvm"
"github.com/spf13/cobra"
)
func NewListUnmountedDisksCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "list-unmounted",
Short: "List unmounted disks",
Run: func(cmd *cobra.Command, args []string) {
unmountedDevices, err := lvm.FindUnmountedDevices()
if err != nil {
log.Fatalf("Error finding unmounted devices: %v\n", err)
}
// print header
w := tabwriter.NewWriter(os.Stdout, 0, 8, 2, ' ', 0)
fmt.Fprint(w, "Device\tSize\n")
for path, device := range unmountedDevices {
fmt.Fprintf(w, "%s\t%s\n", path, device.Size)
}
w.Flush()
},
}
return cmd
}

15
cli/cmd/ctl/disk/root.go Normal file
View File

@@ -0,0 +1,15 @@
package disk
import "github.com/spf13/cobra"
func NewDiskCommand() *cobra.Command {
cmd := &cobra.Command{
Use: "disk",
Short: "disk management operations",
}
cmd.AddCommand(NewListUnmountedDisksCommand())
cmd.AddCommand(NewExtendDiskCommand())
return cmd
}

View File

@@ -0,0 +1,23 @@
package gpu
import (
"log"
"github.com/beclab/Olares/cli/pkg/pipelines"
"github.com/spf13/cobra"
)
func NewCmdDisableNouveau() *cobra.Command {
cmd := &cobra.Command{
Use: "disable-nouveau",
Short: "Blacklist and disable the nouveau kernel module",
Run: func(cmd *cobra.Command, args []string) {
if err := pipelines.DisableNouveau(); err != nil {
log.Fatalf("error: %v", err)
}
},
}
return cmd
}

View File

@@ -14,7 +14,7 @@ func NewCmdGpu() *cobra.Command {
rootGpuCmd.AddCommand(NewCmdUninstallpu())
rootGpuCmd.AddCommand(NewCmdEnableGpu())
rootGpuCmd.AddCommand(NewCmdDisableGpu())
rootGpuCmd.AddCommand(NewCmdUpgradeGpu())
rootGpuCmd.AddCommand(NewCmdGpuStatus())
rootGpuCmd.AddCommand(NewCmdDisableNouveau())
return rootGpuCmd
}

View File

@@ -1,24 +0,0 @@
package gpu
import (
"log"
"github.com/beclab/Olares/cli/cmd/ctl/options"
"github.com/beclab/Olares/cli/pkg/pipelines"
"github.com/spf13/cobra"
)
func NewCmdUpgradeGpu() *cobra.Command {
o := options.NewInstallGpuOptions()
cmd := &cobra.Command{
Use: "upgrade",
Short: "upgrade GPU drivers for Olares",
Run: func(cmd *cobra.Command, args []string) {
if err := pipelines.UpgradeGpuDrivers(o); err != nil {
log.Fatalf("error: %v", err)
}
},
}
o.AddFlags(cmd)
return cmd
}

View File

@@ -5,6 +5,7 @@ import (
cc "github.com/beclab/Olares/cli/pkg/core/common"
"github.com/beclab/Olares/cli/pkg/phase/cluster"
"github.com/spf13/cobra"
"k8s.io/utils/pointer"
)
type CliTerminusUninstallOptions struct {
@@ -28,19 +29,23 @@ func (o *CliTerminusUninstallOptions) AddFlags(cmd *cobra.Command) {
}
type CliTerminusInstallOptions struct {
Version string
KubeType string
WithJuiceFS bool
MiniKubeProfile string
BaseDir string
Version string
KubeType string
WithJuiceFS bool
MiniKubeProfile string
BaseDir string
EnableReverseProxy *bool
common.SwapConfig
}
func NewCliTerminusInstallOptions() *CliTerminusInstallOptions {
return &CliTerminusInstallOptions{}
return &CliTerminusInstallOptions{
EnableReverseProxy: pointer.Bool(false),
}
}
func (o *CliTerminusInstallOptions) AddFlags(cmd *cobra.Command) {
cmd.Flags().BoolVar(o.EnableReverseProxy, "enable-reverse-proxy", false, "Enable reverse proxy, if not set, will be dynamically enabled if public IP is not detected, and disabled otherwise")
cmd.Flags().StringVarP(&o.Version, "version", "v", "", "Set Olares version, e.g., 1.10.0, 1.10.0-20241109")
cmd.Flags().StringVar(&o.KubeType, "kube", "k3s", "Set kube type, e.g., k3s or k8s")
cmd.Flags().BoolVar(&o.WithJuiceFS, "with-juicefs", false, "Use JuiceFS as the rootfs for Olares workloads, rather than the local disk.")

View File

@@ -6,12 +6,12 @@ import (
)
type CliDownloadWizardOptions struct {
Version string
KubeType string
BaseDir string
DownloadCdnUrl string
ReleaseID string
UrlOverride string
Version string
KubeType string
BaseDir string
CDNService string
ReleaseID string
UrlOverride string
}
func NewCliDownloadWizardOptions() *CliDownloadWizardOptions {
@@ -22,17 +22,17 @@ func (o *CliDownloadWizardOptions) AddFlags(cmd *cobra.Command) {
cmd.Flags().StringVarP(&o.Version, "version", "v", "", "Set Olares version, e.g., 1.10.0, 1.10.0-20241109")
cmd.Flags().StringVarP(&o.BaseDir, "base-dir", "b", "", "Set Olares package base dir, defaults to $HOME/"+cc.DefaultBaseDir)
cmd.Flags().StringVar(&o.KubeType, "kube", "k3s", "Set kube type, e.g., k3s or k8s")
cmd.Flags().StringVar(&o.DownloadCdnUrl, "download-cdn-url", "", "Set the CDN accelerated download address in the format https://example.cdn.com. If not set, the default download address will be used")
cmd.Flags().StringVar(&o.CDNService, "cdn-service", "", "Set the CDN accelerated download address in the format https://example.cdn.com. If not set, the default download address will be used")
cmd.Flags().StringVar(&o.UrlOverride, "url-override", "", "Set another URL for wizard download explicitly")
cmd.Flags().StringVar(&o.ReleaseID, "release-id", "", "Set the specific release id of the release version")
}
type CliDownloadOptions struct {
Version string
KubeType string
Manifest string
BaseDir string
DownloadCdnUrl string
Version string
KubeType string
Manifest string
BaseDir string
CDNService string
}
func NewCliDownloadOptions() *CliDownloadOptions {
@@ -44,5 +44,5 @@ func (o *CliDownloadOptions) AddFlags(cmd *cobra.Command) {
cmd.Flags().StringVarP(&o.BaseDir, "base-dir", "b", "", "Set Olares package base dir , defaults to $HOME/"+cc.DefaultBaseDir)
cmd.Flags().StringVar(&o.Manifest, "manifest", "", "Set package manifest file , defaults to {base-dir}/versions/v{version}/installation.manifest")
cmd.Flags().StringVar(&o.KubeType, "kube", "k3s", "Set kube type, e.g., k3s or k8s")
cmd.Flags().StringVar(&o.DownloadCdnUrl, "download-cdn-url", "", "Set the CDN accelerated download address in the format https://example.cdn.com. If not set, the default download address will be used")
cmd.Flags().StringVar(&o.CDNService, "cdn-service", "", "Set the CDN accelerated download address in the format https://example.cdn.com. If not set, the default download address will be used")
}

View File

@@ -24,6 +24,9 @@ func NewCmdInstallOs() *cobra.Command {
Use: "install",
Short: "Install Olares",
Run: func(cmd *cobra.Command, args []string) {
if !cmd.Flags().Changed("enable-reverse-proxy") {
o.InstallOptions.EnableReverseProxy = nil
}
if err := pipelines.CliInstallTerminusPipeline(o.InstallOptions); err != nil {
log.Fatalf("error: %v", err)
}

View File

@@ -49,7 +49,7 @@ func NewCmdRelease() *cobra.Command {
}
if version == "" {
version = fmt.Sprintf("1.12.1-%s", time.Now().Format("20060102150405"))
version = fmt.Sprintf("1.12.3-%s", time.Now().Format("20060102150405"))
fmt.Printf("--version unspecified, using: %s\n", version)
time.Sleep(1 * time.Second)
}
@@ -77,7 +77,7 @@ func NewCmdRelease() *cobra.Command {
cmd.Flags().StringVarP(&baseDir, "base-dir", "b", "", "base directory of Olares, where this release will be extracted to as a new version if --extract/-e is not disabled, defaults to $HOME/"+common.DefaultBaseDir)
cmd.Flags().StringVarP(&version, "version", "v", "", "version of this release, defaults to 0.0.0-local-dev-{yyyymmddhhmmss}")
cmd.Flags().StringVar(&cdn, "download-cdn-url", common.DownloadUrl, "CDN used for downloading checksums of dependencies and images")
cmd.Flags().StringVar(&cdn, "cdn-service", common.DefaultOlaresCDNService, "CDN used for downloading checksums of dependencies and images")
cmd.Flags().BoolVar(&ignoreMissingImages, "ignore-missing-images", true, "ignore missing images when downloading cheksums from CDN, only disable this if no new image is added, or the build may fail because the image is not uploaded to the CDN yet")
cmd.Flags().BoolVarP(&extract, "extract", "e", true, "extract this release to --base-dir after build, this can be disabled if only the release file itself is needed")

View File

@@ -1,6 +1,7 @@
package ctl
import (
"github.com/beclab/Olares/cli/cmd/ctl/disk"
"github.com/beclab/Olares/cli/cmd/ctl/gpu"
"github.com/beclab/Olares/cli/cmd/ctl/node"
"github.com/beclab/Olares/cli/cmd/ctl/os"
@@ -33,6 +34,7 @@ func NewDefaultCommand() *cobra.Command {
cmds.AddCommand(node.NewNodeCommand())
cmds.AddCommand(gpu.NewCmdGpu())
cmds.AddCommand(user.NewUserCommand())
cmds.AddCommand(disk.NewDiskCommand())
return cmds
}

View File

@@ -0,0 +1,122 @@
package user
import (
"fmt"
"log"
"strings"
"github.com/beclab/Olares/cli/pkg/wizard"
"github.com/spf13/cobra"
)
type activateUserOptions struct {
Mnemonic string
BflUrl string
VaultUrl string
Password string
OlaresId string
ResetPassword string
Location string
Language string
EnableTunnel bool
Host string
Jws string
}
func NewCmdActivateUser() *cobra.Command {
o := &activateUserOptions{}
cmd := &cobra.Command{
Use: "activate {Olares ID (e.g., user@example.com)}",
Short: "activate a new user",
Args: cobra.ExactArgs(1),
Run: func(cmd *cobra.Command, args []string) {
o.OlaresId = args[0]
if err := o.Validate(); err != nil {
log.Fatal(err)
}
if err := o.Run(); err != nil {
log.Fatal(err)
}
},
}
o.AddFlags(cmd)
return cmd
}
func (o *activateUserOptions) AddFlags(cmd *cobra.Command) {
cmd.Flags().StringVar(&o.Mnemonic, "mnemonic", "", "12-word mnemonic phrase, required for activation")
cmd.Flags().StringVar(&o.BflUrl, "bfl", "http://127.0.0.1:30180", "Bfl URL (e.g., https://example.com, default: http://127.0.0.1:30180)")
cmd.Flags().StringVar(&o.VaultUrl, "vault", "http://127.0.0.1:30180", "Vault URL (e.g., https://example.com, default: http://127.0.0.1:30181)")
cmd.Flags().StringVarP(&o.Password, "password", "p", "", "OS password for authentication, required for activation")
cmd.Flags().StringVar(&o.Location, "location", "Asia/Shanghai", "Timezone location (default: Asia/Shanghai)")
cmd.Flags().StringVar(&o.Language, "language", "en-US", "System language (default: en-US)")
cmd.Flags().BoolVar(&o.EnableTunnel, "enable-tunnel", false, "Enable tunnel mode (default: false)")
cmd.Flags().StringVar(&o.Host, "host", "", "FRP host (only used when tunnel is enabled)")
cmd.Flags().StringVar(&o.Jws, "jws", "", "FRP JWS token (only used when tunnel is enabled)")
cmd.Flags().StringVar(&o.ResetPassword, "reset-password", "", "New password for resetting (required for password reset)")
}
func (o *activateUserOptions) Validate() error {
if o.OlaresId == "" {
return fmt.Errorf("Olares ID is required")
}
if o.Password == "" {
return fmt.Errorf("Password is required")
}
if o.Mnemonic == "" {
return fmt.Errorf("Mnemonic is required")
}
if o.ResetPassword == "" {
return fmt.Errorf("Reset password is required")
}
return nil
}
func (c *activateUserOptions) Run() error {
log.Println("=== TermiPass CLI - User Bind Terminus ===")
localName := c.OlaresId
if strings.Contains(c.OlaresId, "@") {
localName = strings.Split(c.OlaresId, "@")[0]
}
log.Printf("Parameters:")
log.Printf(" BflUrl: %s", c.BflUrl)
log.Printf(" VaultUrl: %s", c.VaultUrl)
log.Printf(" Terminus Name: %s", c.OlaresId)
log.Printf(" Local Name: %s", localName)
log.Printf("Initializing global stores with mnemonic...")
err := wizard.InitializeGlobalStores(c.Mnemonic, c.OlaresId)
if err != nil {
return fmt.Errorf("failed to initialize global stores: %v", err)
}
accessToken, err := wizard.UserBindTerminus(c.Mnemonic, c.BflUrl, c.VaultUrl, c.Password, c.OlaresId, localName)
if err != nil {
return fmt.Errorf("user bind failed: %v", err)
}
log.Printf("✅ Vault activation completed successfully!")
log.Printf("🚀 Starting system activation wizard...")
wizardConfig := wizard.CustomWizardConfig(c.Location, c.Language, c.EnableTunnel, c.Host, c.Jws, c.Password, c.ResetPassword)
log.Printf("Wizard configuration:")
log.Printf(" Location: %s", wizardConfig.System.Location)
log.Printf(" Language: %s", wizardConfig.System.Language)
log.Printf(" Enable Tunnel: %t", c.EnableTunnel)
if c.EnableTunnel && wizardConfig.System.FRP != nil {
log.Printf(" FRP Host: %s", wizardConfig.System.FRP.Host)
log.Printf(" FRP JWS: %s", wizardConfig.System.FRP.Jws)
}
err = wizard.RunActivationWizard(c.BflUrl, accessToken, wizardConfig)
if err != nil {
return fmt.Errorf("activation wizard failed: %v", err)
}
log.Printf("🎉 Complete Terminus activation finished successfully!")
return nil
}

View File

@@ -0,0 +1,170 @@
package user
import (
"bytes"
"context"
"crypto/md5"
"encoding/hex"
"encoding/json"
"fmt"
"io"
"log"
"net/http"
"os"
"time"
authv1 "k8s.io/api/authentication/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/client-go/kubernetes"
"k8s.io/client-go/tools/clientcmd"
"github.com/spf13/cobra"
)
const (
resetNamespace = "os-framework"
resetServiceAccount = "olares-cli-sa"
resetServiceName = "auth-provider-svc"
resetServicePortName = "server"
defaultServicePort = 28080
passwordSaltSuffix = "@Olares2025"
authHeaderBearer = "Bearer "
cliAuthHeader = "Olares-CLI-Authorization"
resetRequestPathTmpl = "http://%s:%d/cli/api/reset/%s/password"
)
type resetPasswordOptions struct {
username string
password string
kubeConfig string
}
func NewCmdResetPassword() *cobra.Command {
o := &resetPasswordOptions{}
cmd := &cobra.Command{
Use: "reset-password {username}",
Short: "forcefully reset a user's password via auth-provider",
Args: cobra.ExactArgs(1),
Run: func(cmd *cobra.Command, args []string) {
o.username = args[0]
if err := o.Validate(); err != nil {
log.Fatal(err)
}
if err := o.Run(cmd.Context()); err != nil {
log.Fatal(err)
}
},
}
o.AddFlags(cmd)
return cmd
}
func (o *resetPasswordOptions) AddFlags(cmd *cobra.Command) {
cmd.Flags().StringVarP(&o.password, "password", "p", "", "new password to set")
cmd.Flags().StringVar(&o.kubeConfig, "kubeconfig", "", "path to kubeconfig file (optional)")
}
func (o *resetPasswordOptions) Validate() error {
if o.username == "" {
return fmt.Errorf("username is required")
}
if o.password == "" {
return fmt.Errorf("password is required")
}
return nil
}
func (o *resetPasswordOptions) Run(ctx context.Context) error {
cfgPath := o.kubeConfig
if cfgPath == "" {
cfgPath = os.Getenv("KUBECONFIG")
if cfgPath == "" {
cfgPath = clientcmd.RecommendedHomeFile
}
}
restCfg, err := clientcmd.BuildConfigFromFlags("", cfgPath)
if err != nil {
return fmt.Errorf("failed to load kubeconfig: %w", err)
}
k8s, err := kubernetes.NewForConfig(restCfg)
if err != nil {
return fmt.Errorf("failed to create k8s client: %w", err)
}
expires := int64(3600)
tr := &authv1.TokenRequest{
Spec: authv1.TokenRequestSpec{
ExpirationSeconds: &expires,
},
}
tokenResp, err := k8s.CoreV1().ServiceAccounts(resetNamespace).CreateToken(ctx, resetServiceAccount, tr, metav1.CreateOptions{})
if err != nil {
return fmt.Errorf("failed to create service account token: %w", err)
}
saToken := tokenResp.Status.Token
if saToken == "" {
return fmt.Errorf("received empty token for service account %s/%s", resetNamespace, resetServiceAccount)
}
svc, err := k8s.CoreV1().Services(resetNamespace).Get(ctx, resetServiceName, metav1.GetOptions{})
if err != nil {
return fmt.Errorf("failed to get service %s/%s: %w", resetNamespace, resetServiceName, err)
}
clusterIP := svc.Spec.ClusterIP
port := int32(defaultServicePort)
if len(svc.Spec.Ports) > 0 {
chosen := svc.Spec.Ports[0].Port
for _, p := range svc.Spec.Ports {
if p.Name == resetServicePortName {
chosen = p.Port
break
}
}
port = chosen
}
if clusterIP == "" {
return fmt.Errorf("service %s/%s has empty ClusterIP", resetNamespace, resetServiceName)
}
url := fmt.Sprintf(resetRequestPathTmpl, clusterIP, port, o.username)
bodyMap := map[string]string{
"password": saltedMD5(o.password),
}
payload, err := json.Marshal(bodyMap)
if err != nil {
return fmt.Errorf("failed to marshal request body: %w", err)
}
req, err := http.NewRequestWithContext(ctx, http.MethodPost, url, bytes.NewReader(payload))
if err != nil {
return fmt.Errorf("failed to create http request: %w", err)
}
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", authHeaderBearer+saToken)
req.Header.Set(cliAuthHeader, authHeaderBearer+saToken)
req.Header.Set("X-Forwarded-Host", fmt.Sprintf("%s.%s:%d", resetServiceName, resetNamespace, port))
httpClient := &http.Client{Timeout: 10 * time.Second}
resp, err := httpClient.Do(req)
if err != nil {
return fmt.Errorf("reset password request failed: %w", err)
}
defer resp.Body.Close()
if resp.StatusCode != http.StatusOK {
body, _ := io.ReadAll(resp.Body)
codeText := http.StatusText(resp.StatusCode)
if len(body) > 0 {
return fmt.Errorf("reset password failed: %d(%s), %s", resp.StatusCode, codeText, string(body))
}
return fmt.Errorf("reset password failed: %d(%s)", resp.StatusCode, codeText)
}
fmt.Printf("Password for user '%s' reset successfully\n", o.username)
return nil
}
func saltedMD5(s string) string {
sum := md5.Sum([]byte(s + passwordSaltSuffix))
return hex.EncodeToString(sum[:])
}

View File

@@ -11,6 +11,8 @@ func NewUserCommand() *cobra.Command {
cmd.AddCommand(NewCmdDeleteUser())
cmd.AddCommand(NewCmdListUsers())
cmd.AddCommand(NewCmdGetUser())
cmd.AddCommand(NewCmdActivateUser())
cmd.AddCommand(NewCmdResetPassword())
// cmd.AddCommand(NewCmdUpdateUserLimits())
return cmd
}

View File

@@ -1,11 +1,11 @@
module github.com/beclab/Olares/cli
go 1.24.0
go 1.24.2
toolchain go1.24.3
toolchain go1.24.6
replace (
bytetrade.io/web3os/app-service => github.com/beclab/app-service v0.2.33
bytetrade.io/web3os/app-service => github.com/beclab/app-service v0.4.41
bytetrade.io/web3os/backups-sdk => github.com/Above-Os/backups-sdk v0.1.17
github.com/containers/image/v5 => github.com/containers/image/v5 v5.21.1
github.com/containers/storage => github.com/containers/storage v1.40.0
@@ -19,7 +19,7 @@ require (
github.com/Masterminds/semver/v3 v3.4.0
github.com/PaesslerAG/jsonpath v0.1.1
github.com/alecthomas/assert/v2 v2.11.0
github.com/beclab/api v0.0.0-20250805111305-08be8f53edf0
github.com/beclab/api v0.0.2
github.com/cavaliergopher/grab/v3 v3.0.1
github.com/containerd/containerd v1.7.28
github.com/decentralized-identity/web5-go v0.25.0
@@ -44,26 +44,29 @@ require (
github.com/shurcooL/httpfs v0.0.0-20230704072500-f1e31cf0ba5c
github.com/spf13/cobra v1.9.1
github.com/spf13/pflag v1.0.7
github.com/stretchr/testify v1.10.0
github.com/stretchr/testify v1.11.1
github.com/syndtr/goleveldb v1.0.0
github.com/tyler-smith/go-bip39 v1.1.0
go.uber.org/zap v1.27.0
golang.org/x/crypto v0.40.0
golang.org/x/sys v0.34.0
golang.org/x/term v0.33.0
golang.org/x/text v0.27.0
golang.org/x/crypto v0.41.0
golang.org/x/sys v0.35.0
golang.org/x/term v0.34.0
golang.org/x/text v0.28.0
gopkg.in/yaml.v2 v2.4.0
helm.sh/helm/v3 v3.18.5
k8s.io/api v0.33.3
k8s.io/apimachinery v0.33.3
k8s.io/client-go v0.33.3
gopkg.in/yaml.v3 v3.0.1
helm.sh/helm/v3 v3.18.6
k8s.io/api v0.34.0
k8s.io/apiextensions-apiserver v0.34.0
k8s.io/apimachinery v0.34.0
k8s.io/client-go v0.34.0
k8s.io/klog/v2 v2.130.1
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738
sigs.k8s.io/controller-runtime v0.21.0
k8s.io/utils v0.0.0-20250820121507-0af2bda4dd1d
sigs.k8s.io/controller-runtime v0.22.0
sigs.k8s.io/kustomize/kyaml v0.20.1
)
require (
dario.cat/mergo v1.0.1 // indirect
dario.cat/mergo v1.0.2 // indirect
github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 // indirect
github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20230306123547-8075edf89bb0 // indirect
github.com/Azure/go-ansiterm v0.0.0-20250102033503-faa5f7b0171c // indirect
@@ -73,53 +76,57 @@ require (
github.com/Masterminds/sprig/v3 v3.3.0 // indirect
github.com/Masterminds/squirrel v1.5.4 // indirect
github.com/Microsoft/go-winio v0.6.2 // indirect
github.com/Microsoft/hcsshim v0.11.7 // indirect
github.com/Microsoft/hcsshim v0.13.0 // indirect
github.com/PaesslerAG/gval v1.0.0 // indirect
github.com/alecthomas/repr v0.4.0 // indirect
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/blang/semver/v4 v4.0.0 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/chai2010/gettext-go v1.0.2 // indirect
github.com/containerd/cgroups v1.1.0 // indirect
github.com/chai2010/gettext-go v1.0.3 // indirect
github.com/containerd/cgroups/v3 v3.0.5 // indirect
github.com/containerd/containerd/api v1.8.0 // indirect
github.com/containerd/continuity v0.4.4 // indirect
github.com/containerd/errdefs v0.3.0 // indirect
github.com/containerd/errdefs v1.0.0 // indirect
github.com/containerd/errdefs/pkg v0.3.0 // indirect
github.com/containerd/fifo v1.1.0 // indirect
github.com/containerd/log v0.1.0 // indirect
github.com/containerd/platforms v0.2.1 // indirect
github.com/containerd/ttrpc v1.2.7 // indirect
github.com/containerd/typeurl/v2 v2.1.1 // indirect
github.com/containerd/typeurl/v2 v2.2.3 // indirect
github.com/cyphar/filepath-securejoin v0.4.1 // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/dgrijalva/jwt-go v3.2.0+incompatible // indirect
github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c // indirect
github.com/ebitengine/purego v0.8.4 // indirect
github.com/emicklei/go-restful/v3 v3.12.1 // indirect
github.com/emicklei/go-restful/v3 v3.13.0 // indirect
github.com/evanphx/json-patch v5.9.11+incompatible // indirect
github.com/evanphx/json-patch/v5 v5.9.11 // indirect
github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f // indirect
github.com/fatih/color v1.13.0 // indirect
github.com/fatih/color v1.18.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/fxamacker/cbor/v2 v2.7.0 // indirect
github.com/go-errors/errors v1.4.2 // indirect
github.com/fsnotify/fsnotify v1.9.0 // indirect
github.com/fxamacker/cbor/v2 v2.9.0 // indirect
github.com/go-crypt/crypt v0.4.5 // indirect
github.com/go-crypt/x v0.4.7 // indirect
github.com/go-errors/errors v1.5.1 // indirect
github.com/go-gorp/gorp/v3 v3.1.0 // indirect
github.com/go-logr/logr v1.4.2 // indirect
github.com/go-logr/logr v1.4.3 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/go-ole/go-ole v1.2.6 // indirect
github.com/go-openapi/jsonpointer v0.21.0 // indirect
github.com/go-openapi/jsonreference v0.20.2 // indirect
github.com/go-openapi/swag v0.23.0 // indirect
github.com/go-openapi/jsonpointer v0.21.1 // indirect
github.com/go-openapi/jsonreference v0.21.0 // indirect
github.com/go-openapi/swag v0.23.1 // indirect
github.com/go-resty/resty/v2 v2.16.5 // indirect
github.com/gobwas/glob v0.2.3 // indirect
github.com/gobwas/glob v0.2.4-0.20181002190808-e7a84e9525fe // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db // indirect
github.com/google/btree v1.1.3 // indirect
github.com/google/gnostic-models v0.6.9 // indirect
github.com/google/gnostic-models v0.7.0 // indirect
github.com/google/go-cmp v0.7.0 // indirect
github.com/google/gopacket v1.1.19 // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 // indirect
github.com/gosuri/uitable v0.0.4 // indirect
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 // indirect
@@ -138,8 +145,8 @@ require (
github.com/lib/pq v1.10.9 // indirect
github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de // indirect
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mattn/go-colorable v0.1.13 // indirect
github.com/mailru/easyjson v0.9.0 // indirect
github.com/mattn/go-colorable v0.1.14 // indirect
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/mattn/go-runewidth v0.0.16 // indirect
github.com/mattn/go-sqlite3 v1.14.30 // indirect
@@ -149,29 +156,32 @@ require (
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/moby/locker v1.0.1 // indirect
github.com/moby/spdystream v0.5.0 // indirect
github.com/moby/sys/mountinfo v0.6.2 // indirect
github.com/moby/sys/sequential v0.5.0 // indirect
github.com/moby/sys/mountinfo v0.7.2 // indirect
github.com/moby/sys/sequential v0.6.0 // indirect
github.com/moby/sys/signal v0.7.0 // indirect
github.com/moby/sys/user v0.3.0 // indirect
github.com/moby/sys/user v0.4.0 // indirect
github.com/moby/sys/userns v0.1.0 // indirect
github.com/moby/term v0.5.2 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee // indirect
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f // indirect
github.com/nats-io/nats.go v1.45.0 // indirect
github.com/nats-io/nkeys v0.4.11 // indirect
github.com/nats-io/nuid v1.0.1 // indirect
github.com/olekukonko/tablewriter v0.0.5 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.1.1 // indirect
github.com/opencontainers/runtime-spec v1.1.0 // indirect
github.com/opencontainers/selinux v1.11.0 // indirect
github.com/opencontainers/runtime-spec v1.2.1 // indirect
github.com/opencontainers/selinux v1.12.0 // indirect
github.com/peterbourgon/diskv v2.0.1+incompatible // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
github.com/prometheus/client_golang v1.22.0 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.62.0 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
github.com/prometheus/client_golang v1.23.0 // indirect
github.com/prometheus/client_model v0.6.2 // indirect
github.com/prometheus/common v0.65.0 // indirect
github.com/prometheus/procfs v0.16.1 // indirect
github.com/rivo/uniseg v0.4.7 // indirect
github.com/rubenv/sql-migrate v1.8.0 // indirect
github.com/russross/blackfriday/v2 v2.1.0 // indirect
@@ -179,7 +189,8 @@ require (
github.com/shopspring/decimal v1.4.0 // indirect
github.com/sirupsen/logrus v1.9.3 // indirect
github.com/smartystreets/goconvey v1.8.1 // indirect
github.com/spf13/cast v1.7.0 // indirect
github.com/spf13/cast v1.9.2 // indirect
github.com/thoas/go-funk v0.9.3 // indirect
github.com/tklauser/go-sysconf v0.3.15 // indirect
github.com/tklauser/numcpus v0.10.0 // indirect
github.com/x448/float16 v0.8.4 // indirect
@@ -187,36 +198,34 @@ require (
github.com/yusufpapurcu/wmi v1.2.4 // indirect
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0 // indirect
go.opentelemetry.io/otel v1.33.0 // indirect
go.opentelemetry.io/otel/metric v1.33.0 // indirect
go.opentelemetry.io/otel/trace v1.33.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0 // indirect
go.opentelemetry.io/otel v1.36.0 // indirect
go.opentelemetry.io/otel/metric v1.36.0 // indirect
go.opentelemetry.io/otel/trace v1.36.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.yaml.in/yaml/v2 v2.4.2 // indirect
go.yaml.in/yaml/v3 v3.0.3 // indirect
golang.org/x/net v0.42.0 // indirect
go.yaml.in/yaml/v3 v3.0.4 // indirect
golang.org/x/net v0.43.0 // indirect
golang.org/x/oauth2 v0.30.0 // indirect
golang.org/x/sync v0.16.0 // indirect
golang.org/x/time v0.12.0 // indirect
gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect
google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576 // indirect
google.golang.org/grpc v1.68.1 // indirect
google.golang.org/protobuf v1.36.6 // indirect
google.golang.org/genproto v0.0.0-20250603155806-513f23925822 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250603155806-513f23925822 // indirect
google.golang.org/grpc v1.72.2 // indirect
google.golang.org/protobuf v1.36.8 // indirect
gopkg.in/evanphx/json-patch.v4 v4.12.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
k8s.io/apiextensions-apiserver v0.33.3 // indirect
k8s.io/apiserver v0.33.3 // indirect
k8s.io/cli-runtime v0.33.3 // indirect
k8s.io/component-base v0.33.3 // indirect
k8s.io/apiserver v0.34.0 // indirect
k8s.io/cli-runtime v0.34.0 // indirect
k8s.io/component-base v0.34.0 // indirect
k8s.io/cri-api v0.27.1 // indirect
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff // indirect
k8s.io/kube-openapi v0.0.0-20250710124328-f3f2b991d03b // indirect
k8s.io/kubectl v0.33.3 // indirect
oras.land/oras-go/v2 v2.6.0 // indirect
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 // indirect
sigs.k8s.io/kustomize/api v0.19.0 // indirect
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 // indirect
sigs.k8s.io/kustomize/api v0.20.1 // indirect
sigs.k8s.io/randfill v1.0.0 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.6.0 // indirect
sigs.k8s.io/yaml v1.5.0 // indirect
sigs.k8s.io/structured-merge-diff/v6 v6.3.0 // indirect
sigs.k8s.io/yaml v1.6.0 // indirect
)

View File

@@ -1,6 +1,6 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
dario.cat/mergo v1.0.1 h1:Ra4+bf83h2ztPIQYNP99R6m+Y7KfnARDfID+a+vLl4s=
dario.cat/mergo v1.0.1/go.mod h1:uNxQE+84aUszobStD9th8a29P2fMDhsBdgRYvZOxGmk=
dario.cat/mergo v1.0.2 h1:85+piFYR1tMbRrLcDwR18y4UKJ3aH1Tbzi24VRW1TK8=
dario.cat/mergo v1.0.2/go.mod h1:E/hbnu0NxMFBjpMIE34DRGLWqDy0g5FuKDhCb31ngxA=
filippo.io/edwards25519 v1.1.0 h1:FNf4tywRC1HmFuKW5xopWpigGjJKiJSV0Cqo0cJWDaA=
filippo.io/edwards25519 v1.1.0/go.mod h1:BxyFTGdWcka3PhytdK4V28tE5sGfRvvvRV7EaN4VDT4=
github.com/Above-Os/backups-sdk v0.1.17 h1:CgqR2aQaefQ4Ur69pUoasv9ugluMi4oNTCqqJ6aqCPc=
@@ -28,8 +28,8 @@ github.com/Masterminds/squirrel v1.5.4 h1:uUcX/aBc8O7Fg9kaISIUsHXdKuqehiXAMQTYX8
github.com/Masterminds/squirrel v1.5.4/go.mod h1:NNaOrjSoIDfDA40n7sr2tPNZRfjzjA400rg+riTZj10=
github.com/Microsoft/go-winio v0.6.2 h1:F2VQgta7ecxGYO8k3ZZz3RS8fVIXVxONVUPlNERoyfY=
github.com/Microsoft/go-winio v0.6.2/go.mod h1:yd8OoFMLzJbo9gZq8j5qaps8bJ9aShtEA8Ipt1oGCvU=
github.com/Microsoft/hcsshim v0.11.7 h1:vl/nj3Bar/CvJSYo7gIQPyRWc9f3c6IeSNavBTSZNZQ=
github.com/Microsoft/hcsshim v0.11.7/go.mod h1:MV8xMfmECjl5HdO7U/3/hFVnkmSBjAjmA09d4bExKcU=
github.com/Microsoft/hcsshim v0.13.0 h1:/BcXOiS6Qi7N9XqUcv27vkIuVOkBEcWstd2pMlWSeaA=
github.com/Microsoft/hcsshim v0.13.0/go.mod h1:9KWJ/8DgU+QzYGupX4tzMhRQE8h6w90lH6HAaclpEok=
github.com/PaesslerAG/gval v1.0.0 h1:GEKnRwkWDdf9dOmKcNrar9EA1bz1z9DqPIO1+iLzhd8=
github.com/PaesslerAG/gval v1.0.0/go.mod h1:y/nm5yEyTeX6av0OfKJNp9rBNj2XrGhAf5+v24IBN1I=
github.com/PaesslerAG/jsonpath v0.1.0/go.mod h1:4BzmtoM/PI8fPO4aQGIusjGxGir2BzcV0grWtFzq1Y8=
@@ -43,10 +43,10 @@ github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPd
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 h1:DklsrG3dyBCFEj5IhUbnKptjxatkF07cF2ak3yi77so=
github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2/go.mod h1:WaHUgvxTVq04UNunO+XhnAqY/wQc+bxr74GqbsZ/Jqw=
github.com/beclab/api v0.0.0-20250805111305-08be8f53edf0 h1:U8AFy37epib5ya5By0gHAWVRT+BetExFkmGTjkhZCoY=
github.com/beclab/api v0.0.0-20250805111305-08be8f53edf0/go.mod h1:1tq7ut9hrjgYWTh6UTth0xPRa7Ags0VJvUmbr4GuJuM=
github.com/beclab/app-service v0.2.33 h1:fsv9sTL7guTdU8z8sO5KIxxd1N5K+Rp4zORRebs+wmI=
github.com/beclab/app-service v0.2.33/go.mod h1:Gpp5e2XPU/nHufT7ZBsRMZrYxpFbI6R4AEiKine+RhI=
github.com/beclab/api v0.0.2 h1:aD5RcMie2uqa/FZI7aQBa1F4yVEib8/x3IIZSLiHkBM=
github.com/beclab/api v0.0.2/go.mod h1:ESZLe8cf4934QFkU6cqbskKfiTyNk67i1qbv/ctS6js=
github.com/beclab/app-service v0.4.41 h1:WSIXEqHSAepHweBooPkc+pedVaGGn335RugNwixkciY=
github.com/beclab/app-service v0.4.41/go.mod h1:0vEg3rv/DbR7dYznvTlXNXyYNn+TXNMaxz03GQYRWUQ=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/blang/semver/v4 v4.0.0 h1:1PFHFE6yCCTv8C1TeyNNarDzntLi7wMI5i/pzqYIsAM=
@@ -60,22 +60,24 @@ github.com/cenkalti/backoff/v4 v4.3.0/go.mod h1:Y3VNntkOUPxTVeUxJ/G5vcM//AlwfmyY
github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU=
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
github.com/chai2010/gettext-go v1.0.2 h1:1Lwwip6Q2QGsAdl/ZKPCwTe9fe0CjlUbqj5bFNSjIRk=
github.com/chai2010/gettext-go v1.0.2/go.mod h1:y+wnP2cHYaVj19NZhYKAwEMH2CI1gNHeQQ+5AjwawxA=
github.com/chai2010/gettext-go v1.0.3 h1:9liNh8t+u26xl5ddmWLmsOsdNLwkdRTg5AG+JnTiM80=
github.com/chai2010/gettext-go v1.0.3/go.mod h1:y+wnP2cHYaVj19NZhYKAwEMH2CI1gNHeQQ+5AjwawxA=
github.com/chengxilo/virtualterm v1.0.4 h1:Z6IpERbRVlfB8WkOmtbHiDbBANU7cimRIof7mk9/PwM=
github.com/chengxilo/virtualterm v1.0.4/go.mod h1:DyxxBZz/x1iqJjFxTFcr6/x+jSpqN0iwWCOK1q10rlY=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc=
github.com/containerd/cgroups v1.1.0 h1:v8rEWFl6EoqHB+swVNjVoCJE8o3jX7e8nqBGPLaDFBM=
github.com/containerd/cgroups v1.1.0/go.mod h1:6ppBcbh/NOOUU+dMKrykgaBnK9lCIBxHqJDGwsa1mIw=
github.com/containerd/cgroups/v3 v3.0.5 h1:44na7Ud+VwyE7LIoJ8JTNQOa549a8543BmzaJHo6Bzo=
github.com/containerd/cgroups/v3 v3.0.5/go.mod h1:SA5DLYnXO8pTGYiAHXz94qvLQTKfVM5GEVisn4jpins=
github.com/containerd/containerd v1.7.28 h1:Nsgm1AtcmEh4AHAJ4gGlNSaKgXiNccU270Dnf81FQ3c=
github.com/containerd/containerd v1.7.28/go.mod h1:azUkWcOvHrWvaiUjSQH0fjzuHIwSPg1WL5PshGP4Szs=
github.com/containerd/containerd/api v1.8.0 h1:hVTNJKR8fMc/2Tiw60ZRijntNMd1U+JVMyTRdsD2bS0=
github.com/containerd/containerd/api v1.8.0/go.mod h1:dFv4lt6S20wTu/hMcP4350RL87qPWLVa/OHOwmmdnYc=
github.com/containerd/continuity v0.4.4 h1:/fNVfTJ7wIl/YPMHjf+5H32uFhl63JucB34PlCpMKII=
github.com/containerd/continuity v0.4.4/go.mod h1:/lNJvtJKUQStBzpVQ1+rasXO1LAWtUQssk28EZvJ3nE=
github.com/containerd/errdefs v0.3.0 h1:FSZgGOeK4yuT/+DnF07/Olde/q4KBoMsaamhXxIMDp4=
github.com/containerd/errdefs v0.3.0/go.mod h1:+YBYIdtsnF4Iw6nWZhJcqGSg/dwvV7tyJ/kCkyJ2k+M=
github.com/containerd/errdefs v1.0.0 h1:tg5yIfIlQIrxYtu9ajqY42W3lpS19XqdxRQeEwYG8PI=
github.com/containerd/errdefs v1.0.0/go.mod h1:+YBYIdtsnF4Iw6nWZhJcqGSg/dwvV7tyJ/kCkyJ2k+M=
github.com/containerd/errdefs/pkg v0.3.0 h1:9IKJ06FvyNlexW690DXuQNx2KA2cUJXx151Xdx3ZPPE=
github.com/containerd/errdefs/pkg v0.3.0/go.mod h1:NJw6s9HwNuRhnjJhM7pylWwMyAkmCQvQ4GpJHEqRLVk=
github.com/containerd/fifo v1.1.0 h1:4I2mbh5stb1u6ycIABlBw9zgtlK8viPI9QkQNRQEEmY=
github.com/containerd/fifo v1.1.0/go.mod h1:bmC4NWMbXlt2EZ0Hc7Fx7QzTFxgPID13eH0Qu+MAb2o=
github.com/containerd/log v0.1.0 h1:TCJt7ioM2cr/tfR8GPbGf9/VRAX8D2B4PjzCpfX540I=
@@ -84,12 +86,11 @@ github.com/containerd/platforms v0.2.1 h1:zvwtM3rz2YHPQsF2CHYM8+KtB5dvhISiXh5ZpS
github.com/containerd/platforms v0.2.1/go.mod h1:XHCb+2/hzowdiut9rkudds9bE5yJ7npe7dG/wG+uFPw=
github.com/containerd/ttrpc v1.2.7 h1:qIrroQvuOL9HQ1X6KHe2ohc7p+HP/0VE6XPU7elJRqQ=
github.com/containerd/ttrpc v1.2.7/go.mod h1:YCXHsb32f+Sq5/72xHubdiJRQY9inL4a4ZQrAbN1q9o=
github.com/containerd/typeurl/v2 v2.1.1 h1:3Q4Pt7i8nYwy2KmQWIw2+1hTvwTE/6w9FqcttATPO/4=
github.com/containerd/typeurl/v2 v2.1.1/go.mod h1:IDp2JFvbwZ31H8dQbEIY7sDl2L3o3HZj1hsSQlywkQ0=
github.com/containerd/typeurl/v2 v2.2.3 h1:yNA/94zxWdvYACdYO8zofhrTVuQY73fFU1y++dYSw40=
github.com/containerd/typeurl/v2 v2.2.3/go.mod h1:95ljDnPfD3bAbDJRugOiShd/DlAAsxGtUBhJxIn7SCk=
github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs=
github.com/coreos/go-systemd/v22 v22.5.0/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g=
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
github.com/creack/pty v1.1.18 h1:n56/Zwd5o6whRC5PMGretI4IdRLlmBXYNjScPaBgsbY=
github.com/creack/pty v1.1.18/go.mod h1:MOBLtS5ELjhRRrroQr9kyvTxUAFNvYEK993ew/Vr4O4=
github.com/cyphar/filepath-securejoin v0.4.1 h1:JyxxyPEaktOD+GAnqIqTf9A8tHyAG22rowi7HkoSU1s=
@@ -104,6 +105,8 @@ github.com/decred/dcrd/crypto/blake256 v1.1.0 h1:zPMNGQCm0g4QTY27fOCorQW7EryeQ/U
github.com/decred/dcrd/crypto/blake256 v1.1.0/go.mod h1:2OfgNZ5wDpcsFmHmCK5gZTPcCXqlm2ArzUIkw9czNJo=
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0 h1:NMZiJj8QnKe1LgsbDayM4UoHwbvwDRwnI3hwNaAHRnc=
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0/go.mod h1:ZXNYxsqcloTdSy/rNShjYzMhyjf0LaoftYK0p+A3h40=
github.com/dgrijalva/jwt-go v3.2.0+incompatible h1:7qlOGliEKZXTDg6OTjfoBKDXWrumCAMpl/TFQ4/5kLM=
github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod h1:E3ru+11k8xSBh+hMPgOLZmtrrCbhqsmaPHjLKYnJCaQ=
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78=
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc=
github.com/distribution/distribution/v3 v3.0.0 h1:q4R8wemdRQDClzoNNStftB2ZAfqOiN6UX90KJc4HjyM=
@@ -112,8 +115,8 @@ github.com/distribution/reference v0.6.0 h1:0IXCQ5g4/QMHHkarYzh5l+u8T3t73zM5Qvfr
github.com/distribution/reference v0.6.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E=
github.com/dlclark/regexp2 v1.11.0 h1:G/nrcoOa7ZXlpoa/91N3X7mM3r8eIlMBBJZvsz/mxKI=
github.com/dlclark/regexp2 v1.11.0/go.mod h1:DHkYz0B9wPfa6wondMfaivmHpzrQ3v9q8cnmRbL6yW8=
github.com/docker/docker-credential-helpers v0.8.2 h1:bX3YxiGzFP5sOXWc3bTPEXdEaZSeVMrFgOr3T+zrFAo=
github.com/docker/docker-credential-helpers v0.8.2/go.mod h1:P3ci7E3lwkZg6XiHdRKft1KckHiO9a2rNtyFbZ/ry9M=
github.com/docker/docker-credential-helpers v0.9.3 h1:gAm/VtF9wgqJMoxzT3Gj5p4AqIjCBS4wrsOh9yRqcz8=
github.com/docker/docker-credential-helpers v0.9.3/go.mod h1:x+4Gbw9aGmChi3qTLZj8Dfn0TD20M/fuWy0E5+WDeCo=
github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c h1:+pKlWGMw7gf6bQ+oDZB4KHQFypsfjYlq/C4rfL7D3g8=
github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA=
github.com/docker/go-metrics v0.0.1 h1:AgB/0SvBxihN0X8OR4SjsblXkbMvalQ8cjmtKQ2rQV8=
@@ -122,8 +125,8 @@ github.com/dominodatalab/os-release v0.0.0-20190522011736-bcdb4a3e3c2f h1:oEt43g
github.com/dominodatalab/os-release v0.0.0-20190522011736-bcdb4a3e3c2f/go.mod h1:RU3x9VqPvzbOGJ3wtP0pPBtUOp4yU/yzA/8qdxgi/6Q=
github.com/ebitengine/purego v0.8.4 h1:CF7LEKg5FFOsASUj0+QwaXf8Ht6TlFxg09+S9wz0omw=
github.com/ebitengine/purego v0.8.4/go.mod h1:iIjxzd6CiRiOG0UyXP+V1+jWqUXVjPKLAI0mRfJZTmQ=
github.com/emicklei/go-restful/v3 v3.12.1 h1:PJMDIM/ak7btuL8Ex0iYET9hxM3CI2sjZtzpL63nKAU=
github.com/emicklei/go-restful/v3 v3.12.1/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc=
github.com/emicklei/go-restful/v3 v3.13.0 h1:C4Bl2xDndpU6nJ4bc1jXd+uTmYPVUwkD6bFY/oTyCes=
github.com/emicklei/go-restful/v3 v3.13.0/go.mod h1:6n3XBCmQQb25CM2LCACGz8ukIrRry+4bhvbpWn3mrbc=
github.com/envoyproxy/go-control-plane v0.9.0/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod h1:YTl/9mNaCwkRvm6d1a2C3ymFceY/DCBVvsKhRF0iEA4=
github.com/envoyproxy/go-control-plane v0.9.4/go.mod h1:6rpuAdCZL397s3pYoYcLgu1mIlRU8Am5FuJP05cCM98=
@@ -134,8 +137,8 @@ github.com/evanphx/json-patch/v5 v5.9.11 h1:/8HVnzMq13/3x9TPvjG08wUGqBTmZBsCWzjT
github.com/evanphx/json-patch/v5 v5.9.11/go.mod h1:3j+LviiESTElxA4p3EMKAB9HXj3/XEtnUf6OZxqIQTM=
github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f h1:Wl78ApPPB2Wvf/TIe2xdyJxTlb6obmF18d8QdkxNDu4=
github.com/exponent-io/jsonpath v0.0.0-20210407135951-1de76d718b3f/go.mod h1:OSYXu++VVOHnXeitef/D8n/6y4QV8uLHSFXX4NeXMGc=
github.com/fatih/color v1.13.0 h1:8LOYc1KYPPmyKMuN8QV2DNRWNbLo6LZ0iLs8+mlH53w=
github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk=
github.com/fatih/color v1.18.0 h1:S8gINlzdQ840/4pfAwic/ZE0djQEH3wM94VfqLTZcOM=
github.com/fatih/color v1.18.0/go.mod h1:4FelSpRwEGDpQ12mAdzqdOukCy4u8WUtOY6lkT/6HfU=
github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2Wg=
github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
github.com/foxcpp/go-mockdns v1.1.0 h1:jI0rD8M0wuYAxL7r/ynTrCQQq0BVqfB99Vgk7DlmewI=
@@ -143,45 +146,47 @@ github.com/foxcpp/go-mockdns v1.1.0/go.mod h1:IhLeSFGed3mJIAXPH2aiRQB+kqz7oqu8ld
github.com/frankban/quicktest v1.14.6 h1:7Xjx+VpznH+oBnejlPUj8oUpdxnVs4f8XU8WnHkI4W8=
github.com/frankban/quicktest v1.14.6/go.mod h1:4ptaffx2x8+WTWXmUCuVU6aPUX1/Mz7zb5vbUoiM6w0=
github.com/fsnotify/fsnotify v1.4.7/go.mod h1:jwhsz4b93w/PPRr/qN1Yymfu8t87LnFCMoQvtojpjFo=
github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA=
github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM=
github.com/fxamacker/cbor/v2 v2.7.0 h1:iM5WgngdRBanHcxugY4JySA0nk1wZorNOpTgCMedv5E=
github.com/fxamacker/cbor/v2 v2.7.0/go.mod h1:pxXPTn3joSm21Gbwsv0w9OSA2y1HFR9qXEeXQVeNoDQ=
github.com/go-errors/errors v1.4.2 h1:J6MZopCL4uSllY1OfXM374weqZFFItUbrImctkmUxIA=
github.com/go-errors/errors v1.4.2/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og=
github.com/fsnotify/fsnotify v1.9.0 h1:2Ml+OJNzbYCTzsxtv8vKSFD9PbJjmhYF14k/jKC7S9k=
github.com/fsnotify/fsnotify v1.9.0/go.mod h1:8jBTzvmWwFyi3Pb8djgCCO5IBqzKJ/Jwo8TRcHyHii0=
github.com/fxamacker/cbor/v2 v2.9.0 h1:NpKPmjDBgUfBms6tr6JZkTHtfFGcMKsw3eGcmD/sapM=
github.com/fxamacker/cbor/v2 v2.9.0/go.mod h1:vM4b+DJCtHn+zz7h3FFp/hDAI9WNWCsZj23V5ytsSxQ=
github.com/go-crypt/crypt v0.4.5 h1:cCR5vVejGk1kurwoGfkLxGORY+Pc9GiE7xKCpyHZ3n4=
github.com/go-crypt/crypt v0.4.5/go.mod h1:cQijpCkqavdF52J1bE0PObWwqKKjQCHASHQ2dtLzOJs=
github.com/go-crypt/x v0.4.7 h1:hObjW67nhq/GI1jaD7XCv5RoiVKzF46XIbULgzH71oU=
github.com/go-crypt/x v0.4.7/go.mod h1:K3q7VmLC0U1QFAPn0SQvXjkAtu6FJuH0rN9LNqobX6k=
github.com/go-errors/errors v1.5.1 h1:ZwEMSLRCapFLflTpT7NKaAc7ukJ8ZPEjzlxt8rPN8bk=
github.com/go-errors/errors v1.5.1/go.mod h1:sIVyrIiJhuEF+Pj9Ebtd6P/rEYROXFi3BopGUQ5a5Og=
github.com/go-gorp/gorp/v3 v3.1.0 h1:ItKF/Vbuj31dmV4jxA1qblpSwkl9g1typ24xoe70IGs=
github.com/go-gorp/gorp/v3 v3.1.0/go.mod h1:dLEjIyyRNiXvNZ8PSmzpt1GsWAUK8kjVhEpjH8TixEw=
github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A=
github.com/go-logr/logr v1.4.2 h1:6pFjapn8bFcIbiKo3XT4j/BhANplGihG6tvd+8rYgrY=
github.com/go-logr/logr v1.4.2/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-logr/logr v1.4.3 h1:CjnDlHq8ikf6E492q6eKboGOC0T8CDaOvkHCIg8idEI=
github.com/go-logr/logr v1.4.3/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY=
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
github.com/go-logr/zapr v1.3.0 h1:XGdV8XW8zdwFiwOA2Dryh1gj2KRQyOOoNmBy4EplIcQ=
github.com/go-logr/zapr v1.3.0/go.mod h1:YKepepNBd1u/oyhd/yQmtjVXmm9uML4IXUgMOwR8/Gg=
github.com/go-ole/go-ole v1.2.6 h1:/Fpf6oFPoeFik9ty7siob0G6Ke8QvQEuVcuChpwXzpY=
github.com/go-ole/go-ole v1.2.6/go.mod h1:pprOEPIfldk/42T2oK7lQ4v4JSDwmV0As9GaiUsvbm0=
github.com/go-openapi/jsonpointer v0.19.6/go.mod h1:osyAmYz/mB/C3I+WsTTSgw1ONzaLJoLCyoi6/zppojs=
github.com/go-openapi/jsonpointer v0.21.0 h1:YgdVicSA9vH5RiHs9TZW5oyafXZFc6+2Vc1rr/O9oNQ=
github.com/go-openapi/jsonpointer v0.21.0/go.mod h1:IUyH9l/+uyhIYQ/PXVA41Rexl+kOkAPDdXEYns6fzUY=
github.com/go-openapi/jsonreference v0.20.2 h1:3sVjiK66+uXK/6oQ8xgcRKcFgQ5KXa2KvnJRumpMGbE=
github.com/go-openapi/jsonreference v0.20.2/go.mod h1:Bl1zwGIM8/wsvqjsOQLJ/SH+En5Ap4rVB5KVcIDZG2k=
github.com/go-openapi/swag v0.22.3/go.mod h1:UzaqsxGiab7freDnrUUra0MwWfN/q7tE4j+VcZ0yl14=
github.com/go-openapi/swag v0.23.0 h1:vsEVJDUo2hPJ2tu0/Xc+4noaxyEffXNIs3cOULZ+GrE=
github.com/go-openapi/swag v0.23.0/go.mod h1:esZ8ITTYEsH1V2trKHjAN8Ai7xHb8RV+YSZ577vPjgQ=
github.com/go-openapi/jsonpointer v0.21.1 h1:whnzv/pNXtK2FbX/W9yJfRmE2gsmkfahjMKB0fZvcic=
github.com/go-openapi/jsonpointer v0.21.1/go.mod h1:50I1STOfbY1ycR8jGz8DaMeLCdXiI6aDteEdRNNzpdk=
github.com/go-openapi/jsonreference v0.21.0 h1:Rs+Y7hSXT83Jacb7kFyjn4ijOuVGSvOdF2+tg1TRrwQ=
github.com/go-openapi/jsonreference v0.21.0/go.mod h1:LmZmgsrTkVg9LG4EaHeY8cBDslNPMo06cago5JNLkm4=
github.com/go-openapi/swag v0.23.1 h1:lpsStH0n2ittzTnbaSloVZLuB5+fvSY/+hnagBjSNZU=
github.com/go-openapi/swag v0.23.1/go.mod h1:STZs8TbRvEQQKUA+JZNAm3EWlgaOBGpyFDqQnDHMef0=
github.com/go-resty/resty/v2 v2.16.5 h1:hBKqmWrr7uRc3euHVqmh1HTHcKn99Smr7o5spptdhTM=
github.com/go-resty/resty/v2 v2.16.5/go.mod h1:hkJtXbA2iKHzJheXYvQ8snQES5ZLGKMwQ07xAwp/fiA=
github.com/go-sql-driver/mysql v1.8.1 h1:LedoTUt/eveggdHS9qUFC1EFSa8bU2+1pZjSRpvNJ1Y=
github.com/go-sql-driver/mysql v1.8.1/go.mod h1:wEBSXgmK//2ZFJyE+qWnIsVGmvmEKlqwuVSjsCm7DZg=
github.com/go-task/slim-sprig/v3 v3.0.0 h1:sUs3vkvUymDpBKi3qH1YSqBQk9+9D/8M2mN1vB6EwHI=
github.com/go-task/slim-sprig/v3 v3.0.0/go.mod h1:W848ghGpv3Qj3dhTPRyJypKRiqCdHZiAzKg9hl15HA8=
github.com/gobwas/glob v0.2.3 h1:A4xDbljILXROh+kObIiy5kIaPYD8e96x1tgBhUI5J+Y=
github.com/gobwas/glob v0.2.3/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8=
github.com/gobwas/glob v0.2.4-0.20181002190808-e7a84e9525fe h1:zn8tqiUbec4wR94o7Qj3LZCAT6uGobhEgnDRg6isG5U=
github.com/gobwas/glob v0.2.4-0.20181002190808-e7a84e9525fe/go.mod h1:d3Ez4x06l9bZtSvzIay5+Yzi0fmZzPgnTbPcKjJAkT8=
github.com/gogo/protobuf v1.3.2 h1:Ov1cvc58UF3b5XjBnZv7+opcTcQFZebYjWzi34vdm4Q=
github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE=
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc=
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 h1:f+oWsMOmNPc8JmEHVZIycC7hBoQxHH9pNKQORJNozsQ=
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8/go.mod h1:wcDNUvekVysuuOpQKo3191zZyTpiI6se1N1ULghS0sw=
github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
@@ -192,24 +197,21 @@ github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:W
github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0=
github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8=
github.com/golang/protobuf v1.4.3/go.mod h1:oDoupMAO8OvCJWAcko0GGGIgR6R6ocIYbsSw735rRwI=
github.com/golang/protobuf v1.5.0/go.mod h1:FsONVRAS9T7sI+LIUmWTfcYkHO4aIWwzhcaSAoJOfIk=
github.com/golang/protobuf v1.5.4 h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=
github.com/golang/protobuf v1.5.4/go.mod h1:lnTiLA8Wa4RWRcIUkrtSVa5nRhsEGBg48fD6rSs7xps=
github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db h1:woRePGFeVFfLKN/pOkfl+p/TAqKOfFu+7KPlMVpok/w=
github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/google/btree v1.1.3 h1:CVpQJjYgC4VbzxeGVHfvZrv1ctoYCAI8vbl07Fcxlyg=
github.com/google/btree v1.1.3/go.mod h1:qOPhT0dTNdNzV6Z/lhRX0YXUafgPLFUh+gZMl761Gm4=
github.com/google/gnostic-models v0.6.9 h1:MU/8wDLif2qCXZmzncUQ/BOfxWfthHi63KqpoNbWqVw=
github.com/google/gnostic-models v0.6.9/go.mod h1:CiWsm0s6BSQd1hRn8/QmxqB6BesYcbSZxsz9b0KuDBw=
github.com/google/gnostic-models v0.7.0 h1:qwTtogB15McXDaNqTZdzPJRHvaVJlAl+HVQnLmJEJxo=
github.com/google/gnostic-models v0.7.0/go.mod h1:whL5G0m6dmc5cPxKc5bdKdEN3UjI7OUGxBlw57miDrQ=
github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU=
github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.3/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.5/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.6/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE=
github.com/google/go-cmp v0.5.9/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
github.com/google/go-cmp v0.7.0/go.mod h1:pXiqmnSA92OHEEa9HXL2W4E7lf9JzCmGVUdgjX3N/iU=
github.com/google/gofuzz v1.0.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
@@ -217,10 +219,8 @@ github.com/google/gofuzz v1.2.0 h1:xRy4A+RhZaiKjJ1bPfwQ8sedCA+YS2YcCHW6ec7JMi0=
github.com/google/gofuzz v1.2.0/go.mod h1:dBl0BpW6vV/+mYPU4Po3pmUjxk6FQPldtuIdl/M65Eg=
github.com/google/gopacket v1.1.19 h1:ves8RnFZPGiFnTS0uPQStjwru6uO6h+nlr9j6fL7kF8=
github.com/google/gopacket v1.1.19/go.mod h1:iJ8V8n6KS+z2U1A8pUwu8bW5SyEMkXJB8Yo/Vo+TKTo=
github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db h1:097atOisP2aRj7vFgYQBbFN4U4JNXUNYpxael3UzMyo=
github.com/google/pprof v0.0.0-20241029153458-d1b30febd7db/go.mod h1:vavhavw2zAxS5dIdcRluK6cSGGPlZynqzFM8NdvU144=
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 h1:El6M4kTTCOh6aBiKaUGG7oYTSPP8MxqL4YI3kZKwcP4=
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510/go.mod h1:pupxD2MaaD3pAXIBCelhxNneeOaAeabZDe5s4K6zSpQ=
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6 h1:BHT72Gu3keYf3ZEu2J0b1vyeLSOYI8bm5wbJM/8yDe8=
github.com/google/pprof v0.0.0-20250403155104-27863c87afa6/go.mod h1:boTsfXsheKC2y+lKOCMpSfarhxDeIzfZG1jqGcPl3cA=
github.com/google/uuid v1.1.2/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0=
github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
@@ -237,8 +237,8 @@ github.com/gosuri/uitable v0.0.4/go.mod h1:tKR86bXuXPZazfOTG1FIzvjIdXzd0mo4Vtn16
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79 h1:+ngKgrYPPJrOjhax5N+uePQ0Fh1Z7PheYoUI/0nzkPA=
github.com/gregjones/httpcache v0.0.0-20190611155906-901d90724c79/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA=
github.com/grpc-ecosystem/grpc-gateway v1.16.0 h1:gmcG1KaJ57LophUzW0Hy8NmPhnMZb4M0+kPpLofRdBo=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0 h1:TmHmbvxPmaegwhDubVz0lICL0J5Ka2vwTzhoePEXsGE=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0/go.mod h1:qztMSjm835F2bXf+5HKAPIS5qsmQDqZna/PgVt4rWtI=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3 h1:5ZPtiqj0JL5oKWmcsq4VMaAW5ukBEgSGXEN89zeH1Jo=
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3/go.mod h1:ndYquD05frm2vACXE1nsccT4oJzjhw2arTS2cpUD1PI=
github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I=
github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4=
@@ -250,6 +250,7 @@ github.com/hashicorp/golang-lru/v2 v2.0.5 h1:wW7h1TG88eUIJ2i69gaE3uNVtEPIagzhGvH
github.com/hashicorp/golang-lru/v2 v2.0.5/go.mod h1:QeFd9opnmA6QUJc5vARoKUSoFhyfM2/ZepoAG6RGpeM=
github.com/hexops/gotextdiff v1.0.3 h1:gitA9+qJrrTCsiCl7+kh75nPqQt1cx4ZkudSTLoUqJM=
github.com/hexops/gotextdiff v1.0.3/go.mod h1:pSWU5MAI3yDq+fZBTazCSJysOMbxWL1BSow5/V2vxeg=
github.com/hpcloud/tail v1.0.0 h1:nfCOvKYfkgYP8hkirhJocXT2+zOD8yUNjXaWfTlyFKI=
github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
github.com/huandu/xstrings v1.5.0 h1:2ag3IFq9ZDANvthTwTiqSSZLjDc+BedvHPAp5tJy2TI=
github.com/huandu/xstrings v1.5.0/go.mod h1:y5/lhBue+AyNmUVz9RLU9xbLR0o4KIIExikq4ovT0aE=
@@ -271,11 +272,8 @@ github.com/klauspost/compress v1.18.0 h1:c/Cqfb0r+Yi+JtIEq73FWXVkRonBlf0CRNYc8Zt
github.com/klauspost/compress v1.18.0/go.mod h1:2Pp+KzxcywXVXMr50+X0Q/Lsb43OQHYWRCY2AiWywWQ=
github.com/kr/fs v0.1.0 h1:Jskdu9ieNAYnjxsi0LbQp1ulIKZV1LAFgK1tWhpZgl8=
github.com/kr/fs v0.1.0/go.mod h1:FFnZGqtBN9Gxj7eW1uZ42v5BccTP0vu6NEaFoC2HwRg=
github.com/kr/pretty v0.2.1/go.mod h1:ipq/a2n7PKx3OHsz4KJII5eveXtPO4qwEXGdVfWzfnI=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
@@ -294,14 +292,10 @@ github.com/lithammer/dedent v1.1.0 h1:VNzHMVCBNG1j0fh3OrsFRkVUwStdDArbgBWoPAffkt
github.com/lithammer/dedent v1.1.0/go.mod h1:jrXYCQtgg0nJiN+StA2KgR7w6CiQNv9Fd/Z9BP0jIOc=
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 h1:6E+4a0GO5zZEnZ81pIr0yLvtUWk2if982qA3F3QD6H4=
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2jmtg6P3p1VtQj7WsuWi/y4VnjVBn7F8KPB3I=
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA=
github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg=
github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU=
github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94=
github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM=
github.com/mailru/easyjson v0.9.0 h1:PrnmzHw7262yW8sTBwxi1PdJA3Iw/EKBa8psRf7d9a4=
github.com/mailru/easyjson v0.9.0/go.mod h1:1+xMtQp2MRNVL/V1bOzuP3aP8VNwRW55fQUto+XFtTU=
github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE=
github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8=
github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY=
github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y=
github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI=
@@ -326,14 +320,14 @@ github.com/moby/locker v1.0.1 h1:fOXqR41zeveg4fFODix+1Ch4mj/gT0NE1XJbp/epuBg=
github.com/moby/locker v1.0.1/go.mod h1:S7SDdo5zpBK84bzzVlKr2V0hz+7x9hWbYC/kq7oQppc=
github.com/moby/spdystream v0.5.0 h1:7r0J1Si3QO/kjRitvSLVVFUjxMEb/YLj6S9FF62JBCU=
github.com/moby/spdystream v0.5.0/go.mod h1:xBAYlnt/ay+11ShkdFKNAG7LsyK/tmNBVvVOwrfMgdI=
github.com/moby/sys/mountinfo v0.6.2 h1:BzJjoreD5BMFNmD9Rus6gdd1pLuecOFPt8wC+Vygl78=
github.com/moby/sys/mountinfo v0.6.2/go.mod h1:IJb6JQeOklcdMU9F5xQ8ZALD+CUr5VlGpwtX+VE0rpI=
github.com/moby/sys/sequential v0.5.0 h1:OPvI35Lzn9K04PBbCLW0g4LcFAJgHsvXsRyewg5lXtc=
github.com/moby/sys/sequential v0.5.0/go.mod h1:tH2cOOs5V9MlPiXcQzRC+eEyab644PWKGRYaaV5ZZlo=
github.com/moby/sys/mountinfo v0.7.2 h1:1shs6aH5s4o5H2zQLn796ADW1wMrIwHsyJ2v9KouLrg=
github.com/moby/sys/mountinfo v0.7.2/go.mod h1:1YOa8w8Ih7uW0wALDUgT1dTTSBrZ+HiBLGws92L2RU4=
github.com/moby/sys/sequential v0.6.0 h1:qrx7XFUd/5DxtqcoH1h438hF5TmOvzC/lspjy7zgvCU=
github.com/moby/sys/sequential v0.6.0/go.mod h1:uyv8EUTrca5PnDsdMGXhZe6CCe8U/UiTWd+lL+7b/Ko=
github.com/moby/sys/signal v0.7.0 h1:25RW3d5TnQEoKvRbEKUGay6DCQ46IxAVTT9CUMgmsSI=
github.com/moby/sys/signal v0.7.0/go.mod h1:GQ6ObYZfqacOwTtlXvcmh9A26dVRul/hbOZn88Kg8Tg=
github.com/moby/sys/user v0.3.0 h1:9ni5DlcW5an3SvRSx4MouotOygvzaXbaSrc/wGDFWPo=
github.com/moby/sys/user v0.3.0/go.mod h1:bG+tYYYJgaMtRKgEmuueC0hJEAZWwtIbZTB+85uoHjs=
github.com/moby/sys/user v0.4.0 h1:jhcMKit7SA80hivmFJcbB1vqmw//wU61Zdui2eQXuMs=
github.com/moby/sys/user v0.4.0/go.mod h1:bG+tYYYJgaMtRKgEmuueC0hJEAZWwtIbZTB+85uoHjs=
github.com/moby/sys/userns v0.1.0 h1:tVLXkFOxVu9A64/yh59slHVv9ahO9UIev4JZusOLG/g=
github.com/moby/sys/userns v0.1.0/go.mod h1:IHUYgu/kao6N8YZlp9Cf444ySSvCmDlmzUcYfDHOl28=
github.com/moby/term v0.5.2 h1:6qk3FJAFDs6i/q3W/pQ97SX192qKfZgGjCQqfCJkgzQ=
@@ -341,8 +335,9 @@ github.com/moby/term v0.5.2/go.mod h1:d3djjFCrjnB+fl8NJux+EJzu0msscUP+f8it8hPkFL
github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
github.com/modern-go/reflect2 v1.0.2 h1:xBagoLtFs94CBntxluKeaWgTMpvLxC4ur3nMaC9Gz0M=
github.com/modern-go/reflect2 v1.0.2/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee h1:W5t00kpgFdJifH4BDsTlE89Zl93FEloxaWZfGcifgq8=
github.com/modern-go/reflect2 v1.0.3-0.20250322232337-35a7c28c31ee/go.mod h1:yWuevngMOJpCy52FWWMvUC8ws7m/LJsjYzDa0/r8luk=
github.com/modood/table v0.0.0-20220527013332-8d47e76dad33 h1:T5IbS9C1G2zeHb6eBy6OfIvj5tfQB23kGFpewCJuGDg=
github.com/modood/table v0.0.0-20220527013332-8d47e76dad33/go.mod h1:41qyXVI5QH9/ObyPj27CGCVau5v/njfc3Gjj7yzr0HQ=
github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 h1:n6/2gBQ3RWajuToeY6ZtZTIKv2v7ThUy5KKusIT0yc0=
@@ -355,27 +350,30 @@ github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f h1:y5//uYreIhSUg3J1GEMiLbxo1LJaP8RfCpH6pymGZus=
github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw=
github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE=
github.com/nxadm/tail v1.4.8/go.mod h1:+ncqLTQzXmGhMZNUePPaPqPvBxHAIsmXswZKocGu+AU=
github.com/nats-io/nats.go v1.45.0 h1:/wGPbnYXDM0pLKFjZTX+2JOw9TQPoIgTFrUaH97giwA=
github.com/nats-io/nats.go v1.45.0/go.mod h1:iRWIPokVIFbVijxuMQq4y9ttaBTMe0SFdlZfMDd+33g=
github.com/nats-io/nkeys v0.4.11 h1:q44qGV008kYd9W1b1nEBkNzvnWxtRSQ7A8BoqRrcfa0=
github.com/nats-io/nkeys v0.4.11/go.mod h1:szDimtgmfOi9n25JpfIdGw12tZFYXqhGxjhVxsatHVE=
github.com/nats-io/nuid v1.0.1 h1:5iA8DT8V7q8WK2EScv2padNa/rTESc1KdnPw4TC2paw=
github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OSON2c=
github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec=
github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY=
github.com/onsi/ginkgo v1.6.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
github.com/onsi/ginkgo v1.7.0 h1:WSHQ+IS43OoUrWtD1/bbclrwK8TTH5hzp+umCiuxHgs=
github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE=
github.com/onsi/ginkgo v1.16.5/go.mod h1:+E8gABHa3K6zRBolWtd+ROzc/U5bkGt0FwiG042wbpU=
github.com/onsi/ginkgo/v2 v2.22.0 h1:Yed107/8DjTr0lKCNt7Dn8yQ6ybuDRQoMGrNFKzMfHg=
github.com/onsi/ginkgo/v2 v2.22.0/go.mod h1:7Du3c42kxCUegi0IImZ1wUQzMBVecgIHjR1C+NkhLQo=
github.com/onsi/ginkgo/v2 v2.25.2 h1:hepmgwx1D+llZleKQDMEvy8vIlCxMGt7W5ZxDjIEhsw=
github.com/onsi/ginkgo/v2 v2.25.2/go.mod h1:43uiyQC4Ed2tkOzLsEYm7hnrb7UJTWHYNsuy3bG/snE=
github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
github.com/onsi/gomega v1.38.0 h1:c/WX+w8SLAinvuKKQFh77WEucCnPk4j2OTUr7lt7BeY=
github.com/onsi/gomega v1.38.0/go.mod h1:OcXcwId0b9QsE7Y49u+BTrL4IdKOBOKnD6VQNTJEB6o=
github.com/onsi/gomega v1.38.2 h1:eZCjf2xjZAqe+LeWvKb5weQ+NcPwX84kqJ0cZNxok2A=
github.com/onsi/gomega v1.38.2/go.mod h1:W2MJcYxRGV63b418Ai34Ud0hEdTVXq9NW9+Sx6uXf3k=
github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8Oi/yOhh5U=
github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM=
github.com/opencontainers/image-spec v1.1.0 h1:8SG7/vwALn54lVB/0yZ/MMwhFrPYtpEHQb2IpWsCzug=
github.com/opencontainers/image-spec v1.1.0/go.mod h1:W4s4sFTMaBeK1BQLXbG4AdM2szdn85PY75RI83NrTrM=
github.com/opencontainers/runtime-spec v1.1.0 h1:HHUyrt9mwHUjtasSbXSMvs4cyFxh+Bll4AjJ9odEGpg=
github.com/opencontainers/runtime-spec v1.1.0/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
github.com/opencontainers/selinux v1.11.0 h1:+5Zbo97w3Lbmb3PeqQtpmTkMwsW5nRI3YaLpt7tQ7oU=
github.com/opencontainers/selinux v1.11.0/go.mod h1:E5dMC3VPuVvVHDYmi78qvhJp8+M586T4DlDRYpFkyec=
github.com/opencontainers/runtime-spec v1.2.1 h1:S4k4ryNgEpxW1dzyqffOmhI1BHYcjzU8lpJfSlR0xww=
github.com/opencontainers/runtime-spec v1.2.1/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0=
github.com/opencontainers/selinux v1.12.0 h1:6n5JV4Cf+4y0KNXW48TLj5DwfXpvWlxXplUkdTrmPb8=
github.com/opencontainers/selinux v1.12.0/go.mod h1:BTPX+bjVbWGXw7ZZWUbdENt8w0htPSrlgOOysQaU62U=
github.com/pelletier/go-toml v1.9.5 h1:4yBQzkHv+7BHq2PQUZF3Mx0IYxG7LsP222s7Agd3ve8=
github.com/pelletier/go-toml v1.9.5/go.mod h1:u1nR/EPcESfeI/szUZKdtJ0xRNbUoANCkoOuaOx1Y+c=
github.com/peterbourgon/diskv v2.0.1+incompatible h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI=
@@ -394,15 +392,15 @@ github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c h1:ncq/mPwQF
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c/go.mod h1:OmDBASR4679mdNQnz2pUhc2G8CO2JrUAVFDRBDP/hJE=
github.com/poy/onpar v1.1.2 h1:QaNrNiZx0+Nar5dLgTVp5mXkyoVFIbepjyEoGSnhbAY=
github.com/poy/onpar v1.1.2/go.mod h1:6X8FLNoxyr9kkmnlqpK6LSoiOtrO6MICtWwEuWkLjzg=
github.com/prometheus/client_golang v1.22.0 h1:rb93p9lokFEsctTys46VnV1kLCDpVZ0a/Y92Vm0Zc6Q=
github.com/prometheus/client_golang v1.22.0/go.mod h1:R7ljNsLXhuQXYZYtw6GAE9AZg8Y7vEW5scdCXrWRXC0=
github.com/prometheus/client_golang v1.23.0 h1:ust4zpdl9r4trLY/gSjlm07PuiBq2ynaXXlptpfy8Uc=
github.com/prometheus/client_golang v1.23.0/go.mod h1:i/o0R9ByOnHX0McrTMTyhYvKE4haaf2mW08I+jGAjEE=
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA=
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
github.com/prometheus/common v0.62.0 h1:xasJaQlnWAeyHdUBeGjXmutelfJHWMRr+Fg4QszZ2Io=
github.com/prometheus/common v0.62.0/go.mod h1:vyBcEuLSvWos9B1+CyL7JZ2up+uFzXhkqml0W5zIY1I=
github.com/prometheus/procfs v0.15.1 h1:YagwOFzUgYfKKHX6Dr+sHT7km/hxC76UB0learggepc=
github.com/prometheus/procfs v0.15.1/go.mod h1:fB45yRUv8NstnjriLhBQLuOUt+WW4BsoGhij/e3PBqk=
github.com/prometheus/client_model v0.6.2 h1:oBsgwpGs7iVziMvrGhE53c/GrLUsZdHnqNwqPLxwZyk=
github.com/prometheus/client_model v0.6.2/go.mod h1:y3m2F6Gdpfy6Ut/GBsUqTWZqCUvMVzSfMLjcu6wAwpE=
github.com/prometheus/common v0.65.0 h1:QDwzd+G1twt//Kwj/Ww6E9FQq1iVMmODnILtW1t2VzE=
github.com/prometheus/common v0.65.0/go.mod h1:0gZns+BLRQ3V6NdaerOhMbwwRbNh9hkGINtQAsP5GS8=
github.com/prometheus/procfs v0.16.1 h1:hZ15bTNuirocR6u0JZ6BAHHmwS1p8B4P6MRqxtzMyRg=
github.com/prometheus/procfs v0.16.1/go.mod h1:teAbpZRB1iIAJYREa1LsoWUXykVXA1KlTmWl8x/U+Is=
github.com/redis/go-redis/extra/rediscmd/v9 v9.0.5 h1:EaDatTxkdHG+U3Bk4EUr+DZ7fOGwTfezUiUJMaIcaho=
github.com/redis/go-redis/extra/rediscmd/v9 v9.0.5/go.mod h1:fyalQWdtzDBECAQFBJuQe5bzQ02jGd5Qcbgb97Flm7U=
github.com/redis/go-redis/extra/redisotel/v9 v9.0.5 h1:EfpWLLCyXw8PSM2/XNJLjI3Pb27yVE+gIAfeqp8LUCc=
@@ -440,8 +438,8 @@ github.com/smarty/assertions v1.15.0 h1:cR//PqUBUiQRakZWqBiFFQ9wb8emQGDb0HeGdqGB
github.com/smarty/assertions v1.15.0/go.mod h1:yABtdzeQs6l1brC900WlRNwj6ZR55d7B+E8C6HtKdec=
github.com/smartystreets/goconvey v1.8.1 h1:qGjIddxOk4grTu9JPOU31tVfq3cNdBlNa5sSznIX1xY=
github.com/smartystreets/goconvey v1.8.1/go.mod h1:+/u4qLyY6x1jReYOp7GOM2FSt8aP9CzCZL03bI28W60=
github.com/spf13/cast v1.7.0 h1:ntdiHjuueXFgm5nzDRdOS4yfT43P5Fnud6DH50rz/7w=
github.com/spf13/cast v1.7.0/go.mod h1:ancEpBxwJDODSW/UG4rDrAqiKolqNNh2DX3mk86cAdo=
github.com/spf13/cast v1.9.2 h1:SsGfm7M8QOFtEzumm7UZrZdLLquNdzFYfIbEXntcFbE=
github.com/spf13/cast v1.9.2/go.mod h1:jNfB8QC9IA6ZuY2ZjDp0KtFO2LZZlg4S/7bzP6qqeHo=
github.com/spf13/cobra v1.9.1 h1:CXSaggrXdbHK9CF+8ywj8Amf7PBRmPCOJugH954Nnlo=
github.com/spf13/cobra v1.9.1/go.mod h1:nDyEzZ8ogv936Cinf6g1RU9MRY64Ir93oCnqb9wxYW0=
github.com/spf13/pflag v1.0.6/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
@@ -460,14 +458,18 @@ github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/
github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO+kdMU+MU=
github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4=
github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA=
github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/stretchr/testify v1.11.1 h1:7s2iGBzp5EwR7/aIZr8ao5+dra3wiQyKjjFuvgVKu7U=
github.com/stretchr/testify v1.11.1/go.mod h1:wZwfW3scLgRK+23gO65QZefKpKQRnfz6sD981Nm4B6U=
github.com/syndtr/goleveldb v1.0.0 h1:fBdIW9lB4Iz0n9khmH8w27SJ3QEJ7+IgjPEwGSZiFdE=
github.com/syndtr/goleveldb v1.0.0/go.mod h1:ZVVdQEZoIme9iO1Ch2Jdy24qqXrMMOU6lpPAyBWyWuQ=
github.com/thoas/go-funk v0.9.3 h1:7+nAEx3kn5ZJcnDm2Bh23N2yOtweO14bi//dvRtgLpw=
github.com/thoas/go-funk v0.9.3/go.mod h1:+IWnUfUmFO1+WVYQWQtIJHeRRdaIyyYglZN7xzUPe4Q=
github.com/tklauser/go-sysconf v0.3.15 h1:VE89k0criAymJ/Os65CSn1IXaol+1wrsFHEB8Ol49K4=
github.com/tklauser/go-sysconf v0.3.15/go.mod h1:Dmjwr6tYFIseJw7a3dRLJfsHAMXZ3nEnL/aZY+0IuI4=
github.com/tklauser/numcpus v0.10.0 h1:18njr6LDBk1zuna922MgdjQuJFjrdppsZG60sHGfjso=
github.com/tklauser/numcpus v0.10.0/go.mod h1:BiTKazU708GQTYF4mB+cmlpT2Is1gLk7XVuEeem8LsQ=
github.com/tyler-smith/go-bip39 v1.1.0 h1:5eUemwrMargf3BSLRRCalXT93Ns6pQJIjYQN2nyfOP8=
github.com/tyler-smith/go-bip39 v1.1.0/go.mod h1:gUYDtqQw1JS3ZJ8UWVcGTGqqr6YIN3CWg+kkNaLt55U=
github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM=
github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg=
github.com/xlab/treeprint v1.2.0 h1:HzHnuAF1plUN2zGlAFHbSQP2qJ0ZAD3XF5XD7OesXRQ=
@@ -484,10 +486,10 @@ go.opentelemetry.io/contrib/bridges/prometheus v0.57.0 h1:UW0+QyeyBVhn+COBec3nGh
go.opentelemetry.io/contrib/bridges/prometheus v0.57.0/go.mod h1:ppciCHRLsyCio54qbzQv0E4Jyth/fLWDTJYfvWpcSVk=
go.opentelemetry.io/contrib/exporters/autoexport v0.57.0 h1:jmTVJ86dP60C01K3slFQa2NQ/Aoi7zA+wy7vMOKD9H4=
go.opentelemetry.io/contrib/exporters/autoexport v0.57.0/go.mod h1:EJBheUMttD/lABFyLXhce47Wr6DPWYReCzaZiXadH7g=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0 h1:yd02MEjBdJkG3uabWP9apV+OuWRIXGDuJEUJbOHmCFU=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0/go.mod h1:umTcuxiv1n/s/S6/c2AT/g2CQ7u5C59sHDNmfSwgz7Q=
go.opentelemetry.io/otel v1.33.0 h1:/FerN9bax5LoK51X/sI0SVYrjSE0/yUL7DpxW4K3FWw=
go.opentelemetry.io/otel v1.33.0/go.mod h1:SUUkR6csvUQl+yjReHu5uM3EtVV7MBm5FHKRlNx4I8I=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0 h1:F7Jx+6hwnZ41NSFTO5q4LYDtJRXBf2PD0rNBkeB/lus=
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0/go.mod h1:UHB22Z8QsdRDrnAtX4PntOl36ajSxcdUMt1sF7Y6E7Q=
go.opentelemetry.io/otel v1.36.0 h1:UumtzIklRBY6cI/lllNZlALOF5nNIzJVb16APdvgTXg=
go.opentelemetry.io/otel v1.36.0/go.mod h1:/TcFMXYjyRNh8khOAO9ybYkqaDBb/70aVwkNML4pP8E=
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.8.0 h1:WzNab7hOOLzdDF/EoWCt4glhrbMPVMOO5JYTmpz36Ls=
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc v0.8.0/go.mod h1:hKvJwTzJdp90Vh7p6q/9PAOd55dI6WA6sWj62a/JvSs=
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp v0.8.0 h1:S+LdBGiQXtJdowoJoQPEtI52syEP/JYBUpjO49EQhV8=
@@ -496,10 +498,10 @@ go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.32.0 h1:j7Z
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.32.0/go.mod h1:WXbYJTUaZXAbYd8lbgGuvih0yuCfOFC5RJoYnoLcGz8=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.32.0 h1:t/Qur3vKSkUCcDVaSumWF2PKHt85pc7fRvFuoVT8qFU=
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.32.0/go.mod h1:Rl61tySSdcOJWoEgYZVtmnKdA0GeKrSqkHC1t+91CH8=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.33.0 h1:Vh5HayB/0HHfOQA7Ctx69E/Y/DcQSMPpKANYVMQ7fBA=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.33.0/go.mod h1:cpgtDBaqD/6ok/UG0jT15/uKjAY8mRA53diogHBg3UI=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.33.0 h1:5pojmb1U1AogINhN3SurB+zm/nIcusopeBNp42f45QM=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.33.0/go.mod h1:57gTHJSE5S1tqg+EKsLPlTWhpHMsWlVmer+LA926XiA=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.34.0 h1:OeNbIYk/2C15ckl7glBlOBp5+WlYsOElzTNmiPW/x60=
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.34.0/go.mod h1:7Bept48yIeqxP2OZ9/AqIpYS94h2or0aB4FypJTc8ZM=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.34.0 h1:tgJ0uaNS4c98WRNUEx5U3aDlrDOI5Rs+1Vifcw4DJ8U=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.34.0/go.mod h1:U7HYyW0zt/a9x5J1Kjs+r1f/d4ZHnYFclhYY2+YbeoE=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.32.0 h1:cMyu9O88joYEaI47CnQkxO1XZdpoTF9fEnW2duIddhw=
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.32.0/go.mod h1:6Am3rn7P9TVVeXYG+wtcGE7IE1tsQ+bP3AuWcKt/gOI=
go.opentelemetry.io/otel/exporters/prometheus v0.54.0 h1:rFwzp68QMgtzu9PgP3jm9XaMICI6TsofWWPcBDKwlsU=
@@ -512,18 +514,20 @@ go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.32.0 h1:cC2yDI3IQd0Udsu
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.32.0/go.mod h1:2PD5Ex6z8CFzDbTdOlwyNIUywRr1DN0ospafJM1wJ+s=
go.opentelemetry.io/otel/log v0.8.0 h1:egZ8vV5atrUWUbnSsHn6vB8R21G2wrKqNiDt3iWertk=
go.opentelemetry.io/otel/log v0.8.0/go.mod h1:M9qvDdUTRCopJcGRKg57+JSQ9LgLBrwwfC32epk5NX8=
go.opentelemetry.io/otel/metric v1.33.0 h1:r+JOocAyeRVXD8lZpjdQjzMadVZp2M4WmQ+5WtEnklQ=
go.opentelemetry.io/otel/metric v1.33.0/go.mod h1:L9+Fyctbp6HFTddIxClbQkjtubW6O9QS3Ann/M82u6M=
go.opentelemetry.io/otel/sdk v1.33.0 h1:iax7M131HuAm9QkZotNHEfstof92xM+N8sr3uHXc2IM=
go.opentelemetry.io/otel/sdk v1.33.0/go.mod h1:A1Q5oi7/9XaMlIWzPSxLRWOI8nG3FnzHJNbiENQuihM=
go.opentelemetry.io/otel/metric v1.36.0 h1:MoWPKVhQvJ+eeXWHFBOPoBOi20jh6Iq2CcCREuTYufE=
go.opentelemetry.io/otel/metric v1.36.0/go.mod h1:zC7Ks+yeyJt4xig9DEw9kuUFe5C3zLbVjV2PzT6qzbs=
go.opentelemetry.io/otel/sdk v1.36.0 h1:b6SYIuLRs88ztox4EyrvRti80uXIFy+Sqzoh9kFULbs=
go.opentelemetry.io/otel/sdk v1.36.0/go.mod h1:+lC+mTgD+MUWfjJubi2vvXWcVxyr9rmlshZni72pXeY=
go.opentelemetry.io/otel/sdk/log v0.8.0 h1:zg7GUYXqxk1jnGF/dTdLPrK06xJdrXgqgFLnI4Crxvs=
go.opentelemetry.io/otel/sdk/log v0.8.0/go.mod h1:50iXr0UVwQrYS45KbruFrEt4LvAdCaWWgIrsN3ZQggo=
go.opentelemetry.io/otel/sdk/metric v1.32.0 h1:rZvFnvmvawYb0alrYkjraqJq0Z4ZUJAiyYCU9snn1CU=
go.opentelemetry.io/otel/sdk/metric v1.32.0/go.mod h1:PWeZlq0zt9YkYAp3gjKZ0eicRYvOh1Gd+X99x6GHpCQ=
go.opentelemetry.io/otel/trace v1.33.0 h1:cCJuF7LRjUFso9LPnEAHJDB2pqzp+hbO8eu1qqW2d/s=
go.opentelemetry.io/otel/trace v1.33.0/go.mod h1:uIcdVUZMpTAmz0tI1z04GoVSezK37CbGV4fr1f2nBck=
go.opentelemetry.io/proto/otlp v1.4.0 h1:TA9WRvW6zMwP+Ssb6fLoUIuirti1gGbP28GcKG1jgeg=
go.opentelemetry.io/proto/otlp v1.4.0/go.mod h1:PPBWZIP98o2ElSqI35IHfu7hIhSwvc5N38Jw8pXuGFY=
go.opentelemetry.io/otel/sdk/metric v1.36.0 h1:r0ntwwGosWGaa0CrSt8cuNuTcccMXERFwHX4dThiPis=
go.opentelemetry.io/otel/sdk/metric v1.36.0/go.mod h1:qTNOhFDfKRwX0yXOqJYegL5WRaW376QbB7P4Pb0qva4=
go.opentelemetry.io/otel/trace v1.36.0 h1:ahxWNuqZjpdiFAyrIoQ4GIiAIhxAunQR6MUoKrsNd4w=
go.opentelemetry.io/otel/trace v1.36.0/go.mod h1:gQ+OnDZzrybY4k4seLzPAWNwVBBVlF2szhehOBB/tGA=
go.opentelemetry.io/proto/otlp v1.5.0 h1:xJvq7gMzB31/d406fB8U5CBdyQGw4P399D1aQWU/3i4=
go.opentelemetry.io/proto/otlp v1.5.0/go.mod h1:keN8WnHxOy8PG0rQZjJJ5A2ebUoafqWp0eVQ4yIXvJ4=
go.uber.org/automaxprocs v1.6.0 h1:O3y2/QNTOdbF+e/dpXNNW7Rx2hZ4sTIPyybbxyNqTUs=
go.uber.org/automaxprocs v1.6.0/go.mod h1:ifeIMSnPZuznNm6jmdzmU3/bfk01Fe2fotchwEFJ8r8=
go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto=
go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE=
go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0=
@@ -532,14 +536,14 @@ go.uber.org/zap v1.27.0 h1:aJMhYGrd5QSmlpLMr2MftRKl7t8J8PTZPA732ud/XR8=
go.uber.org/zap v1.27.0/go.mod h1:GB2qFLM7cTU87MWRP2mPIjqfIDnGu+VIO4V/SdhGo2E=
go.yaml.in/yaml/v2 v2.4.2 h1:DzmwEr2rDGHl7lsFgAHxmNz/1NlQ7xLIrlN2h5d1eGI=
go.yaml.in/yaml/v2 v2.4.2/go.mod h1:081UH+NErpNdqlCXm3TtEran0rJZGxAYx9hb/ELlsPU=
go.yaml.in/yaml/v3 v3.0.3 h1:bXOww4E/J3f66rav3pX3m8w6jDE4knZjGOw8b5Y6iNE=
go.yaml.in/yaml/v3 v3.0.3/go.mod h1:tBHosrYAkRZjRAOREWbDnBXUf08JOwYq++0QNwQiWzI=
go.yaml.in/yaml/v3 v3.0.4 h1:tfq32ie2Jv2UxXFdLJdh3jXuOzWiL1fo0bu/FbuKpbc=
go.yaml.in/yaml/v3 v3.0.4/go.mod h1:DhzuOOF2ATzADvBadXxruRBLzYTpT36CKvDb3+aBEFg=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/crypto v0.40.0 h1:r4x+VvoG5Fm+eJcxMaY8CQM7Lb0l1lsmjGBQ6s8BfKM=
golang.org/x/crypto v0.40.0/go.mod h1:Qr1vMER5WyS2dfPHAlsOj01wgLbsyWtFn/aY+5+ZdxY=
golang.org/x/crypto v0.41.0 h1:WKYxWedPGCTVVl5+WHSSrOBT0O8lx32+zxmHxijgXp4=
golang.org/x/crypto v0.41.0/go.mod h1:pO5AFd7FA68rFak7rOAGVuygIISepHftHnr8dr6+sUc=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
@@ -548,8 +552,8 @@ golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod h1:3xt1FjdF8hUf6vQPI
golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg=
golang.org/x/mod v0.2.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.3.0/go.mod h1:s0Qsj1ACt9ePp/hMypM3fl4fZqREWJwdYDEqhRiZZUA=
golang.org/x/mod v0.26.0 h1:EGMPT//Ezu+ylkCijjPc+f4Aih7sZvaAr+O3EHBxvZg=
golang.org/x/mod v0.26.0/go.mod h1:/j6NAhSk8iQ723BGAUyoAcn7SlD7s15Dp9Nd/SfeaFQ=
golang.org/x/mod v0.27.0 h1:kb+q2PyFnEADO2IEF935ehFUXlWiNjJWtRNgBLSfbxQ=
golang.org/x/mod v0.27.0/go.mod h1:rWI627Fq0DEoudcK+MBkNkCe0EetEaDSwJJkCcjpazc=
golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
@@ -560,8 +564,8 @@ golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLL
golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
golang.org/x/net v0.0.0-20201021035429-f5854403a974/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.0.0-20201110031124-69a78807bb2b/go.mod h1:sp8m0HH+o8qH0wwXwYZr8TS3Oi6o0r6Gce1SSxlDquU=
golang.org/x/net v0.42.0 h1:jzkYrhi3YQWD6MLBJcsklgQsoAcw89EcZbJw8Z614hs=
golang.org/x/net v0.42.0/go.mod h1:FF1RA5d3u7nAYA4z2TkclSCKh68eSXtiFwcWQpPXdt8=
golang.org/x/net v0.43.0 h1:lat02VYK2j4aLzMzecihNvTlJNQUq316m2Mr9rnM6YE=
golang.org/x/net v0.43.0/go.mod h1:vhO1fvI4dGsIjh73sWfUVjj3N7CA9WkKJNQm2svM6Jg=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.30.0 h1:dnDm7JmhM45NNpd8FDDeLhK6FwqbOf4MLCM9zb1BOHI=
golang.org/x/oauth2 v0.30.0/go.mod h1:B++QgG3ZKulg6sRPGD/mqlHQs5rB3Ml9erfeDY7xKlU=
@@ -577,25 +581,20 @@ golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5h
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20200930185726-fdedc70b468f/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20201204225414-ed752295db88/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/sys v0.0.0-20210616094352-59db8d763f22/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20211025201205-69cdffdb9359/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
golang.org/x/sys v0.34.0 h1:H5Y5sJ2L2JRdyv7ROF1he/lPdvFsd0mJHFw2ThKHxLA=
golang.org/x/sys v0.34.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
golang.org/x/term v0.33.0 h1:NuFncQrRcaRvVmgRkvM3j/F00gWIAlcmlB8ACEKmGIg=
golang.org/x/term v0.33.0/go.mod h1:s18+ql9tYWp1IfpV9DmCtQDDSRBUjKaw9M1eAv5UeF0=
golang.org/x/sys v0.35.0 h1:vz1N37gP5bs89s7He8XuIYXpyY0+QlsKmzipCbUtyxI=
golang.org/x/sys v0.35.0/go.mod h1:BJP2sWEmIv4KK5OTEluFJCKSidICx8ciO85XgH3Ak8k=
golang.org/x/term v0.34.0 h1:O/2T7POpk0ZZ7MAzMeWFSg6S5IpWd/RXDlM9hgM3DR4=
golang.org/x/term v0.34.0/go.mod h1:5jC53AEywhIVebHgPVeg0mj8OD3VO9OzclacVrqpaAw=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.27.0 h1:4fGWRpyh641NLlecmyl4LOe6yDdfaYNrGb2zdfo4JV4=
golang.org/x/text v0.27.0/go.mod h1:1D28KMCvyooCX9hBiosv5Tz/+YLxj0j7XhWjpSUF7CU=
golang.org/x/text v0.28.0 h1:rhazDwis8INMIwQ4tpjLDzUhx6RlXqZNPEM0huQojng=
golang.org/x/text v0.28.0/go.mod h1:U8nCwOR8jO/marOQ0QbDiOngZVEBB7MAiitBuMjXiNU=
golang.org/x/time v0.12.0 h1:ScB/8o8olJvc+CQPWrK3fPZNfh7qgwCrY0zJmoEQLSE=
golang.org/x/time v0.12.0/go.mod h1:CDIdPxbZBQxdj6cxyCIdrNogrJKMJ7pr37NYpMcMDSg=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
@@ -607,8 +606,8 @@ golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtn
golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
golang.org/x/tools v0.0.0-20210106214847-113979e3529a/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
golang.org/x/tools v0.34.0 h1:qIpSLOxeCYGg9TrcJokLBG4KFA6d795g0xkBkiESGlo=
golang.org/x/tools v0.34.0/go.mod h1:pAP9OwEaY1CAW3HOmg3hLZC5Z0CCmzjAF2UQMSqNARg=
golang.org/x/tools v0.36.0 h1:kWS0uv/zsvHEle1LbV5LE8QujrxB3wfQyxHfhOk0Qkg=
golang.org/x/tools v0.36.0/go.mod h1:WBDiHKJK8YgLHlcQPYQzNCkUxUypCaa5ZegCVutKm+s=
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
@@ -620,19 +619,19 @@ google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7
google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc=
google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc=
google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo=
google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80 h1:KAeGQVN3M9nD0/bQXnr/ClcEMJ968gUXJQ9pwfSynuQ=
google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80/go.mod h1:cc8bqMqtv9gMOr0zHg2Vzff5ULhhL2IXP4sbcn32Dro=
google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576 h1:CkkIfIt50+lT6NHAVoRYEyAvQGFM7xEwXUUywFvEb3Q=
google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576/go.mod h1:1R3kvZ1dtP3+4p4d3G8uJ8rFk/fWlScl38vanWACI08=
google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576 h1:8ZmaLZE4XWrtU3MyClkYqqtl6Oegr3235h7jxsDyqCY=
google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576/go.mod h1:5uTbfoYQed2U9p3KIj2/Zzm02PYhndfdmML0qC3q3FU=
google.golang.org/genproto v0.0.0-20250603155806-513f23925822 h1:rHWScKit0gvAPuOnu87KpaYtjK5zBMLcULh7gxkCXu4=
google.golang.org/genproto v0.0.0-20250603155806-513f23925822/go.mod h1:HubltRL7rMh0LfnQPkMH4NPDFEWp0jw3vixw7jEM53s=
google.golang.org/genproto/googleapis/api v0.0.0-20250603155806-513f23925822 h1:oWVWY3NzT7KJppx2UKhKmzPq4SRe0LdCijVRwvGeikY=
google.golang.org/genproto/googleapis/api v0.0.0-20250603155806-513f23925822/go.mod h1:h3c4v36UTKzUiuaOKQ6gr3S+0hovBtUrXzTG/i3+XEc=
google.golang.org/genproto/googleapis/rpc v0.0.0-20250603155806-513f23925822 h1:fc6jSaCT0vBduLYZHYrBBNY4dsWuvgyff9noRNDdBeE=
google.golang.org/genproto/googleapis/rpc v0.0.0-20250603155806-513f23925822/go.mod h1:qQ0YXyHHx3XkvlzUtpXDkS29lDSafHMZBAZDc03LQ3A=
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg=
google.golang.org/grpc v1.25.1/go.mod h1:c3i+UQWmh7LiEpx4sFZnkU36qjEYZ0imhYfXVyQciAY=
google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk=
google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc=
google.golang.org/grpc v1.68.1 h1:oI5oTa11+ng8r8XMMN7jAOmWfPZWbYpCFaMUTACxkM0=
google.golang.org/grpc v1.68.1/go.mod h1:+q1XYFJjShcqn0QZHvCyeR4CXPA+llXIeUIfIe00waw=
google.golang.org/grpc v1.72.2 h1:TdbGzwb82ty4OusHWepvFWGLgIbNo1/SUynEN0ssqv8=
google.golang.org/grpc v1.72.2/go.mod h1:wH5Aktxcg25y1I3w7H69nHfXdOG3UiadoBtjh3izSDM=
google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8=
google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0=
google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM=
@@ -642,15 +641,14 @@ google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2
google.golang.org/protobuf v1.23.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU=
google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.36.6 h1:z1NpPI8ku2WgiWnf+t9wTPsn6eP1L7ksHUlkfLvd9xY=
google.golang.org/protobuf v1.36.6/go.mod h1:jduwjTPXsFjZGTmRluh+L6NjiWu7pchiJ2/5YcXBHnY=
google.golang.org/protobuf v1.36.8 h1:xHScyCOEuuwZEc6UtSOvPbAT4zRh0xcNRYekJwfqyMc=
google.golang.org/protobuf v1.36.8/go.mod h1:fuxRtAxBytpl4zzqUh6/eyUujkJdNiuEkXntxiD/uRU=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
gopkg.in/evanphx/json-patch.v4 v4.12.0 h1:n6jtcsulIzXPJaxegRbvFNNrZDjbij7ny3gmSPG+6V4=
gopkg.in/evanphx/json-patch.v4 v4.12.0/go.mod h1:p8EYWUEYMpynmqDbY58zCKCFZw8pRWMG4EsWvDvM72M=
gopkg.in/fsnotify.v1 v1.4.7 h1:xOHLXZwVvI9hhs+cLKq5+I5onOuwQLhQwiu63xxlHs4=
gopkg.in/fsnotify.v1 v1.4.7/go.mod h1:Tz8NjZHkW78fSQdbUxIjBTcgA1z1m8ZHf0WmKUhAMys=
gopkg.in/inf.v0 v0.9.1 h1:73M5CoZyi3ZLMOyDlQh031Cx6N9NDJ2Vvfl76EDAgDc=
gopkg.in/inf.v0 v0.9.1/go.mod h1:cWUDdTG/fYaXco+Dcufb5Vnc6Gp2YChqWtbxRZE0mXw=
@@ -663,49 +661,47 @@ gopkg.in/yaml.v2 v2.4.0/go.mod h1:RDklbk79AGWmwhnvt/jBztapEOGDOx6ZbXqjP6csGnQ=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA=
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
helm.sh/helm/v3 v3.18.5 h1:Cc3Z5vd6kDrZq9wO9KxKLNEickiTho6/H/dBNRVSos4=
helm.sh/helm/v3 v3.18.5/go.mod h1:L/dXDR2r539oPlFP1PJqKAC1CUgqHJDLkxKpDGrWnyg=
helm.sh/helm/v3 v3.18.6 h1:S/2CqcYnNfLckkHLI0VgQbxgcDaU3N4A/46E3n9wSNY=
helm.sh/helm/v3 v3.18.6/go.mod h1:L/dXDR2r539oPlFP1PJqKAC1CUgqHJDLkxKpDGrWnyg=
honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
k8s.io/api v0.33.3 h1:SRd5t//hhkI1buzxb288fy2xvjubstenEKL9K51KBI8=
k8s.io/api v0.33.3/go.mod h1:01Y/iLUjNBM3TAvypct7DIj0M0NIZc+PzAHCIo0CYGE=
k8s.io/apiextensions-apiserver v0.33.3 h1:qmOcAHN6DjfD0v9kxL5udB27SRP6SG/MTopmge3MwEs=
k8s.io/apiextensions-apiserver v0.33.3/go.mod h1:oROuctgo27mUsyp9+Obahos6CWcMISSAPzQ77CAQGz8=
k8s.io/apimachinery v0.33.3 h1:4ZSrmNa0c/ZpZJhAgRdcsFcZOw1PQU1bALVQ0B3I5LA=
k8s.io/apimachinery v0.33.3/go.mod h1:BHW0YOu7n22fFv/JkYOEfkUYNRN0fj0BlvMFWA7b+SM=
k8s.io/apiserver v0.33.3 h1:Wv0hGc+QFdMJB4ZSiHrCgN3zL3QRatu56+rpccKC3J4=
k8s.io/apiserver v0.33.3/go.mod h1:05632ifFEe6TxwjdAIrwINHWE2hLwyADFk5mBsQa15E=
k8s.io/cli-runtime v0.33.3 h1:Dgy4vPjNIu8LMJBSvs8W0LcdV0PX/8aGG1DA1W8lklA=
k8s.io/cli-runtime v0.33.3/go.mod h1:yklhLklD4vLS8HNGgC9wGiuHWze4g7x6XQZ+8edsKEo=
k8s.io/client-go v0.33.3 h1:M5AfDnKfYmVJif92ngN532gFqakcGi6RvaOF16efrpA=
k8s.io/client-go v0.33.3/go.mod h1:luqKBQggEf3shbxHY4uVENAxrDISLOarxpTKMiUuujg=
k8s.io/component-base v0.33.3 h1:mlAuyJqyPlKZM7FyaoM/LcunZaaY353RXiOd2+B5tGA=
k8s.io/component-base v0.33.3/go.mod h1:ktBVsBzkI3imDuxYXmVxZ2zxJnYTZ4HAsVj9iF09qp4=
k8s.io/api v0.34.0 h1:L+JtP2wDbEYPUeNGbeSa/5GwFtIA662EmT2YSLOkAVE=
k8s.io/api v0.34.0/go.mod h1:YzgkIzOOlhl9uwWCZNqpw6RJy9L2FK4dlJeayUoydug=
k8s.io/apiextensions-apiserver v0.34.0 h1:B3hiB32jV7BcyKcMU5fDaDxk882YrJ1KU+ZSkA9Qxoc=
k8s.io/apiextensions-apiserver v0.34.0/go.mod h1:hLI4GxE1BDBy9adJKxUxCEHBGZtGfIg98Q+JmTD7+g0=
k8s.io/apimachinery v0.34.0 h1:eR1WO5fo0HyoQZt1wdISpFDffnWOvFLOOeJ7MgIv4z0=
k8s.io/apimachinery v0.34.0/go.mod h1:/GwIlEcWuTX9zKIg2mbw0LRFIsXwrfoVxn+ef0X13lw=
k8s.io/apiserver v0.34.0 h1:Z51fw1iGMqN7uJ1kEaynf2Aec1Y774PqU+FVWCFV3Jg=
k8s.io/apiserver v0.34.0/go.mod h1:52ti5YhxAvewmmpVRqlASvaqxt0gKJxvCeW7ZrwgazQ=
k8s.io/cli-runtime v0.34.0 h1:N2/rUlJg6TMEBgtQ3SDRJwa8XyKUizwjlOknT1mB2Cw=
k8s.io/cli-runtime v0.34.0/go.mod h1:t/skRecS73Piv+J+FmWIQA2N2/rDjdYSQzEE67LUUs8=
k8s.io/client-go v0.34.0 h1:YoWv5r7bsBfb0Hs2jh8SOvFbKzzxyNo0nSb0zC19KZo=
k8s.io/client-go v0.34.0/go.mod h1:ozgMnEKXkRjeMvBZdV1AijMHLTh3pbACPvK7zFR+QQY=
k8s.io/component-base v0.34.0 h1:bS8Ua3zlJzapklsB1dZgjEJuJEeHjj8yTu1gxE2zQX8=
k8s.io/component-base v0.34.0/go.mod h1:RSCqUdvIjjrEm81epPcjQ/DS+49fADvGSCkIP3IC6vg=
k8s.io/cri-api v0.27.1 h1:KWO+U8MfI9drXB/P4oU9VchaWYOlwDglJZVHWMpTT3Q=
k8s.io/cri-api v0.27.1/go.mod h1:+Ts/AVYbIo04S86XbTD73UPp/DkTiYxtsFeOFEu32L0=
k8s.io/klog/v2 v2.130.1 h1:n9Xl7H1Xvksem4KFG4PYbdQCQxqc/tTUyrgXaOhHSzk=
k8s.io/klog/v2 v2.130.1/go.mod h1:3Jpz1GvMt720eyJH1ckRHK1EDfpxISzJ7I9OYgaDtPE=
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff h1:/usPimJzUKKu+m+TE36gUyGcf03XZEP0ZIKgKj35LS4=
k8s.io/kube-openapi v0.0.0-20250318190949-c8a335a9a2ff/go.mod h1:5jIi+8yX4RIb8wk3XwBo5Pq2ccx4FP10ohkbSKCZoK8=
k8s.io/kube-openapi v0.0.0-20250710124328-f3f2b991d03b h1:MloQ9/bdJyIu9lb1PzujOPolHyvO06MXG5TUIj2mNAA=
k8s.io/kube-openapi v0.0.0-20250710124328-f3f2b991d03b/go.mod h1:UZ2yyWbFTpuhSbFhv24aGNOdoRdJZgsIObGBUaYVsts=
k8s.io/kubectl v0.33.3 h1:r/phHvH1iU7gO/l7tTjQk2K01ER7/OAJi8uFHHyWSac=
k8s.io/kubectl v0.33.3/go.mod h1:euj2bG56L6kUGOE/ckZbCoudPwuj4Kud7BR0GzyNiT0=
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738 h1:M3sRQVHv7vB20Xc2ybTt7ODCeFj6JSWYFzOFnYeS6Ro=
k8s.io/utils v0.0.0-20241104100929-3ea5e8cea738/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
k8s.io/utils v0.0.0-20250820121507-0af2bda4dd1d h1:wAhiDyZ4Tdtt7e46e9M5ZSAJ/MnPGPs+Ki1gHw4w1R0=
k8s.io/utils v0.0.0-20250820121507-0af2bda4dd1d/go.mod h1:OLgZIPagt7ERELqWJFomSt595RzquPNLL48iOWgYOg0=
oras.land/oras-go/v2 v2.6.0 h1:X4ELRsiGkrbeox69+9tzTu492FMUu7zJQW6eJU+I2oc=
oras.land/oras-go/v2 v2.6.0/go.mod h1:magiQDfG6H1O9APp+rOsvCPcW1GD2MM7vgnKY0Y+u1o=
sigs.k8s.io/controller-runtime v0.21.0 h1:CYfjpEuicjUecRk+KAeyYh+ouUBn4llGyDYytIGcJS8=
sigs.k8s.io/controller-runtime v0.21.0/go.mod h1:OSg14+F65eWqIu4DceX7k/+QRAbTTvxeQSNSOQpukWM=
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3 h1:/Rv+M11QRah1itp8VhT6HoVx1Ray9eB4DBr+K+/sCJ8=
sigs.k8s.io/json v0.0.0-20241010143419-9aa6b5e7a4b3/go.mod h1:18nIHnGi6636UCz6m8i4DhaJ65T6EruyzmoQqI2BVDo=
sigs.k8s.io/kustomize/api v0.19.0 h1:F+2HB2mU1MSiR9Hp1NEgoU2q9ItNOaBJl0I4Dlus5SQ=
sigs.k8s.io/kustomize/api v0.19.0/go.mod h1:/BbwnivGVcBh1r+8m3tH1VNxJmHSk1PzP5fkP6lbL1o=
sigs.k8s.io/controller-runtime v0.22.0 h1:mTOfibb8Hxwpx3xEkR56i7xSjB+nH4hZG37SrlCY5e0=
sigs.k8s.io/controller-runtime v0.22.0/go.mod h1:FwiwRjkRPbiN+zp2QRp7wlTCzbUXxZ/D4OzuQUDwBHY=
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8 h1:gBQPwqORJ8d8/YNZWEjoZs7npUVDpVXUUOFfW6CgAqE=
sigs.k8s.io/json v0.0.0-20241014173422-cfa47c3a1cc8/go.mod h1:mdzfpAEoE6DHQEN0uh9ZbOCuHbLK5wOm7dK4ctXE9Tg=
sigs.k8s.io/kustomize/api v0.20.1 h1:iWP1Ydh3/lmldBnH/S5RXgT98vWYMaTUL1ADcr+Sv7I=
sigs.k8s.io/kustomize/api v0.20.1/go.mod h1:t6hUFxO+Ph0VxIk1sKp1WS0dOjbPCtLJ4p8aADLwqjM=
sigs.k8s.io/kustomize/kyaml v0.20.1 h1:PCMnA2mrVbRP3NIB6v9kYCAc38uvFLVs8j/CD567A78=
sigs.k8s.io/kustomize/kyaml v0.20.1/go.mod h1:0EmkQHRUsJxY8Ug9Niig1pUMSCGHxQ5RklbpV/Ri6po=
sigs.k8s.io/randfill v0.0.0-20250304075658-069ef1bbf016/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY=
sigs.k8s.io/randfill v1.0.0 h1:JfjMILfT8A6RbawdsK2JXGBR5AQVfd+9TbzrlneTyrU=
sigs.k8s.io/randfill v1.0.0/go.mod h1:XeLlZ/jmk4i1HRopwe7/aU3H5n1zNUcX6TM94b3QxOY=
sigs.k8s.io/structured-merge-diff/v4 v4.6.0 h1:IUA9nvMmnKWcj5jl84xn+T5MnlZKThmUW1TdblaLVAc=
sigs.k8s.io/structured-merge-diff/v4 v4.6.0/go.mod h1:dDy58f92j70zLsuZVuUX5Wp9vtxXpaZnkPGWeqDfCps=
sigs.k8s.io/yaml v1.4.0/go.mod h1:Ejl7/uTz7PSA4eKMyQCUTnhZYNmLIl+5c2lQPGR2BPY=
sigs.k8s.io/yaml v1.5.0 h1:M10b2U7aEUY6hRtU870n2VTPgR5RZiL/I6Lcc2F4NUQ=
sigs.k8s.io/yaml v1.5.0/go.mod h1:wZs27Rbxoai4C0f8/9urLZtZtF3avA3gKvGyPdDqTO4=
sigs.k8s.io/structured-merge-diff/v6 v6.3.0 h1:jTijUJbW353oVOd9oTlifJqOGEkUw2jB/fXCbTiQEco=
sigs.k8s.io/structured-merge-diff/v6 v6.3.0/go.mod h1:M3W8sfWvn2HhQDIbGWj3S099YozAsymCo/wrT5ohRUE=
sigs.k8s.io/yaml v1.6.0 h1:G8fkbMSAFqgEFgh4b1wmtzDnioxFCUgTZhlbj5P9QYs=
sigs.k8s.io/yaml v1.6.0/go.mod h1:796bPqUfzR/0jLAl6XjHl3Ck7MiyVv8dbTdyT3/pMf4=

View File

@@ -7,9 +7,9 @@ import (
type PackageDownloadModule struct {
common.KubeModule
Manifest string
BaseDir string
DownloadCdnUrl string
Manifest string
BaseDir string
CDNService string
}
func (i *PackageDownloadModule) Init() {
@@ -18,7 +18,7 @@ func (i *PackageDownloadModule) Init() {
download := &task.LocalTask{
Name: i.Name,
Desc: i.Desc,
Action: &PackageDownload{Manifest: i.Manifest, BaseDir: i.BaseDir, DownloadCdnUrl: i.DownloadCdnUrl},
Action: &PackageDownload{Manifest: i.Manifest, BaseDir: i.BaseDir, CDNService: i.CDNService},
}
i.Tasks = []task.Interface{

View File

@@ -21,11 +21,11 @@ import (
type PackageDownload struct {
common.KubeAction
Manifest string
BaseDir string
DownloadCdnUrl string
existingItems []*manifest.ManifestItem
missingItems []*manifest.ManifestItem
Manifest string
BaseDir string
CDNService string
existingItems []*manifest.ManifestItem
missingItems []*manifest.ManifestItem
}
type CheckDownload struct {
@@ -138,7 +138,7 @@ func (d *PackageDownload) downloadItem(runtime connector.Runtime, baseDir string
component.ID = item.Filename
component.Arch = runtime.GetSystemInfo().GetOsArch()
component.BaseDir = getDownloadTargetBasePath(item, baseDir)
component.Url = fmt.Sprintf("%s/%s", d.DownloadCdnUrl, strings.TrimPrefix(url.Url, "/"))
component.Url = fmt.Sprintf("%s/%s", d.CDNService, strings.TrimPrefix(url.Url, "/"))
component.FileName = item.Filename
component.CheckMd5Sum = true
component.Md5sum = url.Checksum

View File

@@ -113,22 +113,27 @@ func (t *UpdateNtpDateTask) Execute(runtime connector.Runtime) error {
return err
}
var ntpPkg = " ntpdate "
var systemInfo = runtime.GetSystemInfo()
if systemInfo.IsUbuntu() && systemInfo.IsUbuntuVersionEqual(connector.Ubuntu24) {
ntpPkg += " util-linux-extra "
}
if _, err := runtime.GetRunner().Cmd(fmt.Sprintf("apt install %s -y", ntpPkg), false, true); err != nil {
return err
if _, err := runtime.GetRunner().Cmd("apt install util-linux-extra -y", false, true); err != nil {
return err
}
}
ntpdateCommand, err := util.GetCommand(common.CommandNtpdate)
if err != nil {
return fmt.Errorf("getntpdate command error: %v", err)
}
if _, err := runtime.GetRunner().Cmd(fmt.Sprintf("%s -b -u pool.ntp.org", ntpdateCommand), false, true); err != nil {
return err
if err == nil {
if _, err := runtime.GetRunner().Cmd(fmt.Sprintf("%s -b -u pool.ntp.org", ntpdateCommand), false, true); err != nil {
return err
}
return nil
} else {
timectlCommand, err := util.GetCommand(common.CommandTimeCtl)
if err != nil {
return fmt.Errorf("neither ntpdate or timedatectl is found, unable to update datetime")
}
if _, err := runtime.GetRunner().Cmd(fmt.Sprintf("%s set-ntp 1", timectlCommand), false, true); err != nil {
return err
}
}
return nil
@@ -146,7 +151,17 @@ func (t *TimeSyncTask) Execute(runtime connector.Runtime) error {
// }
var hwclockCmd = ""
ntpdatePath, _ := util.GetCommand(common.CommandNtpdate)
var setNTPCommand string
ntpdatePath, err := util.GetCommand(common.CommandNtpdate)
if err == nil {
setNTPCommand = fmt.Sprintf("%s -b -u pool.ntp.org", ntpdatePath)
} else {
timectlCommand, err := util.GetCommand(common.CommandTimeCtl)
if err != nil {
return fmt.Errorf("neither ntpdate or timedatectl is found, unable to update time")
}
setNTPCommand = fmt.Sprintf("%s set-ntp 1", timectlCommand)
}
hwclockCommand, err := util.GetCommand(common.CommandHwclock)
if err != nil {
logger.Debugf("hwclock not found")
@@ -159,8 +174,8 @@ func (t *TimeSyncTask) Execute(runtime connector.Runtime) error {
}
cronContent := fmt.Sprintf(`#!/bin/sh
%s -b -u pool.ntp.org %s
exit 0`, ntpdatePath, hwclockCmd)
%s %s
exit 0`, setNTPCommand, hwclockCmd)
// cronContent := fmt.Sprintf(`#!/bin/sh
// %s -b -u pool.ntp.org && %s -w
@@ -432,6 +447,7 @@ var (
"/etc/kubekey",
"/etc/kke/version",
"/etc/systemd/system/olares-swap.service",
"/tmp/vgpulock",
}
networkResetCmds = []string{

View File

@@ -59,22 +59,44 @@ func (t *PatchTask) Execute(runtime connector.Runtime) error {
pre_reqs = pre_reqs + " network-manager "
}
pre_reqs += " conntrack socat apache2-utils net-tools make gcc bison flex tree unzip "
var systemInfo = runtime.GetSystemInfo()
var platformFamily = systemInfo.GetOsPlatformFamily()
var aptToolAvailable bool
if _, err := util.GetCommand("add-apt-repository"); err == nil {
aptToolAvailable = true
} else {
if _, err := runtime.GetRunner().SudoCmd("apt install -y software-properties-common", false, true); err == nil {
aptToolAvailable = true
} else {
logger.Infof("software-properties-common not available, try to update apt sources ourself")
}
}
var pkgManager = systemInfo.GetPkgManager()
switch platformFamily {
case common.Debian:
if _, err := util.GetCommand("add-apt-repository"); err != nil {
if _, err := runtime.GetRunner().SudoCmd("apt install -y software-properties-common", false, true); err != nil {
logger.Errorf("install add-apt-repository error %v", err)
sourceType := "deb"
repoURL := "https://deb.debian.org/debian"
suite := systemInfo.GetDebianVersionCode()
components := []string{"contrib", "non-free"}
if aptToolAvailable {
cmd := fmt.Sprintf("add-apt-repository '%s %s %s %s' -y", sourceType, repoURL, suite, strings.Join(components, " "))
if _, err := runtime.GetRunner().SudoCmd(cmd, false, true); err != nil {
return err
}
} else {
err := utils.AddAptSource(sourceType, repoURL, suite, components)
if err != nil {
return err
}
}
var cmd = fmt.Sprintf("add-apt-repository 'deb http://deb.debian.org/debian %s contrib non-free' -y", systemInfo.GetDebianVersionCode())
if _, err := runtime.GetRunner().SudoCmd(cmd, false, true); err != nil {
logger.Errorf("add os repo error %v", err)
return err
if systemInfo.IsDebianVersionEqual(connector.Debian13) {
pre_reqs += " systemd-timesyncd "
} else {
pre_reqs += " ntpdate "
}
fallthrough
@@ -91,6 +113,7 @@ func (t *PatchTask) Execute(runtime connector.Runtime) error {
return err
}
}
pre_reqs += " ntpdate "
}
if _, err := runtime.GetRunner().SudoCmd(fmt.Sprintf("%s update -qq", pkgManager), false, true); err != nil {
@@ -105,7 +128,6 @@ func (t *PatchTask) Execute(runtime connector.Runtime) error {
return err
}
var cmd = "conntrack socat apache2-utils ntpdate net-tools make gcc bison flex tree unzip"
if _, err := runtime.GetRunner().SudoCmd(fmt.Sprintf("%s %s install -y %s", debianFrontend, pkgManager, cmd), false, true); err != nil {
logger.Errorf("install deps %s error %v", cmd, err)
return err

View File

@@ -78,6 +78,8 @@ func (m *RunPrechecksModule) Init() {
new(SystemdCheck),
new(RequiredPortsCheck),
new(ConflictingContainerdCheck),
new(NvidiaCardArchChecker),
new(NouveauChecker),
new(CudaChecker),
}
runPreChecks := &task.LocalTask{

View File

@@ -23,6 +23,7 @@ import (
"fmt"
"net"
"os"
"slices"
"strings"
"time"
@@ -114,7 +115,7 @@ func (t *RequiredPortsCheck) Check(runtime connector.Runtime) error {
defer l.Close()
}
if len(unbindablePorts) > 0 {
return fmt.Errorf("port %v required by Olares cannot be bound", unbindablePorts)
return fmt.Errorf("port %v required by Olares cannot be bound, you can check which process using the command `sudo netstat -tlnp`", unbindablePorts)
}
return nil
}
@@ -133,13 +134,15 @@ func (t *ConflictingContainerdCheck) Check(runtime connector.Runtime) error {
if kubeRuntime.Arg.IsCloudInstance {
return nil
}
fixMSG := "\nIf it is installed as a component of Docker, it should be uninstalled per the official doc https://docs.docker.com/engine/install/ubuntu/#uninstall-old-versions"
fixMSG += "\nIf it is left over from a previous installation of Olares, clean it up using the command `sudo olares-cli uninstall --all`"
containerdBin, err := util.GetCommand("containerd")
if err == nil && containerdBin != "" {
return fmt.Errorf("found existing containerd binary: %s, a containerd managed by Olares is required to ensure normal function", containerdBin)
return fmt.Errorf("found existing containerd binary: %s, a containerd managed by Olares is required to ensure normal function%s", containerdBin, fixMSG)
}
containerdSocket := "/run/containerd/containerd.sock"
if util.IsExist(containerdSocket) {
return fmt.Errorf("found existing containerd socket: %s, a containerd managed by Olares is required to ensure normal function", containerdSocket)
return fmt.Errorf("found existing containerd socket: %s, a containerd managed by Olares is required to ensure normal function%s", containerdSocket, fixMSG)
}
return nil
}
@@ -269,20 +272,104 @@ func (t *ValidResolvConfCheck) Check(runtime connector.Runtime) error {
return nil
}
type CudaChecker struct {
CudaCheckTask
type NvidiaCardArchChecker struct{}
func (t *NvidiaCardArchChecker) Name() string {
return "NvidiaCardArch"
}
func (c *CudaChecker) Check(runtime connector.Runtime) error {
err := c.CudaCheckTask.Execute(runtime)
func (t *NvidiaCardArchChecker) Check(runtime connector.Runtime) error {
supportedArchs := []string{"Blackwell", "Hopper", "Ada Lovelace", "Ampere", "Turing"}
model, arch, err := utils.DetectNvidiaModelAndArch(runtime)
if err != nil {
return err
}
if strings.TrimSpace(model) == "" {
return nil
}
if !slices.Contains(supportedArchs, arch) {
return fmt.Errorf("unsupported NVIDIA card %s of architecture: %s, Olares only supports the following architectures: %s", model, arch, strings.Join(supportedArchs, ", "))
}
return nil
}
// the command `precheck` will check the cuda version,
// only if the cuda is installed and the current version is not supported, it will return an error
if err == ErrCudaInstalled {
// NouveauChecker checks whether nouveau is loaded and has modeset=1 or -1.
// This check only runs when an NVIDIA GPU is present.
type NouveauChecker struct{}
func (n *NouveauChecker) Name() string {
return "NouveauKernelModule"
}
func (n *NouveauChecker) Check(runtime connector.Runtime) error {
if !runtime.GetSystemInfo().IsLinux() {
return nil
}
model, _, err := utils.DetectNvidiaModelAndArch(runtime)
if err != nil {
fmt.Println("Error detecting NVIDIA card:", err)
os.Exit(1)
}
if strings.TrimSpace(model) == "" {
return nil
}
return err
if !util.IsExist("/sys/module/nouveau") {
return nil
}
const modesetPath = "/sys/module/nouveau/parameters/modeset"
data, err := os.ReadFile(modesetPath)
if err != nil {
fmt.Printf("Error reading modeset parameter of nouveau kernel module by reading file %s: %v", modesetPath, err)
os.Exit(1)
}
val := strings.TrimSpace(string(data))
if val == "1" || val == "-1" {
return fmt.Errorf("detected nouveau kernel module loaded with modeset=%s; this conflicts with the NVIDIA driver that Olares will install, please disable it by running `sudo olares-cli gpu disable-nouveau`, REBOOT your machine, and try again", val)
}
return nil
}
type CudaChecker struct{}
func (c *CudaChecker) Name() string {
return "CUDA"
}
func (c *CudaChecker) Check(runtime connector.Runtime) error {
if !runtime.GetSystemInfo().IsLinux() {
return nil
}
st, err := utils.GetNvidiaStatus(runtime)
if err != nil {
return err
}
if st == nil || !st.Installed {
if st != nil && st.Running {
return ErrKernelDriverUninstalledButRunning
}
logger.Info("NVIDIA driver is not installed")
return nil
}
if st.Mismatch {
return ErrDriverLibraryVersionMismatch
}
if st.InstallMethod != utils.GPUDriverInstallMethodRunfile && !runtime.GetSystemInfo().IsWsl() {
return ErrNotInstalledByRunfile
}
logger.Infof("NVIDIA driver is installed, version: %s, cuda version: %s", st.DriverVersion, st.CudaVersion)
oldestVer := semver.MustParse(supportedCudaVersions[0])
newestVer := semver.MustParse(supportedCudaVersions[len(supportedCudaVersions)-1])
currentVer := semver.MustParse(st.CudaVersion)
if oldestVer.GreaterThan(currentVer) {
return ErrUnsupportedCudaVersion
}
if newestVer.LessThan(currentVer) {
logger.Info("CUDA version is too new, there might be compatibility issues with some applications, use at your own risk")
}
return nil
}
//////////////////////////////////////////////
@@ -474,44 +561,8 @@ func (t *RemoveWSLChattr) Execute(runtime connector.Runtime) error {
return nil
}
var ErrUnsupportedCudaVersion = errors.New("unsupported cuda version, please uninstall it, REBOOT your machine, and try again")
var ErrCudaInstalled = errors.New("cuda is installed")
var supportedCudaVersions = []string{"12.8", common.CurrentVerifiedCudaVersion}
// CudaCheckTask checks the cuda version, if the current version is not supported, it will return an error
// before executing the command `olares-cli gpu install`, we need to check the cuda version
// if the cuda if not installed, it will return nil and the command can be executed.
// if the cuda is installed and the version is unsupported, the command can not be executed,
// or the cuda version is supported, executing the command is unnecessary.
type CudaCheckTask struct{}
func (t *CudaCheckTask) Name() string {
return "Cuda"
}
func (t *CudaCheckTask) Execute(runtime connector.Runtime) error {
if !runtime.GetSystemInfo().IsLinux() {
return nil
}
info, installed, err := utils.ExecNvidiaSmi(runtime)
switch {
case err != nil:
return err
case !installed:
logger.Info("NVIDIA driver is not installed")
return nil
default:
logger.Infof("NVIDIA driver is installed, version: %s, cuda version: %s", info.DriverVersion, info.CudaVersion)
oldestVer := semver.MustParse(supportedCudaVersions[0])
newestVer := semver.MustParse(supportedCudaVersions[len(supportedCudaVersions)-1])
currentVer := semver.MustParse(info.CudaVersion)
if oldestVer.GreaterThan(currentVer) {
return ErrUnsupportedCudaVersion
}
if newestVer.LessThan(currentVer) {
logger.Info("CUDA version is too new, there might be compatibility issues with some applications, use at your own risk")
}
return ErrCudaInstalled
}
}
var ErrUnsupportedCudaVersion = errors.New("unsupported cuda version, please uninstall it using the command `sudo olares-cli gpu uninstall`, REBOOT your machine, and try again")
var ErrKernelDriverUninstalledButRunning = errors.New("NVIDIA driver is uninstalled, but the kernel driver is still running, please REBOOT your machine, and try again")
var ErrNotInstalledByRunfile = errors.New("NVIDIA driver is installed, but not installed by runfile, please uninstall it using the command `sudo olares-cli gpu uninstall`, REBOOT your machine, and try again")
var ErrDriverLibraryVersionMismatch = errors.New("NVIDIA driver is installed, but the library version with the running version is mismatched, please REBOOT your machine, and try again")
var supportedCudaVersions = []string{common.CurrentVerifiedCudaVersion}

View File

@@ -18,8 +18,6 @@ package common
import (
"os"
cc "github.com/beclab/Olares/cli/pkg/core/common"
)
const (
@@ -27,8 +25,7 @@ const (
DefaultK3sVersion = "v1.33.3-k3s"
DefaultKubernetesVersion = ""
DefaultKubeSphereVersion = "v3.3.0"
DefaultTokenMaxAge = 31536000
CurrentVerifiedCudaVersion = "12.9"
CurrentVerifiedCudaVersion = "13.0"
)
const (
@@ -209,6 +206,7 @@ const (
CommandSocat = "socat"
CommandConntrack = "conntrack"
CommandNtpdate = "ntpdate"
CommandTimeCtl = "timedatectl"
CommandHwclock = "hwclock"
CommandKubectl = "kubectl"
CommandDocker = "docker"
@@ -237,7 +235,6 @@ const (
CacheNodeNum = "node_num"
CacheRedisPassword = "redis_password"
CacheSecretsNum = "secrets_num"
CacheJwtSecret = "jwt_secret"
CacheCrdsNUm = "users_iam_num"
CacheMinioPath = "minio_binary_path"
@@ -280,74 +277,40 @@ const (
)
const (
ENV_OLARES_BASE_DIR = "OLARES_BASE_DIR"
ENV_OLARES_VERSION = "OLARES_VERSION"
ENV_TERMINUS_IS_CLOUD_VERSION = "TERMINUS_IS_CLOUD_VERSION"
ENV_PUBLICLY_ACCESSIBLE = "PUBLICLY_ACCESSIBLE"
ENV_KUBE_TYPE = "KUBE_TYPE"
ENV_REGISTRY_MIRRORS = "REGISTRY_MIRRORS"
ENV_NVIDIA_CONTAINER_REPO_MIRROR = "NVIDIA_CONTAINER_REPO_MIRROR"
ENV_DOWNLOAD_CDN_URL = "DOWNLOAD_CDN_URL"
ENV_STORAGE = "STORAGE"
ENV_S3_BUCKET = "S3_BUCKET"
ENV_LOCAL_GPU_ENABLE = "LOCAL_GPU_ENABLE"
ENV_CLOUDFLARE_ENABLE = "CLOUDFLARE_ENABLE"
ENV_FRP_ENABLE = "FRP_ENABLE"
ENV_FRP_SERVER = "FRP_SERVER"
ENV_FRP_PORT = "FRP_PORT"
ENV_FRP_AUTH_METHOD = "FRP_AUTH_METHOD"
ENV_FRP_AUTH_TOKEN = "FRP_AUTH_TOKEN"
ENV_AWS_ACCESS_KEY_ID_SETUP = "AWS_ACCESS_KEY_ID_SETUP"
ENV_AWS_SECRET_ACCESS_KEY_SETUP = "AWS_SECRET_ACCESS_KEY_SETUP"
ENV_AWS_SESSION_TOKEN_SETUP = "AWS_SESSION_TOKEN_SETUP"
ENV_BACKUP_KEY_PREFIX = "BACKUP_KEY_PREFIX"
ENV_BACKUP_SECRET = "BACKUP_SECRET"
ENV_CLUSTER_ID = "CLUSTER_ID"
ENV_BACKUP_CLUSTER_BUCKET = "BACKUP_CLUSTER_BUCKET"
ENV_TOKEN_MAX_AGE = "TOKEN_MAX_AGE"
ENV_MARKET_PROVIDER = "MARKET_PROVIDER"
ENV_TERMINUS_CERT_SERVICE_API = "TERMINUS_CERT_SERVICE_API"
ENV_TERMINUS_DNS_SERVICE_API = "TERMINUS_DNS_SERVICE_API"
ENV_HOST_IP = "HOST_IP"
ENV_PREINSTALL = "PREINSTALL"
ENV_DISABLE_HOST_IP_PROMPT = "DISABLE_HOST_IP_PROMPT"
ENV_AUTO_ADD_FIREWALL_RULES = "AUTO_ADD_FIREWALL_RULES"
ENV_TERMINUS_OS_DOMAINNAME = "TERMINUS_OS_DOMAINNAME"
ENV_DEFAULT_WSL_DISTRO_LOCATION = "DEFAULT_WSL_DISTRO_LOCATION" // If set to 1, the default WSL distro storage will be used.
ENV_OLARES_BASE_DIR = "OLARES_BASE_DIR"
ENV_OLARES_VERSION = "OLARES_VERSION"
ENV_TERMINUS_IS_CLOUD_VERSION = "TERMINUS_IS_CLOUD_VERSION"
ENV_KUBE_TYPE = "KUBE_TYPE"
ENV_REGISTRY_MIRRORS = "REGISTRY_MIRRORS"
ENV_OLARES_CDN_SERVICE = "OLARES_SYSTEM_CDN_SERVICE"
ENV_STORAGE = "STORAGE"
ENV_S3_BUCKET = "S3_BUCKET"
ENV_LOCAL_GPU_ENABLE = "LOCAL_GPU_ENABLE"
ENV_AWS_ACCESS_KEY_ID_SETUP = "AWS_ACCESS_KEY_ID_SETUP"
ENV_AWS_SECRET_ACCESS_KEY_SETUP = "AWS_SECRET_ACCESS_KEY_SETUP"
ENV_AWS_SESSION_TOKEN_SETUP = "AWS_SESSION_TOKEN_SETUP"
ENV_BACKUP_KEY_PREFIX = "BACKUP_KEY_PREFIX"
ENV_BACKUP_SECRET = "BACKUP_SECRET"
ENV_CLUSTER_ID = "CLUSTER_ID"
ENV_BACKUP_CLUSTER_BUCKET = "BACKUP_CLUSTER_BUCKET"
ENV_HOST_IP = "HOST_IP"
ENV_PREINSTALL = "PREINSTALL"
ENV_DISABLE_HOST_IP_PROMPT = "DISABLE_HOST_IP_PROMPT"
ENV_AUTO_ADD_FIREWALL_RULES = "AUTO_ADD_FIREWALL_RULES"
ENV_TERMINUS_OS_DOMAINNAME = "TERMINUS_OS_DOMAINNAME"
ENV_DEFAULT_WSL_DISTRO_LOCATION = "DEFAULT_WSL_DISTRO_LOCATION" // If set to 1, the default WSL distro storage will be used.
ENV_CONTAINER = "container"
ENV_CONTAINER_MODE = "CONTAINER_MODE" // running in docker container
OLARES_SYSTEM_ENV_FILENAME = "system-env.yaml"
OLARES_USER_ENV_FILENAME = "user-env.yaml"
)
// TerminusGlobalEnvs holds a group of general environment variables
// which are used for many components
// along with their default values
// if they are set in the execution environment
// the default values are override
// note that we declare the key type as interface{} on purpose
// to avoid Helm bug when merging values
var TerminusGlobalEnvs = map[string]interface{}{
"DID_GATE_URL": "https://did-gate-v3.bttcdn.com/",
"OLARES_SPACE_URL": "https://cloud-api.bttcdn.com/",
"FIREBASE_PUSH_URL": "https://firebase-push-test.bttcdn.com/v1/api/push",
"FRP_LIST_URL": "https://terminus-frp.snowinning.com",
"TAILSCALE_CONTROLPLANE_URL": "https://controlplane.snowinning.com",
"OLARES_ROOT_DIR": "/olares",
// the default value used by kubeadm
"COREDNS_SVC": "10.96.0.10",
ENV_DOWNLOAD_CDN_URL: cc.DownloadUrl,
ENV_MARKET_PROVIDER: "appstore-server-prod.bttcdn.com",
func SetSystemEnv(key, value string) {
os.Setenv(key, value)
}
const (
HelmValuesKeyTerminusGlobalEnvs = "terminusGlobalEnvs"
HelmValuesKeyOlaresRootFSPath = "rootPath"
HelmValuesKeyOlaresRootFSPath = "rootPath"
)
func init() {
for envKey, _ := range TerminusGlobalEnvs {
if val := os.Getenv(envKey); val != "" {
TerminusGlobalEnvs[envKey] = val
}
}
}

View File

@@ -76,9 +76,9 @@ type Argument struct {
SystemInfo connector.Systems
// Extra args
ExtraAddon string `json:"extra_addon"` // addon yaml config
RegistryMirrors string `json:"registry_mirrors"`
DownloadCdnUrl string `json:"download_cdn_url"`
ExtraAddon string `json:"extra_addon"` // addon yaml config
RegistryMirrors string `json:"registry_mirrors"`
OlaresCDNService string `json:"olares_cdn_service"`
// Swap config
*SwapConfig
@@ -98,15 +98,9 @@ type Argument struct {
// to avoid wrong information given by user
WithJuiceFS bool `json:"with_juicefs"`
// the object storage service used as backend for JuiceFS
Storage *Storage `json:"storage"`
PublicNetworkInfo *PublicNetworkInfo `json:"public_network_info"`
GPU *GPU `json:"gpu"`
Cloudflare *Cloudflare `json:"cloudflare"`
Frp *Frp `json:"frp"`
TokenMaxAge int64 `json:"token_max_age"` // nanosecond
MarketProvider string `json:"market_provider"`
TerminusCertServiceAPI string `json:"terminus_cert_service_api"`
TerminusDNSServiceAPI string `json:"terminus_dns_service_api"`
Storage *Storage `json:"storage"`
NetworkSettings *NetworkSettings `json:"network_settings"`
GPU *GPU `json:"gpu"`
Request any `json:"-"`
@@ -189,15 +183,15 @@ func (cfg *MasterHostConfig) Validate() error {
return nil
}
type PublicNetworkInfo struct {
type NetworkSettings struct {
// OSPublicIPs contains a list of public ip(s)
// by looking at local network interfaces
// if any
OSPublicIPs []net.IP `json:"os_public_ips"`
// AWS contains the info retrieved from the AWS instance metadata service
// CloudProviderPublicIP contains the info retrieved from the cloud provider instance metadata service
// if any
AWSPublicIP net.IP `json:"aws"`
CloudProviderPublicIP net.IP `json:"cloud_provider_public_ip"`
// ExternalPublicIP is the IP address seen by others on the internet
// it may not be an IP address
@@ -209,7 +203,7 @@ type PublicNetworkInfo struct {
// but the user explicitly specifies that the machine is publicly accessible
ExternalPublicIP net.IP `json:"external_public_ip"`
PubliclyAccessible bool `json:"publicly_accessible"`
EnableReverseProxy *bool `json:"enable_reverse_proxy"`
}
type User struct {
@@ -238,18 +232,6 @@ type GPU struct {
Enable bool `json:"gpu_enable"`
}
type Cloudflare struct {
Enable string `json:"cloudflare_enable"`
}
type Frp struct {
Enable string `json:"frp_enable"`
Server string `json:"frp_server"`
Port string `json:"frp_port"`
AuthMethod string `json:"frp_auth_method"`
AuthToken string `json:"frp_auth_token"`
}
func NewArgument() *Argument {
si := connector.GetSystemInfo()
arg := &Argument{
@@ -265,22 +247,16 @@ func NewArgument() *Argument {
GPU: &GPU{
Enable: !strings.EqualFold(os.Getenv(ENV_LOCAL_GPU_ENABLE), "0"), // default enable GPU, not set or 1 means enable
},
Cloudflare: &Cloudflare{},
Frp: &Frp{},
User: &User{},
PublicNetworkInfo: &PublicNetworkInfo{},
RegistryMirrors: os.Getenv(ENV_REGISTRY_MIRRORS),
DownloadCdnUrl: os.Getenv(ENV_DOWNLOAD_CDN_URL),
MarketProvider: os.Getenv(ENV_MARKET_PROVIDER),
TerminusCertServiceAPI: os.Getenv(ENV_TERMINUS_CERT_SERVICE_API),
TerminusDNSServiceAPI: os.Getenv(ENV_TERMINUS_DNS_SERVICE_API),
HostIP: os.Getenv(ENV_HOST_IP),
Environment: os.Environ(),
MasterHostConfig: &MasterHostConfig{},
SwapConfig: &SwapConfig{},
User: &User{},
NetworkSettings: &NetworkSettings{},
RegistryMirrors: os.Getenv(ENV_REGISTRY_MIRRORS),
OlaresCDNService: os.Getenv(ENV_OLARES_CDN_SERVICE),
HostIP: os.Getenv(ENV_HOST_IP),
Environment: os.Environ(),
MasterHostConfig: &MasterHostConfig{},
SwapConfig: &SwapConfig{},
}
arg.IsCloudInstance, _ = strconv.ParseBool(os.Getenv(ENV_TERMINUS_IS_CLOUD_VERSION))
arg.PublicNetworkInfo.PubliclyAccessible, _ = strconv.ParseBool(os.Getenv(ENV_PUBLICLY_ACCESSIBLE))
arg.IsOlaresInContainer = os.Getenv("CONTAINER_MODE") == "oic"
si.IsOIC = arg.IsOlaresInContainer
@@ -368,21 +344,12 @@ func (a *Argument) GetWslUserPath() string {
return res
}
func (a *Argument) SetDownloadCdnUrl(downloadCdnUrl string) {
u := strings.TrimSuffix(downloadCdnUrl, "/")
func (a *Argument) SetOlaresCDNService(url string) {
u := strings.TrimSuffix(url, "/")
if u == "" {
u = common.DownloadUrl
u = common.DefaultOlaresCDNService
}
a.DownloadCdnUrl = u
}
func (a *Argument) SetTokenMaxAge() {
s := os.Getenv(ENV_TOKEN_MAX_AGE)
age, err := strconv.ParseInt(s, 10, 64)
if err != nil || age == 0 {
age = DefaultTokenMaxAge
}
a.TokenMaxAge = age
a.OlaresCDNService = u
}
func (a *Argument) SetGPU(enable bool) {
@@ -433,36 +400,6 @@ func (a *Argument) SetWSLDistribution(distribution string) {
}
}
func (a *Argument) SetReverseProxy() {
var enableCloudflare = os.Getenv("CLOUDFLARE_ENABLE")
var enableFrp = "0"
var frpServer = ""
var frpPort = "0"
var frpAuthMethod = ""
var frpAuthToken = ""
if enableCloudflare == "" {
enableCloudflare = "1"
}
if a.PublicNetworkInfo.PubliclyAccessible {
enableCloudflare = "0"
} else if os.Getenv("FRP_ENABLE") == "1" {
enableCloudflare = "0"
enableFrp = "1"
frpServer = os.Getenv("FRP_SERVER")
frpPort = os.Getenv("FRP_PORT")
frpAuthMethod = os.Getenv("FRP_AUTH_METHOD")
frpAuthToken = os.Getenv("FRP_AUTH_TOKEN")
}
a.Cloudflare.Enable = enableCloudflare
a.Frp.Enable = enableFrp
a.Frp.Server = util.RemoveHTTPPrefix(frpServer)
a.Frp.Port = frpPort
a.Frp.AuthMethod = frpAuthMethod
a.Frp.AuthToken = frpAuthToken
}
func (a *Argument) SetKubeVersion(kubeType string) {
var kubeVersion = DefaultK3sVersion
if kubeType == K8s {

View File

@@ -58,7 +58,7 @@ func NewLocalRuntime(debug, ingoreErr bool) (LocalRuntime, error) {
host.Address = ""
host.InternalAddress = ""
host.Port = 22
host.User = u.Name
host.User = u.Username
host.Password = ""
host.PrivateKeyPath = fmt.Sprintf("%s/.ssh/id_rsa", u.HomeDir)
host.Arch = ""

View File

@@ -6,9 +6,9 @@ const (
NamespaceKubePublic = "kube-public"
NamespaceKubeSystem = "kube-system"
NamespaceKubekeySystem = "kubekey-system"
NamespaceKubesphereControlsSystem = "kubesphere-controls-system"
NamespaceKubesphereMonitoringSystem = "kubesphere-monitoring-system"
NamespaceKubesphereSystem = "kubesphere-system"
NamespaceKubesphereControlsSystem = "kubesphere-controls-system"
NamespaceOsFramework = "os-framework"
NamespaceOsPlatform = "os-platform"

View File

@@ -1,109 +0,0 @@
package common
import (
"fmt"
"strconv"
"github.com/beclab/Olares/cli/pkg/core/connector"
"github.com/beclab/Olares/cli/pkg/core/prepare"
"github.com/beclab/Olares/cli/pkg/core/util"
"github.com/pkg/errors"
)
type Skip struct {
KubePrepare
Not bool
}
func (p *Skip) PreCheck(runtime connector.Runtime) (bool, error) {
return !p.Not, nil
}
type Stop struct {
prepare.BasePrepare
}
func (p *Stop) PreCheck(runtime connector.Runtime) (bool, error) {
return true, nil
// return false, fmt.Errorf("STOP !!!!!!")
}
type GetCommandKubectl struct {
prepare.BasePrepare
}
func (p *GetCommandKubectl) PreCheck(runtime connector.Runtime) (bool, error) {
cmd, err := runtime.GetRunner().SudoCmd(fmt.Sprintf("command -v %s", CommandKubectl), false, false)
if err != nil {
return true, nil
}
if cmd != "" {
p.PipelineCache.Set(CacheKubectlKey, cmd)
}
return true, nil
}
type GetMasterNum struct {
prepare.BasePrepare
}
func (p *GetMasterNum) PreCheck(runtime connector.Runtime) (bool, error) {
var kubectlpath, err = util.GetCommand(CommandKubectl)
if err != nil {
return false, fmt.Errorf("kubectl not found")
}
var cmd = fmt.Sprintf("%s get node | awk '{if(NR>1){print $3}}' | grep master | wc -l", kubectlpath)
stdout, err := runtime.GetRunner().SudoCmd(cmd, false, false)
if err != nil {
return false, errors.Wrap(errors.WithStack(err), "get master num failed")
}
masterNum, _ := strconv.ParseInt(stdout, 10, 64)
p.PipelineCache.Set(CacheMasterNum, masterNum)
return true, nil
}
type GetNodeNum struct {
prepare.BasePrepare
}
func (p *GetNodeNum) PreCheck(runtime connector.Runtime) (bool, error) {
var kubectlpath, err = util.GetCommand(CommandKubectl)
if err != nil {
return false, fmt.Errorf("kubectl not found")
}
var cmd = fmt.Sprintf("%s get node | wc -l", kubectlpath)
stdout, err := runtime.GetRunner().SudoCmd(cmd, false, false)
if err != nil {
return false, errors.Wrap(errors.WithStack(err), "get node num failed")
}
nodeNum, _ := strconv.ParseInt(stdout, 10, 64)
p.PipelineCache.Set(CacheNodeNum, nodeNum)
return true, nil
}
type ClusterType struct {
KubePrepare
ClusterType string
Not bool
}
func (p *ClusterType) PreCheck(runtime connector.Runtime) (bool, error) {
if p.KubeConf == nil || p.KubeConf.Cluster == nil {
return false, nil
}
var isK3s = p.KubeConf.Cluster.Kubernetes.Type == p.ClusterType
if p.Not {
return !isK3s, nil
}
return isK3s, nil
}

View File

@@ -92,8 +92,8 @@ const (
)
const (
DownloadUrl = "https://dc3p1870nn3cj.cloudfront.net"
DefaultBashUrl = "olares.sh"
DefaultOlaresCDNService = "https://cdn.olares.com"
DefaultBashUrl = "olares.sh"
)
const (

View File

@@ -44,6 +44,8 @@ func (d DebianVersion) String() string {
return "11"
case Debian12:
return "12"
case Debian13:
return "13"
}
return ""
}
@@ -52,11 +54,13 @@ const (
Ubuntu20 UbuntuVersion = "20."
Ubuntu22 UbuntuVersion = "22."
Ubuntu24 UbuntuVersion = "24."
Ubuntu25 UbuntuVersion = "25."
Debian9 DebianVersion = "9"
Debian10 DebianVersion = "10"
Debian11 DebianVersion = "11"
Debian12 DebianVersion = "12"
Debian13 DebianVersion = "13"
)
type Systems interface {
@@ -131,13 +135,13 @@ func (s *SystemInfo) IsSupport() error {
//}
if s.IsUbuntu() {
if !s.IsUbuntuVersionEqual(Ubuntu20) && !s.IsUbuntuVersionEqual(Ubuntu22) && !s.IsUbuntuVersionEqual(Ubuntu24) {
if !s.IsUbuntuVersionEqual(Ubuntu22) && !s.IsUbuntuVersionEqual(Ubuntu24) && !s.IsUbuntuVersionEqual(Ubuntu25) {
return fmt.Errorf("unsupported ubuntu os version '%s'", s.GetOsVersion())
}
}
if s.IsDebian() {
if !s.IsDebianVersionEqual(Debian11) && !s.IsDebianVersionEqual(Debian12) {
if !s.IsDebianVersionEqual(Debian12) && !s.IsDebianVersionEqual(Debian13) {
return fmt.Errorf("unsupported debian os version '%s'", s.GetOsVersion())
}
}
@@ -250,7 +254,9 @@ func (s *SystemInfo) GetDebianVersionCode() string {
return ""
}
if strings.Contains(s.HostInfo.OsVersion, string(Debian12)) {
if strings.Contains(s.HostInfo.OsVersion, string(Debian13)) {
return "trixie"
} else if strings.Contains(s.HostInfo.OsVersion, string(Debian12)) {
return "bookworm"
} else if strings.Contains(s.HostInfo.OsVersion, string(Debian11)) {
return "bullseye"

View File

@@ -312,3 +312,22 @@ func GetTokenFROMAWSIMDS() (string, error) {
}
return strings.TrimSpace(string(body)), nil
}
func GetPublicIPFromTencentIMDS() (net.IP, error) {
url := "http://metadata.tencentyun.com/latest/meta-data/public-ipv4"
req, err := http.NewRequest(http.MethodGet, url, nil)
if err != nil {
return nil, fmt.Errorf("failed to build http request: %v", err)
}
resp, err := http.DefaultClient.Do(req)
if err != nil {
return nil, errors.Wrap(err, "failed to reach Tencent metadata service")
}
defer resp.Body.Close()
body, err := io.ReadAll(resp.Body)
if err != nil {
return nil, errors.Wrap(err, "failed to read response from Tencent metadata service")
}
logger.Debugf("retrieved public IP info from Tencent metadata service: %s", string(body))
return net.ParseIP(strings.TrimSpace(string(body))), nil
}

Some files were not shown because too many files have changed in this diff Show More