From 79372a32afa324e4dab5ed5c0895375f97ee108f Mon Sep 17 00:00:00 2001 From: Peng Peng Date: Wed, 21 May 2025 21:43:35 +0800 Subject: [PATCH] feat: Merge the code currently scattered across the beclab and Above-os organizations into the https://github.com/beclab/Olares repository. (#1325) * feat: refactor * refactor apps folder * feat: add vendor folder * refactor: package scripts --------- Co-authored-by: eball --- .github/workflows/build-redis-231.yaml | 2 +- .github/workflows/build-redis.yaml | 4 +- .github/workflows/build-ubuntu2204.yaml | 2 +- .github/workflows/build-wsl2326.yaml | 2 +- .github/workflows/check.yaml | 12 +- .github/workflows/daily-lint-check.yaml | 2 +- .github/workflows/push-deps-to-s3.yml | 4 +- .github/workflows/push-to-s3.yaml | 4 +- .github/workflows/release-daily.yaml | 12 +- .github/workflows/release.yaml | 8 +- .gitignore | 1 + .../config/cluster/deploy/files_deploy.yaml | 0 .../cluster/deploy/ks_server_deploy.yaml | 0 .../cluster/deploy/vault_server_deploy.yaml | 0 .../user/helm-charts/desktop}/.helmignore | 0 .../user/helm-charts/desktop/Chart.yaml | 0 .../helm-charts/desktop}/templates/NOTES.txt | 0 .../desktop/templates/_helpers.tpl | 0 .../desktop/templates/desktop_deploy.yaml | 0 .../user/helm-charts/desktop/values.yaml | 0 .../user/helm-charts/files}/.helmignore | 0 .../config/user/helm-charts/files/Chart.yaml | 0 .../helm-charts/files}/templates/NOTES.txt | 0 .../helm-charts/files/templates/_helpers.tpl | 0 .../files/templates/files_fe_deploy.yaml | 0 .../config/user/helm-charts/files/values.yaml | 0 .../user/helm-charts/market}/.helmignore | 0 .../config/user/helm-charts/market/Chart.yaml | 0 .../helm-charts/market}/templates/NOTES.txt | 0 .../helm-charts/market/templates/_helpers.tpl | 0 .../market/templates/market_deploy.yaml | 0 .../user/helm-charts/market/values.yaml | 0 .../user/helm-charts/monitoring}/.helmignore | 0 .../user/helm-charts/monitoring/Chart.yaml | 0 .../monitoring}/templates/NOTES.txt | 0 .../monitoring/templates/_helpers.tpl | 0 .../monitoring/templates/system-frontend.yaml | 0 .../user/helm-charts/monitoring/values.yaml | 0 .../user/helm-charts/studio}/.helmignore | 0 .../config/user/helm-charts/studio/Chart.yaml | 0 .../config/user/helm-charts/studio/devbox.png | Bin .../studio/templates/deployment.yaml | 0 .../user/helm-charts/studio/values.yaml | 0 .../user/helm-charts/vault}/.helmignore | 0 .../config/user/helm-charts/vault/Chart.yaml | 0 .../helm-charts/vault}/templates/NOTES.txt | 0 .../helm-charts/vault/templates/_helpers.tpl | 0 .../vault/templates/vault_deploy.yaml | 0 .../user/helm-charts/vault}/values.yaml | 0 .../user/helm-charts/wizard}/.helmignore | 0 .../config/user/helm-charts/wizard/Chart.yaml | 0 .../helm-charts/wizard}/templates/NOTES.txt | 0 .../helm-charts/wizard/templates/_helpers.tpl | 0 .../wizard/templates/wizard_deploy.yaml | 0 .../user/helm-charts/wizard/values.yaml | 0 apps/{search3 => }/README.md | 0 apps/argo/README.md | 2 - apps/desktop/README.md | 3 - apps/files/README.md | 3 - apps/market-server/README.md | 3 - apps/market/README.md | 3 - apps/rss/README.md | 3 - apps/search/README.md | 3 - apps/studio/README.md | 4 - apps/system-apps/README.md | 5 - apps/vault/README.md | 3 - apps/wizard/README.md | 3 - build/{installer => base-package}/.env | 0 build/{installer => base-package}/Makefile | 0 .../deploy/containerd.service | 0 .../patch-globalrole-workspace-manager.yaml | 0 .../deploy/patch-k3s.yaml | 0 build/{installer => base-package}/install.ps1 | 0 build/{installer => base-package}/install.sh | 0 .../joincluster.sh | 0 .../publicAddnode.sh | 0 .../publicRestoreInstaller.sh | 0 .../refresh_sts.sh | 0 .../upgrade_cmd.sh | 0 .../{installer => base-package}/version.hint | 0 .../wizard/config/account}/.helmignore | 0 .../wizard/config/account/Chart.yaml | 0 .../wizard/config/account/NOTES.txt | 0 .../config/account/templates/_helpers.tpl | 0 .../config/account/templates/account.yaml | 0 .../wizard/config/account/templates/sync.yaml | 0 .../templates/sys.bytetrade.io_terminus.yaml | 0 .../wizard/config/account/values.yaml | 0 .../wizard/config/settings}/.helmignore | 0 .../wizard/config/settings/Chart.yaml | 0 .../wizard/config/settings/NOTES.txt | 0 .../config/settings/templates/_helpers.tpl | 0 .../templates/globalrole-binding.yaml | 0 .../templates/system-serviceaccount.yaml | 0 .../settings/templates/system_namespace.yaml | 0 .../settings/templates/terminus_cr.yaml | 0 .../settings/templates/user-namespace.yaml | 0 .../templates/user-namespacerole-binding.yaml | 0 .../settings/templates/user-system-ns.yaml | 0 .../templates/user-systemrole-binding.yaml | 0 .../wizard/config/settings/values.yaml | 0 .../wizard/config/system}/.helmignore | 0 .../wizard/config/system/Chart.yaml | 0 .../wizard/config/system}/templates/NOTES.txt | 0 .../config/system/templates/_helpers.tpl | 0 .../wizard/config/system/values.yaml | 0 {scripts => build}/build-full.sh | 0 {scripts => build}/build-manifest.sh | 43 +++--- {scripts => build}/build-redis.sh | 0 {scripts => build}/build-ubuntu2204.sh | 0 {scripts => build}/build-wsl-install-msi.sh | 0 {scripts => build}/build.sh | 2 - build/deps-manifest.sh | 77 ++++++++++ {scripts => build}/download-deps.sh | 0 {scripts => build}/image-manifest.sh | 15 +- build/installer/deploy/device-plugin.yaml | 103 ------------- .../installer/deploy/nvidia-device-plugin.yml | 65 -------- build/installer/deploy/orion-config.toml.tmpl | 73 --------- .../deploy/patch-notification-manager.yaml | 68 --------- build/installer/wizard/bin/COLORS | 29 ---- build/installer/wizard/bin/init-config.yaml | 14 -- build/manifest/components | 24 --- build/manifest/images | 47 ------ build/manifest/images.node.mf | 10 -- build/manifest/pkgs | 10 -- {scripts => build}/package.sh | 21 ++- {scripts => build}/release.py | 0 {scripts => build}/save-deps.sh | 0 {scripts => build}/save-images.sh | 0 build/upload-deps.sh | 74 +++++++++ {scripts => build}/upload-images.sh | 0 {scripts => build}/yaml2prop.sh | 0 daemon/.olares/Olares.yaml | 9 ++ daemon/README.md | 1 + docs/README.md | 3 + .../cluster/deploy/analytic_deploy.yaml | 0 {apps => framework}/analytic/README.md | 0 .../app.bytetrade.io_applicationmanagers.yaml | 0 .../crds/app.bytetrade.io_applications.yaml | 0 .../crds/app.bytetrade.io_imagemanagers.yaml | 0 .../cluster/deploy/appservice_deploy.yaml | 0 .../app-service/README.md | 0 .../cluster/deploy/auth_backend_deploy.yaml | 0 .../config/user/helm-charts/auth}/.helmignore | 0 .../config/user/helm-charts/auth/Chart.yaml | 0 .../helm-charts/auth}/templates/NOTES.txt | 0 .../helm-charts/auth/templates/_helpers.tpl | 0 .../auth/templates/auth_deploy.yaml | 0 .../config/user/helm-charts/auth}/values.yaml | 0 {third-party => framework}/authelia/README.md | 0 .../crds/sys.bytetrade.io_backups.yaml | 0 .../crds/sys.bytetrade.io_restores.yaml | 0 .../crds/sys.bytetrade.io_snapshots.yaml | 0 .../config/cluster/deploy/backup_server.yaml | 0 .../backup-server/README.md | 0 .../bfl/.olares/config/launcher}/.helmignore | 0 .../bfl/.olares}/config/launcher/Chart.yaml | 0 .../config/launcher}/templates/NOTES.txt | 0 .../config/launcher/templates/_helpers.tpl | 0 .../config/launcher/templates/bfl_deploy.yaml | 0 .../launcher/templates/otel_define.yaml | 0 .../bfl/.olares}/config/launcher/values.yaml | 0 {frameworks => framework}/bfl/README.md | 0 .../.olares/Olares.yaml | 7 + framework/docker-nginx-headers-more/README.md | 3 + .../crds/sys.bytetrade.io_fswatcher.yaml | 0 .../cluster/deploy/fsnotify_daemon.yaml | 0 .../cluster/deploy/fsnotify_deploy.yaml | 0 .../user/helm-charts/fsnotify}/.helmignore | 0 .../user/helm-charts/fsnotify/Chart.yaml | 0 .../helm-charts/fsnotify}/templates/NOTES.txt | 0 .../fsnotify/templates/_helpers.tpl | 0 .../fsnotify/templates/fsnotify_deploy.yaml | 0 .../user/helm-charts/fsnotify}/values.yaml | 0 {libs => framework}/fs-lib/README.md | 0 .../gpu/.olares}/config/gpu/hami/Chart.yaml | 0 .../config/gpu/hami/templates/NOTES.txt | 0 .../config/gpu/hami/templates/_helpers.tpl | 0 .../templates/dcgm-exporter/daemonset.yaml | 0 .../dcgm-exporter/metrics-configmap.yaml | 0 .../hami/templates/dcgm-exporter/role.yaml | 0 .../templates/dcgm-exporter/rolebinding.yaml | 0 .../dcgm-exporter/service-monitor.yaml | 0 .../hami/templates/dcgm-exporter/service.yaml | 0 .../dcgm-exporter/serviceaccount.yaml | 0 .../templates/dcgm-exporter/tls-secret.yaml | 0 .../dcgm-exporter/web-config-configmap.yaml | 0 .../templates/device-plugin/configmap.yaml | 0 .../device-plugin/daemonsetnvidia.yaml | 0 .../templates/device-plugin/monitorrole.yaml | 0 .../device-plugin/monitorrolebinding.yaml | 0 .../device-plugin/monitorservice.yaml | 0 .../device-plugin/monitorserviceaccount.yaml | 0 .../nvshare}/nvshare-system-quotas.yaml | 0 .../templates/nvshare}/nvshare-system.yaml | 0 .../hami/templates/nvshare}/scheduler.yaml | 0 .../hami/templates/scheduler/configmap.yaml | 0 .../templates/scheduler/configmapnew.yaml | 0 .../hami/templates/scheduler/deployment.yaml | 0 .../templates/scheduler/device-configmap.yaml | 0 .../scheduler/job-patch/clusterrole.yaml | 0 .../job-patch/clusterrolebinding.yaml | 0 .../scheduler/job-patch/job-createSecret.yaml | 0 .../scheduler/job-patch/job-patchWebhook.yaml | 0 .../templates/scheduler/job-patch/psp.yaml | 0 .../templates/scheduler/job-patch/role.yaml | 0 .../scheduler/job-patch/rolebinding.yaml | 0 .../scheduler/job-patch/serviceaccount.yaml | 0 .../hami/templates/scheduler/rolebinding.yaml | 0 .../gpu/hami/templates/scheduler/service.yaml | 0 .../templates/scheduler/serviceaccount.yaml | 0 .../gpu/hami/templates/scheduler/webhook.yaml | 0 .../gpu/hami/templates/webui/configmap.yaml | 0 .../gpu/hami/templates/webui/deployment.yaml | 0 .../templates/webui/hamiservicemonitor.yaml | 0 .../config/gpu/hami/templates/webui/role.yaml | 0 .../gpu/hami/templates/webui/rolebinding.yaml | 0 .../gpu/hami/templates/webui/service.yaml | 0 .../hami/templates/webui/serviceaccount.yaml | 0 .../hami/templates/webui/servicemonitor.yaml | 0 .../gpu/.olares}/config/gpu/hami/values.yaml | 0 {frameworks/GPU => framework/gpu}/README.md | 0 .../user/helm-charts/headscale}/.helmignore | 0 .../user/helm-charts/headscale/Chart.yaml | 0 .../headscale}/templates/NOTES.txt | 0 .../headscale/templates/_helpers.tpl | 0 .../headscale/templates/headscale_deploy.yaml | 0 .../user/helm-charts/headscale}/values.yaml | 0 .../headscale/README.md | 0 .../cluster/deploy/infisical_deploy.yaml | 0 .../user/helm-charts/infisical}/.helmignore | 0 .../user/helm-charts/infisical/Chart.yaml | 0 .../infisical}/templates/NOTES.txt | 0 .../infisical/templates/_helpers.tpl | 0 .../infisical/templates/infisical_deploy.yaml | 0 .../user/helm-charts/infisical}/values.yaml | 0 .../infisical/README.md | 0 .../cluster/deploy/knowledge_deployment.yaml | 0 {apps => framework}/knowledge/README.md | 0 .../kube-state-metrics/.olares/Olares.yaml | 7 + .../kube-state-metrics/README.md | 0 framework/l4-bfl-proxy/.olares/Olares.yaml | 7 + .../l4-bfl-proxy/README.md | 0 .../cluster/deploy/notification_deploy.yaml | 0 .../helm-charts/notification}/.helmignore | 0 .../user/helm-charts/notification/Chart.yaml | 0 .../notification}/templates/NOTES.txt | 0 .../notification/templates/_helpers.tpl | 0 .../templates/notification_deploy.yaml | 0 .../helm-charts/notification}/values.yaml | 0 {apps => framework}/notifications/README.md | 0 .../cluster/deploy/nodeinit_daemonset.yaml | 0 .../osnode-init/README.md | 0 framework/reverse-proxy/.olares/Olares.yaml | 9 ++ framework/reverse-proxy/README.md | 1 + .../config/cluster/deploy/rss_deploy.yaml | 0 framework/rsshub/README.md | 3 + .../config/cluster/deploy/seafile_deploy.yaml | 0 .../user/helm-charts/seafile}/.helmignore | 0 .../user/helm-charts/seafile/Chart.yaml | 0 .../helm-charts/seafile}/templates/NOTES.txt | 0 .../seafile/templates/_helpers.tpl | 0 .../seafile/templates/seafile_fe_deploy.yaml | 0 .../user/helm-charts/seafile}/values.yaml | 0 {third-party => framework}/seahub/README.md | 1 + .../cluster/deploy/search3_server_deploy.yaml | 0 .../NOTES.txt => framework/search3/README.md | 0 ...sys.bytetrade.io_aplicationpermission.yaml | 0 .../sys.bytetrade.io_providerregistry.yaml | 0 .../helm-charts/systemserver}/.helmignore | 0 .../user/helm-charts/systemserver/Chart.yaml | 0 .../systemserver}/templates/NOTES.txt | 0 .../systemserver/templates/_helpers.tpl | 0 .../templates/systemserver_deploy.yaml | 0 .../helm-charts/systemserver}/values.yaml | 0 .../system-server/README.md | 0 framework/tapr/.olares/Olares.yaml | 9 ++ .../crds/apr.bytetrade.io_kvrocksbackups.yaml | 0 .../apr.bytetrade.io_kvrocksrestores.yaml | 0 .../apr.bytetrade.io_middlewarerequests.yaml | 0 .../apr.bytetrade.io_pgclusterbackups.yaml | 0 .../apr.bytetrade.io_pgclusterrestores.yaml | 0 .../crds/apr.bytetrade.io_pgclusters.yaml | 0 .../crds/apr.bytetrade.io_redixclusters.yaml | 0 .../apr.bytetrade.io_syseventregistries.yaml | 0 .../crd.psmdb.percona.com_perconamongodb.yaml | 0 .../config/cluster/crds/ingressroute.yaml | 0 .../config/cluster/crds/ingressroutetcp.yaml | 0 .../config/cluster/crds/ingressrouteudp.yaml | 0 .../config/cluster/crds/middlewares.yaml | 0 .../config/cluster/crds/middlewarestcp.yaml | 0 .../redis.kun_distributedredisclusters.yaml | 0 .../crds/redis.kun_redisclusterbackups.yaml | 0 .../cluster/crds/serverstransports.yaml | 0 .../config/cluster/crds/tlsoptions.yaml | 0 .../config/cluster/crds/tlsstores.yaml | 0 .../config/cluster/crds/traefikservices.yaml | 0 .../cluster/deploy/citus_deployment.yaml | 0 .../cluster/deploy/fakes3_deployment.yaml | 0 .../config/cluster/deploy/ks-component.yaml | 0 .../cluster/deploy/lldap-deployment.yaml | 0 .../cluster/deploy/middleware_deploy.yaml | 0 .../cluster/deploy/nats_deployment.yaml | 0 .../cluster/deploy/redixcluster_deploy.yaml | 0 .../cluster/deploy/sys_event_deploy.yaml | 0 .../user/helm-charts/citus}/.helmignore | 0 .../config/user/helm-charts/citus/Chart.yaml | 0 .../helm-charts/citus}/templates/NOTES.txt | 0 .../helm-charts/citus/templates/_helpers.tpl | 0 .../citus/templates/citus_deployment.yaml | 0 .../user/helm-charts/citus}/values.yaml | 0 .../user/helm-charts/mongo}/.helmignore | 0 .../config/user/helm-charts/mongo/Chart.yaml | 0 .../helm-charts/mongo}/templates/NOTES.txt | 0 .../helm-charts/mongo/templates/_helpers.tpl | 0 .../mongo/templates/mongo_deployment.yaml | 0 .../user/helm-charts/mongo}/values.yaml | 0 .../config/user/helm-charts/nats}/.helmignore | 0 .../config/user/helm-charts/nats/Chart.yaml | 0 .../user/helm-charts/nats/templates/NOTES.txt | 0 .../helm-charts/nats/templates/_helpers.tpl | 0 .../nats/templates/deployment.yaml | 0 .../config/user/helm-charts/nats}/values.yaml | 0 .../user/helm-charts/redis}/.helmignore | 0 .../config/user/helm-charts/redis/Chart.yaml | 0 .../helm-charts/redis}/templates/NOTES.txt | 0 .../helm-charts/redis/templates/_helpers.tpl | 0 .../redis/templates/redis_deploy.yaml | 0 .../user/helm-charts/redis}/values.yaml | 0 .../config/user/helm-charts/tapr}/.helmignore | 0 .../config/user/helm-charts/tapr/Chart.yaml | 0 .../helm-charts/tapr}/templates/NOTES.txt | 0 .../helm-charts/tapr/templates/_helpers.tpl | 0 .../tapr/templates/tapr_deploy.yaml | 0 .../config/user/helm-charts/tapr}/values.yaml | 0 {frameworks => framework}/tapr/README.md | 0 framework/upgrade/.olares/Olares.yaml | 9 ++ framework/upgrade/README.md | 1 + infrastructure/apparmor/.olares/Olares.yaml | 10 ++ infrastructure/apparmor/README.md | 1 + infrastructure/calico/.olares/Olares.yaml | 18 +++ infrastructure/calico/README.md | 1 + infrastructure/cni/.olares/Olares.yaml | 9 ++ infrastructure/cni/README.md | 1 + infrastructure/conntrack/.olares/Olares.yaml | 9 ++ infrastructure/conntrack/README.md | 1 + infrastructure/containerd/.olares/Olares.yaml | 9 ++ infrastructure/containerd/README.md | 1 + infrastructure/coredns/.olares/Olares.yaml | 12 ++ infrastructure/coredns/README.md | 1 + infrastructure/cri-tools/.olares/Olares.yaml | 9 ++ infrastructure/cri-tools/README.md | 1 + infrastructure/cuda/.olares/Olares.yaml | 56 +++++++ infrastructure/cuda/README.md | 1 + infrastructure/etcd/.olares/Olares.yaml | 9 ++ infrastructure/etcd/README.md | 1 + infrastructure/helm/.olares/Olares.yaml | 9 ++ infrastructure/helm/README.md | 1 + infrastructure/k3s/.olares/Olares.yaml | 9 ++ infrastructure/k3s/README.md | 1 + infrastructure/kubernetes/.olares/Olares.yaml | 42 +++++ infrastructure/kubernetes/README.md | 1 + infrastructure/kubesphere/.olares/Olares.yaml | 12 ++ infrastructure/kubesphere/README.md | 1 + infrastructure/minikube/.olares/Olares.yaml | 12 ++ infrastructure/minikube/README.md | 1 + infrastructure/minio/.olares/Olares.yaml | 16 ++ infrastructure/minio/README.md | 1 + infrastructure/openebs/.olares/Olares.yaml | 9 ++ infrastructure/openebs/README.md | 1 + infrastructure/resttic/.olares/Olares.yaml | 15 ++ infrastructure/resttic/README.md | 1 + infrastructure/runc/.olares/Olares.yaml | 9 ++ infrastructure/runc/README.md | 1 + infrastructure/socat/.olares/Olares.yaml | 9 ++ infrastructure/socat/README.md | 1 + platform/argo-workflow/.olares/Olares.yaml | 16 ++ .../argoproj.io_clusterworkflowtemplates.yaml | 0 .../crds/argoproj.io_cronworkflows.yaml | 0 .../argoproj.io_workflowartifactgctasks.yaml | 0 .../argoproj.io_workfloweventbindings.yaml | 0 .../cluster/crds/argoproj.io_workflows.yaml | 0 .../crds/argoproj.io_workflowtaskresults.yaml | 0 .../crds/argoproj.io_workflowtasksets.yaml | 0 .../crds/argoproj.io_workflowtemplates.yaml | 0 .../config/cluster/deploy/argo-task.yaml | 0 .../cluster/deploy/server-cluster-roles.yaml | 0 .../config/cluster/deploy/server-crb.yaml | 0 .../cluster/deploy/server-deployment.yaml | 0 .../config/cluster/deploy/server-sa.yaml | 0 .../config/cluster/deploy/server-service.yaml | 0 .../deploy/workflow-aggregate-roles.yaml | 0 .../workflow-controller-cluster-roles.yaml | 0 .../workflow-controller-config-map.yaml | 0 .../deploy/workflow-controller-crb.yaml | 0 .../workflow-controller-deployment.yaml | 0 .../deploy/workflow-controller-sa.yaml | 0 .../deploy/workflow-controller-secrets.yaml | 0 .../config/cluster/deploy/workflow-rb.yaml | 0 .../config/cluster/deploy/workflow-role.yaml | 0 .../config/user/helm-charts/argo}/.helmignore | 0 .../config/user/helm-charts/argo/Chart.yaml | 0 .../helm-charts/argo}/templates/NOTES.txt | 0 .../helm-charts/argo/templates/_helpers.tpl | 0 .../argo/templates/argo_deployment.yaml | 0 .../config/user/helm-charts/argo/values.yaml | 0 platform/argo-workflow/README.md | 1 + platform/hami/.olares/Olares.yaml | 14 ++ platform/hami/README.md | 1 + platform/juicefs/.olares/Olares.yaml | 14 ++ {third-party => platform}/juicefs/README.md | 0 platform/mongodb/.olares/Olares.yaml | 9 ++ platform/mongodb/README.md | 1 + platform/nats/.olares/Olares.yaml | 6 + platform/nats/README.md | 1 + platform/open-telemetry/.olares/Olares.yaml | 14 ++ .../opentelemetry.io_instrumentations.yaml | 0 .../crds/opentelemetry.io_opampbridges.yaml | 0 ...ntelemetry.io_opentelemetrycollectors.yaml | 0 .../opentelemetry.io_targetallocators.yaml | 0 .../deploy/opentelemetry_operator.yaml | 0 .../open-telemetry}/README.md | 0 platform/postgresql/citus/.olares/Olares.yaml | 8 + platform/postgresql/citus/README.md | 3 + .../postgresql}/pg_vectors/Dockerfile | 0 .../postgresql}/pg_vectors/README.md | 0 platform/prometheus/.olares/Olares.yaml | 17 +++ platform/prometheus/README.md | 1 + .../redis}/predixy/README.md | 0 .../redis}/redis-cluster-operator/README.md | 0 platform/redis/redis/.olares/Olares.yaml | 21 +++ platform/redis/redis/README.md | 1 + platform/velero/.olares/Olares.yaml | 17 +++ platform/velero/README.md | 1 + scripts/deps-manifest.sh | 16 -- scripts/uninstall-gpu.sh | 26 ---- scripts/upgrade.sh | 49 ------ scripts/upload-deps.sh | 76 ---------- third-party/ks-console/README.md | 3 - third-party/ks-console/charts/Chart.yaml | 26 ---- .../ks-console/charts/templates/_helpers.tpl | 62 -------- .../charts/templates/ks-console.yaml | 143 ------------------ third-party/ks-console/charts/values.yaml | 1 - third-party/ks-console/ks-console-v3.3.0.tgz | Bin 2812 -> 0 bytes third-party/ks-installer/README.md | 3 - third-party/notification-manager/README.md | 3 - third-party/seafile-server/README.md | 3 - .../user/helm-charts/seafile/.helmignore | 23 --- third-party/tailscale/README.md | 3 - vendor/olares-one/.gitkeep | 0 vendor/olares-zero/.gitkeep | 0 451 files changed, 731 insertions(+), 987 deletions(-) rename apps/{files => .olares}/config/cluster/deploy/files_deploy.yaml (100%) rename apps/{system-apps => .olares}/config/cluster/deploy/ks_server_deploy.yaml (100%) rename apps/{vault => .olares}/config/cluster/deploy/vault_server_deploy.yaml (100%) rename apps/{argo/config/user/helm-charts/argo => .olares/config/user/helm-charts/desktop}/.helmignore (100%) rename apps/{desktop => .olares}/config/user/helm-charts/desktop/Chart.yaml (100%) rename apps/{argo/config/user/helm-charts/argo => .olares/config/user/helm-charts/desktop}/templates/NOTES.txt (100%) rename apps/{desktop => .olares}/config/user/helm-charts/desktop/templates/_helpers.tpl (100%) rename apps/{desktop => .olares}/config/user/helm-charts/desktop/templates/desktop_deploy.yaml (100%) rename apps/{desktop => .olares}/config/user/helm-charts/desktop/values.yaml (100%) rename apps/{desktop/config/user/helm-charts/desktop => .olares/config/user/helm-charts/files}/.helmignore (100%) rename apps/{files => .olares}/config/user/helm-charts/files/Chart.yaml (100%) rename apps/{desktop/config/user/helm-charts/desktop => .olares/config/user/helm-charts/files}/templates/NOTES.txt (100%) rename apps/{files => .olares}/config/user/helm-charts/files/templates/_helpers.tpl (100%) rename apps/{files => .olares}/config/user/helm-charts/files/templates/files_fe_deploy.yaml (100%) rename apps/{files => .olares}/config/user/helm-charts/files/values.yaml (100%) rename apps/{files/config/user/helm-charts/files => .olares/config/user/helm-charts/market}/.helmignore (100%) rename apps/{market => .olares}/config/user/helm-charts/market/Chart.yaml (100%) rename apps/{files/config/user/helm-charts/files => .olares/config/user/helm-charts/market}/templates/NOTES.txt (100%) rename apps/{market => .olares}/config/user/helm-charts/market/templates/_helpers.tpl (100%) rename apps/{market => .olares}/config/user/helm-charts/market/templates/market_deploy.yaml (100%) rename apps/{market => .olares}/config/user/helm-charts/market/values.yaml (100%) rename apps/{market/config/user/helm-charts/market => .olares/config/user/helm-charts/monitoring}/.helmignore (100%) rename apps/{system-apps => .olares}/config/user/helm-charts/monitoring/Chart.yaml (100%) rename apps/{market/config/user/helm-charts/market => .olares/config/user/helm-charts/monitoring}/templates/NOTES.txt (100%) rename apps/{system-apps => .olares}/config/user/helm-charts/monitoring/templates/_helpers.tpl (100%) rename apps/{system-apps => .olares}/config/user/helm-charts/monitoring/templates/system-frontend.yaml (100%) rename apps/{system-apps => .olares}/config/user/helm-charts/monitoring/values.yaml (100%) rename apps/{notifications/config/user/helm-charts/notification => .olares/config/user/helm-charts/studio}/.helmignore (100%) rename apps/{studio => .olares}/config/user/helm-charts/studio/Chart.yaml (100%) rename apps/{studio => .olares}/config/user/helm-charts/studio/devbox.png (100%) rename apps/{studio => .olares}/config/user/helm-charts/studio/templates/deployment.yaml (100%) rename apps/{studio => .olares}/config/user/helm-charts/studio/values.yaml (100%) rename apps/{studio/config/user/helm-charts/studio => .olares/config/user/helm-charts/vault}/.helmignore (100%) rename apps/{vault => .olares}/config/user/helm-charts/vault/Chart.yaml (100%) rename apps/{notifications/config/user/helm-charts/notification => .olares/config/user/helm-charts/vault}/templates/NOTES.txt (100%) rename apps/{vault => .olares}/config/user/helm-charts/vault/templates/_helpers.tpl (100%) rename apps/{vault => .olares}/config/user/helm-charts/vault/templates/vault_deploy.yaml (100%) rename apps/{notifications/config/user/helm-charts/notification => .olares/config/user/helm-charts/vault}/values.yaml (100%) rename apps/{system-apps/config/user/helm-charts/monitoring => .olares/config/user/helm-charts/wizard}/.helmignore (100%) rename apps/{wizard => .olares}/config/user/helm-charts/wizard/Chart.yaml (100%) rename apps/{system-apps/config/user/helm-charts/monitoring => .olares/config/user/helm-charts/wizard}/templates/NOTES.txt (100%) rename apps/{wizard => .olares}/config/user/helm-charts/wizard/templates/_helpers.tpl (100%) rename apps/{wizard => .olares}/config/user/helm-charts/wizard/templates/wizard_deploy.yaml (100%) rename apps/{wizard => .olares}/config/user/helm-charts/wizard/values.yaml (100%) rename apps/{search3 => }/README.md (100%) delete mode 100644 apps/argo/README.md delete mode 100644 apps/desktop/README.md delete mode 100644 apps/files/README.md delete mode 100644 apps/market-server/README.md delete mode 100644 apps/market/README.md delete mode 100644 apps/rss/README.md delete mode 100644 apps/search/README.md delete mode 100644 apps/studio/README.md delete mode 100644 apps/system-apps/README.md delete mode 100644 apps/vault/README.md delete mode 100644 apps/wizard/README.md rename build/{installer => base-package}/.env (100%) rename build/{installer => base-package}/Makefile (100%) rename build/{installer => base-package}/deploy/containerd.service (100%) rename build/{installer => base-package}/deploy/patch-globalrole-workspace-manager.yaml (100%) rename build/{installer => base-package}/deploy/patch-k3s.yaml (100%) rename build/{installer => base-package}/install.ps1 (100%) rename build/{installer => base-package}/install.sh (100%) rename build/{installer => base-package}/joincluster.sh (100%) rename build/{installer => base-package}/publicAddnode.sh (100%) rename build/{installer => base-package}/publicRestoreInstaller.sh (100%) rename build/{installer => base-package}/refresh_sts.sh (100%) rename build/{installer => base-package}/upgrade_cmd.sh (100%) rename build/{installer => base-package}/version.hint (100%) rename {apps/vault/config/user/helm-charts/vault => build/base-package/wizard/config/account}/.helmignore (100%) rename build/{installer => base-package}/wizard/config/account/Chart.yaml (100%) rename build/{installer => base-package}/wizard/config/account/NOTES.txt (100%) rename build/{installer => base-package}/wizard/config/account/templates/_helpers.tpl (100%) rename build/{installer => base-package}/wizard/config/account/templates/account.yaml (100%) rename build/{installer => base-package}/wizard/config/account/templates/sync.yaml (100%) rename build/{installer => base-package}/wizard/config/account/templates/sys.bytetrade.io_terminus.yaml (100%) rename build/{installer => base-package}/wizard/config/account/values.yaml (100%) rename {apps/wizard/config/user/helm-charts/wizard => build/base-package/wizard/config/settings}/.helmignore (100%) rename build/{installer => base-package}/wizard/config/settings/Chart.yaml (100%) rename build/{installer => base-package}/wizard/config/settings/NOTES.txt (100%) rename build/{installer => base-package}/wizard/config/settings/templates/_helpers.tpl (100%) rename build/{installer => base-package}/wizard/config/settings/templates/globalrole-binding.yaml (100%) rename build/{installer => base-package}/wizard/config/settings/templates/system-serviceaccount.yaml (100%) rename build/{installer => base-package}/wizard/config/settings/templates/system_namespace.yaml (100%) rename build/{installer => base-package}/wizard/config/settings/templates/terminus_cr.yaml (100%) rename build/{installer => base-package}/wizard/config/settings/templates/user-namespace.yaml (100%) rename build/{installer => base-package}/wizard/config/settings/templates/user-namespacerole-binding.yaml (100%) rename build/{installer => base-package}/wizard/config/settings/templates/user-system-ns.yaml (100%) rename build/{installer => base-package}/wizard/config/settings/templates/user-systemrole-binding.yaml (100%) rename build/{installer => base-package}/wizard/config/settings/values.yaml (100%) rename build/{installer/wizard/config/account => base-package/wizard/config/system}/.helmignore (100%) rename build/{installer => base-package}/wizard/config/system/Chart.yaml (100%) rename {apps/vault/config/user/helm-charts/vault => build/base-package/wizard/config/system}/templates/NOTES.txt (100%) rename build/{installer => base-package}/wizard/config/system/templates/_helpers.tpl (100%) rename build/{installer => base-package}/wizard/config/system/values.yaml (100%) rename {scripts => build}/build-full.sh (100%) rename {scripts => build}/build-manifest.sh (51%) rename {scripts => build}/build-redis.sh (100%) rename {scripts => build}/build-ubuntu2204.sh (100%) rename {scripts => build}/build-wsl-install-msi.sh (100%) rename {scripts => build}/build.sh (92%) create mode 100644 build/deps-manifest.sh rename {scripts => build}/download-deps.sh (100%) rename {scripts => build}/image-manifest.sh (72%) delete mode 100644 build/installer/deploy/device-plugin.yaml delete mode 100644 build/installer/deploy/nvidia-device-plugin.yml delete mode 100644 build/installer/deploy/orion-config.toml.tmpl delete mode 100644 build/installer/deploy/patch-notification-manager.yaml delete mode 100644 build/installer/wizard/bin/COLORS delete mode 100644 build/installer/wizard/bin/init-config.yaml delete mode 100644 build/manifest/components delete mode 100644 build/manifest/images delete mode 100644 build/manifest/images.node.mf delete mode 100644 build/manifest/pkgs rename {scripts => build}/package.sh (72%) rename {scripts => build}/release.py (100%) rename {scripts => build}/save-deps.sh (100%) rename {scripts => build}/save-images.sh (100%) create mode 100644 build/upload-deps.sh rename {scripts => build}/upload-images.sh (100%) rename {scripts => build}/yaml2prop.sh (100%) create mode 100644 daemon/.olares/Olares.yaml create mode 100644 daemon/README.md create mode 100644 docs/README.md rename {apps/analytic => framework/analytic/.olares}/config/cluster/deploy/analytic_deploy.yaml (100%) rename {apps => framework}/analytic/README.md (100%) rename {frameworks/app-service => framework/app-service/.olares}/config/cluster/crds/app.bytetrade.io_applicationmanagers.yaml (100%) rename {frameworks/app-service => framework/app-service/.olares}/config/cluster/crds/app.bytetrade.io_applications.yaml (100%) rename {frameworks/app-service => framework/app-service/.olares}/config/cluster/crds/app.bytetrade.io_imagemanagers.yaml (100%) rename {frameworks/app-service => framework/app-service/.olares}/config/cluster/deploy/appservice_deploy.yaml (100%) rename {frameworks => framework}/app-service/README.md (100%) rename {third-party/authelia => framework/authelia/.olares}/config/cluster/deploy/auth_backend_deploy.yaml (100%) rename {build/installer/wizard/config/settings => framework/authelia/.olares/config/user/helm-charts/auth}/.helmignore (100%) rename {third-party/authelia => framework/authelia/.olares}/config/user/helm-charts/auth/Chart.yaml (100%) rename {apps/wizard/config/user/helm-charts/wizard => framework/authelia/.olares/config/user/helm-charts/auth}/templates/NOTES.txt (100%) rename {third-party/authelia => framework/authelia/.olares}/config/user/helm-charts/auth/templates/_helpers.tpl (100%) rename {third-party/authelia => framework/authelia/.olares}/config/user/helm-charts/auth/templates/auth_deploy.yaml (100%) rename {apps/vault/config/user/helm-charts/vault => framework/authelia/.olares/config/user/helm-charts/auth}/values.yaml (100%) rename {third-party => framework}/authelia/README.md (100%) rename {frameworks/backup-server => framework/backup-server/.olares}/config/cluster/crds/sys.bytetrade.io_backups.yaml (100%) rename {frameworks/backup-server => framework/backup-server/.olares}/config/cluster/crds/sys.bytetrade.io_restores.yaml (100%) rename {frameworks/backup-server => framework/backup-server/.olares}/config/cluster/crds/sys.bytetrade.io_snapshots.yaml (100%) rename {frameworks/backup-server => framework/backup-server/.olares}/config/cluster/deploy/backup_server.yaml (100%) rename {frameworks => framework}/backup-server/README.md (100%) rename {build/installer/wizard/config/system => framework/bfl/.olares/config/launcher}/.helmignore (100%) rename {frameworks/bfl => framework/bfl/.olares}/config/launcher/Chart.yaml (100%) rename {build/installer/wizard/config/system => framework/bfl/.olares/config/launcher}/templates/NOTES.txt (100%) rename {frameworks/bfl => framework/bfl/.olares}/config/launcher/templates/_helpers.tpl (100%) rename {frameworks/bfl => framework/bfl/.olares}/config/launcher/templates/bfl_deploy.yaml (100%) rename {frameworks/bfl => framework/bfl/.olares}/config/launcher/templates/otel_define.yaml (100%) rename {frameworks/bfl => framework/bfl/.olares}/config/launcher/values.yaml (100%) rename {frameworks => framework}/bfl/README.md (100%) create mode 100644 framework/docker-nginx-headers-more/.olares/Olares.yaml create mode 100644 framework/docker-nginx-headers-more/README.md rename {libs/fs-lib => framework/fs-lib/.olares}/config/cluster/crds/sys.bytetrade.io_fswatcher.yaml (100%) rename {libs/fs-lib => framework/fs-lib/.olares}/config/cluster/deploy/fsnotify_daemon.yaml (100%) rename {libs/fs-lib => framework/fs-lib/.olares}/config/cluster/deploy/fsnotify_deploy.yaml (100%) rename {frameworks/bfl/config/launcher => framework/fs-lib/.olares/config/user/helm-charts/fsnotify}/.helmignore (100%) rename {libs/fs-lib => framework/fs-lib/.olares}/config/user/helm-charts/fsnotify/Chart.yaml (100%) rename {frameworks/bfl/config/launcher => framework/fs-lib/.olares/config/user/helm-charts/fsnotify}/templates/NOTES.txt (100%) rename {libs/fs-lib => framework/fs-lib/.olares}/config/user/helm-charts/fsnotify/templates/_helpers.tpl (100%) rename {libs/fs-lib => framework/fs-lib/.olares}/config/user/helm-charts/fsnotify/templates/fsnotify_deploy.yaml (100%) rename {frameworks/system-server/config/user/helm-charts/systemserver => framework/fs-lib/.olares/config/user/helm-charts/fsnotify}/values.yaml (100%) rename {libs => framework}/fs-lib/README.md (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/Chart.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/NOTES.txt (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/_helpers.tpl (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/dcgm-exporter/daemonset.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/dcgm-exporter/metrics-configmap.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/dcgm-exporter/role.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/dcgm-exporter/rolebinding.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/dcgm-exporter/service-monitor.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/dcgm-exporter/service.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/dcgm-exporter/serviceaccount.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/dcgm-exporter/tls-secret.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/dcgm-exporter/web-config-configmap.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/device-plugin/configmap.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/device-plugin/daemonsetnvidia.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/device-plugin/monitorrole.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/device-plugin/monitorrolebinding.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/device-plugin/monitorservice.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/device-plugin/monitorserviceaccount.yaml (100%) rename {build/installer/deploy => framework/gpu/.olares/config/gpu/hami/templates/nvshare}/nvshare-system-quotas.yaml (100%) rename {build/installer/deploy => framework/gpu/.olares/config/gpu/hami/templates/nvshare}/nvshare-system.yaml (100%) rename {build/installer/deploy => framework/gpu/.olares/config/gpu/hami/templates/nvshare}/scheduler.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/scheduler/configmap.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/scheduler/configmapnew.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/scheduler/deployment.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/scheduler/device-configmap.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/scheduler/job-patch/clusterrole.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/scheduler/job-patch/clusterrolebinding.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/scheduler/job-patch/job-createSecret.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/scheduler/job-patch/job-patchWebhook.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/scheduler/job-patch/psp.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/scheduler/job-patch/role.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/scheduler/job-patch/rolebinding.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/scheduler/job-patch/serviceaccount.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/scheduler/rolebinding.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/scheduler/service.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/scheduler/serviceaccount.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/scheduler/webhook.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/webui/configmap.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/webui/deployment.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/webui/hamiservicemonitor.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/webui/role.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/webui/rolebinding.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/webui/service.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/webui/serviceaccount.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/templates/webui/servicemonitor.yaml (100%) rename {frameworks/GPU => framework/gpu/.olares}/config/gpu/hami/values.yaml (100%) rename {frameworks/GPU => framework/gpu}/README.md (100%) rename {frameworks/system-server/config/user/helm-charts/systemserver => framework/headscale/.olares/config/user/helm-charts/headscale}/.helmignore (100%) rename {third-party/headscale => framework/headscale/.olares}/config/user/helm-charts/headscale/Chart.yaml (100%) rename {frameworks/system-server/config/user/helm-charts/systemserver => framework/headscale/.olares/config/user/helm-charts/headscale}/templates/NOTES.txt (100%) rename {third-party/headscale => framework/headscale/.olares}/config/user/helm-charts/headscale/templates/_helpers.tpl (100%) rename {third-party/headscale => framework/headscale/.olares}/config/user/helm-charts/headscale/templates/headscale_deploy.yaml (100%) rename {frameworks/tapr/config/user/helm-charts/citus => framework/headscale/.olares/config/user/helm-charts/headscale}/values.yaml (100%) rename {third-party => framework}/headscale/README.md (100%) rename {third-party/infisical => framework/infisical/.olares}/config/cluster/deploy/infisical_deploy.yaml (100%) rename {frameworks/tapr/config/user/helm-charts/citus => framework/infisical/.olares/config/user/helm-charts/infisical}/.helmignore (100%) rename {third-party/infisical => framework/infisical/.olares}/config/user/helm-charts/infisical/Chart.yaml (100%) rename {frameworks/tapr/config/user/helm-charts/citus => framework/infisical/.olares/config/user/helm-charts/infisical}/templates/NOTES.txt (100%) rename {third-party/infisical => framework/infisical/.olares}/config/user/helm-charts/infisical/templates/_helpers.tpl (100%) rename {third-party/infisical => framework/infisical/.olares}/config/user/helm-charts/infisical/templates/infisical_deploy.yaml (100%) rename {frameworks/tapr/config/user/helm-charts/mongo => framework/infisical/.olares/config/user/helm-charts/infisical}/values.yaml (100%) rename {third-party => framework}/infisical/README.md (100%) rename {apps/knowledge => framework/knowledge/.olares}/config/cluster/deploy/knowledge_deployment.yaml (100%) rename {apps => framework}/knowledge/README.md (100%) create mode 100644 framework/kube-state-metrics/.olares/Olares.yaml rename {third-party => framework}/kube-state-metrics/README.md (100%) create mode 100644 framework/l4-bfl-proxy/.olares/Olares.yaml rename {frameworks => framework}/l4-bfl-proxy/README.md (100%) rename {apps/notifications => framework/notifications/.olares}/config/cluster/deploy/notification_deploy.yaml (100%) rename {frameworks/tapr/config/user/helm-charts/mongo => framework/notifications/.olares/config/user/helm-charts/notification}/.helmignore (100%) rename {apps/notifications => framework/notifications/.olares}/config/user/helm-charts/notification/Chart.yaml (100%) rename {frameworks/tapr/config/user/helm-charts/mongo => framework/notifications/.olares/config/user/helm-charts/notification}/templates/NOTES.txt (100%) rename {apps/notifications => framework/notifications/.olares}/config/user/helm-charts/notification/templates/_helpers.tpl (100%) rename {apps/notifications => framework/notifications/.olares}/config/user/helm-charts/notification/templates/notification_deploy.yaml (100%) rename {frameworks/tapr/config/user/helm-charts/redis => framework/notifications/.olares/config/user/helm-charts/notification}/values.yaml (100%) rename {apps => framework}/notifications/README.md (100%) rename {frameworks/osnode-init => framework/osnode-init/.olares}/config/cluster/deploy/nodeinit_daemonset.yaml (100%) rename {frameworks => framework}/osnode-init/README.md (100%) create mode 100644 framework/reverse-proxy/.olares/Olares.yaml create mode 100644 framework/reverse-proxy/README.md rename {apps/rss => framework/rsshub/.olares}/config/cluster/deploy/rss_deploy.yaml (100%) create mode 100644 framework/rsshub/README.md rename {third-party/seahub => framework/seahub/.olares}/config/cluster/deploy/seafile_deploy.yaml (100%) rename {frameworks/tapr/config/user/helm-charts/nats => framework/seahub/.olares/config/user/helm-charts/seafile}/.helmignore (100%) rename {third-party/seahub => framework/seahub/.olares}/config/user/helm-charts/seafile/Chart.yaml (100%) rename {frameworks/tapr/config/user/helm-charts/redis => framework/seahub/.olares/config/user/helm-charts/seafile}/templates/NOTES.txt (100%) rename {third-party/seahub => framework/seahub/.olares}/config/user/helm-charts/seafile/templates/_helpers.tpl (100%) rename {third-party/seahub => framework/seahub/.olares}/config/user/helm-charts/seafile/templates/seafile_fe_deploy.yaml (100%) rename {frameworks/tapr/config/user/helm-charts/nats => framework/seahub/.olares/config/user/helm-charts/seafile}/values.yaml (100%) rename {third-party => framework}/seahub/README.md (50%) rename {apps/search3 => framework/search3/.olares}/config/cluster/deploy/search3_server_deploy.yaml (100%) rename frameworks/tapr/config/user/helm-charts/tapr/templates/NOTES.txt => framework/search3/README.md (100%) rename {frameworks/system-server => framework/system-server/.olares}/config/cluster/crds/sys.bytetrade.io_aplicationpermission.yaml (100%) rename {frameworks/system-server => framework/system-server/.olares}/config/cluster/crds/sys.bytetrade.io_providerregistry.yaml (100%) rename {frameworks/tapr/config/user/helm-charts/redis => framework/system-server/.olares/config/user/helm-charts/systemserver}/.helmignore (100%) rename {frameworks/system-server => framework/system-server/.olares}/config/user/helm-charts/systemserver/Chart.yaml (100%) rename {libs/fs-lib/config/user/helm-charts/fsnotify => framework/system-server/.olares/config/user/helm-charts/systemserver}/templates/NOTES.txt (100%) rename {frameworks/system-server => framework/system-server/.olares}/config/user/helm-charts/systemserver/templates/_helpers.tpl (100%) rename {frameworks/system-server => framework/system-server/.olares}/config/user/helm-charts/systemserver/templates/systemserver_deploy.yaml (100%) rename {frameworks/tapr/config/user/helm-charts/tapr => framework/system-server/.olares/config/user/helm-charts/systemserver}/values.yaml (100%) rename {frameworks => framework}/system-server/README.md (100%) create mode 100644 framework/tapr/.olares/Olares.yaml rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/crds/apr.bytetrade.io_kvrocksbackups.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/crds/apr.bytetrade.io_kvrocksrestores.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/crds/apr.bytetrade.io_middlewarerequests.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/crds/apr.bytetrade.io_pgclusterbackups.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/crds/apr.bytetrade.io_pgclusterrestores.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/crds/apr.bytetrade.io_pgclusters.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/crds/apr.bytetrade.io_redixclusters.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/crds/apr.bytetrade.io_syseventregistries.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/crds/crd.psmdb.percona.com_perconamongodb.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/crds/ingressroute.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/crds/ingressroutetcp.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/crds/ingressrouteudp.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/crds/middlewares.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/crds/middlewarestcp.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/crds/redis.kun_distributedredisclusters.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/crds/redis.kun_redisclusterbackups.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/crds/serverstransports.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/crds/tlsoptions.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/crds/tlsstores.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/crds/traefikservices.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/deploy/citus_deployment.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/deploy/fakes3_deployment.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/deploy/ks-component.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/deploy/lldap-deployment.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/deploy/middleware_deploy.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/deploy/nats_deployment.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/deploy/redixcluster_deploy.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/cluster/deploy/sys_event_deploy.yaml (100%) rename {frameworks/tapr/config/user/helm-charts/tapr => framework/tapr/.olares/config/user/helm-charts/citus}/.helmignore (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/user/helm-charts/citus/Chart.yaml (100%) rename {third-party/authelia/config/user/helm-charts/auth => framework/tapr/.olares/config/user/helm-charts/citus}/templates/NOTES.txt (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/user/helm-charts/citus/templates/_helpers.tpl (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/user/helm-charts/citus/templates/citus_deployment.yaml (100%) rename {libs/fs-lib/config/user/helm-charts/fsnotify => framework/tapr/.olares/config/user/helm-charts/citus}/values.yaml (100%) rename {libs/fs-lib/config/user/helm-charts/fsnotify => framework/tapr/.olares/config/user/helm-charts/mongo}/.helmignore (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/user/helm-charts/mongo/Chart.yaml (100%) rename {third-party/headscale/config/user/helm-charts/headscale => framework/tapr/.olares/config/user/helm-charts/mongo}/templates/NOTES.txt (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/user/helm-charts/mongo/templates/_helpers.tpl (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/user/helm-charts/mongo/templates/mongo_deployment.yaml (100%) rename {third-party/authelia/config/user/helm-charts/auth => framework/tapr/.olares/config/user/helm-charts/mongo}/values.yaml (100%) rename {third-party/authelia/config/user/helm-charts/auth => framework/tapr/.olares/config/user/helm-charts/nats}/.helmignore (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/user/helm-charts/nats/Chart.yaml (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/user/helm-charts/nats/templates/NOTES.txt (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/user/helm-charts/nats/templates/_helpers.tpl (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/user/helm-charts/nats/templates/deployment.yaml (100%) rename {third-party/seahub/config/user/helm-charts/seafile => framework/tapr/.olares/config/user/helm-charts/nats}/values.yaml (100%) rename {third-party/headscale/config/user/helm-charts/headscale => framework/tapr/.olares/config/user/helm-charts/redis}/.helmignore (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/user/helm-charts/redis/Chart.yaml (100%) rename {third-party/infisical/config/user/helm-charts/infisical => framework/tapr/.olares/config/user/helm-charts/redis}/templates/NOTES.txt (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/user/helm-charts/redis/templates/_helpers.tpl (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/user/helm-charts/redis/templates/redis_deploy.yaml (100%) rename {third-party/headscale/config/user/helm-charts/headscale => framework/tapr/.olares/config/user/helm-charts/redis}/values.yaml (100%) rename {third-party/infisical/config/user/helm-charts/infisical => framework/tapr/.olares/config/user/helm-charts/tapr}/.helmignore (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/user/helm-charts/tapr/Chart.yaml (100%) rename {third-party/ks-console/charts => framework/tapr/.olares/config/user/helm-charts/tapr}/templates/NOTES.txt (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/user/helm-charts/tapr/templates/_helpers.tpl (100%) rename {frameworks/tapr => framework/tapr/.olares}/config/user/helm-charts/tapr/templates/tapr_deploy.yaml (100%) rename {third-party/infisical/config/user/helm-charts/infisical => framework/tapr/.olares/config/user/helm-charts/tapr}/values.yaml (100%) rename {frameworks => framework}/tapr/README.md (100%) create mode 100644 framework/upgrade/.olares/Olares.yaml create mode 100644 framework/upgrade/README.md create mode 100644 infrastructure/apparmor/.olares/Olares.yaml create mode 100644 infrastructure/apparmor/README.md create mode 100644 infrastructure/calico/.olares/Olares.yaml create mode 100644 infrastructure/calico/README.md create mode 100644 infrastructure/cni/.olares/Olares.yaml create mode 100644 infrastructure/cni/README.md create mode 100644 infrastructure/conntrack/.olares/Olares.yaml create mode 100644 infrastructure/conntrack/README.md create mode 100644 infrastructure/containerd/.olares/Olares.yaml create mode 100644 infrastructure/containerd/README.md create mode 100644 infrastructure/coredns/.olares/Olares.yaml create mode 100644 infrastructure/coredns/README.md create mode 100644 infrastructure/cri-tools/.olares/Olares.yaml create mode 100644 infrastructure/cri-tools/README.md create mode 100644 infrastructure/cuda/.olares/Olares.yaml create mode 100644 infrastructure/cuda/README.md create mode 100644 infrastructure/etcd/.olares/Olares.yaml create mode 100644 infrastructure/etcd/README.md create mode 100644 infrastructure/helm/.olares/Olares.yaml create mode 100644 infrastructure/helm/README.md create mode 100644 infrastructure/k3s/.olares/Olares.yaml create mode 100644 infrastructure/k3s/README.md create mode 100644 infrastructure/kubernetes/.olares/Olares.yaml create mode 100644 infrastructure/kubernetes/README.md create mode 100644 infrastructure/kubesphere/.olares/Olares.yaml create mode 100644 infrastructure/kubesphere/README.md create mode 100644 infrastructure/minikube/.olares/Olares.yaml create mode 100644 infrastructure/minikube/README.md create mode 100644 infrastructure/minio/.olares/Olares.yaml create mode 100644 infrastructure/minio/README.md create mode 100644 infrastructure/openebs/.olares/Olares.yaml create mode 100644 infrastructure/openebs/README.md create mode 100644 infrastructure/resttic/.olares/Olares.yaml create mode 100644 infrastructure/resttic/README.md create mode 100644 infrastructure/runc/.olares/Olares.yaml create mode 100644 infrastructure/runc/README.md create mode 100644 infrastructure/socat/.olares/Olares.yaml create mode 100644 infrastructure/socat/README.md create mode 100644 platform/argo-workflow/.olares/Olares.yaml rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/crds/argoproj.io_clusterworkflowtemplates.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/crds/argoproj.io_cronworkflows.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/crds/argoproj.io_workflowartifactgctasks.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/crds/argoproj.io_workfloweventbindings.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/crds/argoproj.io_workflows.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/crds/argoproj.io_workflowtaskresults.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/crds/argoproj.io_workflowtasksets.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/crds/argoproj.io_workflowtemplates.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/deploy/argo-task.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/deploy/server-cluster-roles.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/deploy/server-crb.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/deploy/server-deployment.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/deploy/server-sa.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/deploy/server-service.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/deploy/workflow-aggregate-roles.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/deploy/workflow-controller-cluster-roles.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/deploy/workflow-controller-config-map.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/deploy/workflow-controller-crb.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/deploy/workflow-controller-deployment.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/deploy/workflow-controller-sa.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/deploy/workflow-controller-secrets.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/deploy/workflow-rb.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/cluster/deploy/workflow-role.yaml (100%) rename {third-party/ks-console/charts => platform/argo-workflow/.olares/config/user/helm-charts/argo}/.helmignore (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/user/helm-charts/argo/Chart.yaml (100%) rename {third-party/seahub/config/user/helm-charts/seafile => platform/argo-workflow/.olares/config/user/helm-charts/argo}/templates/NOTES.txt (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/user/helm-charts/argo/templates/_helpers.tpl (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/user/helm-charts/argo/templates/argo_deployment.yaml (100%) rename {apps/argo => platform/argo-workflow/.olares}/config/user/helm-charts/argo/values.yaml (100%) create mode 100644 platform/argo-workflow/README.md create mode 100644 platform/hami/.olares/Olares.yaml create mode 100644 platform/hami/README.md create mode 100644 platform/juicefs/.olares/Olares.yaml rename {third-party => platform}/juicefs/README.md (100%) create mode 100644 platform/mongodb/.olares/Olares.yaml create mode 100644 platform/mongodb/README.md create mode 100644 platform/nats/.olares/Olares.yaml create mode 100644 platform/nats/README.md create mode 100644 platform/open-telemetry/.olares/Olares.yaml rename {third-party/opentelemetry => platform/open-telemetry/.olares}/config/cluster/crds/opentelemetry.io_instrumentations.yaml (100%) rename {third-party/opentelemetry => platform/open-telemetry/.olares}/config/cluster/crds/opentelemetry.io_opampbridges.yaml (100%) rename {third-party/opentelemetry => platform/open-telemetry/.olares}/config/cluster/crds/opentelemetry.io_opentelemetrycollectors.yaml (100%) rename {third-party/opentelemetry => platform/open-telemetry/.olares}/config/cluster/crds/opentelemetry.io_targetallocators.yaml (100%) rename {third-party/opentelemetry => platform/open-telemetry/.olares}/config/cluster/deploy/opentelemetry_operator.yaml (100%) rename {third-party/opentelemetry => platform/open-telemetry}/README.md (100%) create mode 100644 platform/postgresql/citus/.olares/Olares.yaml create mode 100644 platform/postgresql/citus/README.md rename {third-party => platform/postgresql}/pg_vectors/Dockerfile (100%) rename {third-party => platform/postgresql}/pg_vectors/README.md (100%) create mode 100644 platform/prometheus/.olares/Olares.yaml create mode 100644 platform/prometheus/README.md rename {third-party => platform/redis}/predixy/README.md (100%) rename {third-party => platform/redis}/redis-cluster-operator/README.md (100%) create mode 100644 platform/redis/redis/.olares/Olares.yaml create mode 100644 platform/redis/redis/README.md create mode 100644 platform/velero/.olares/Olares.yaml create mode 100644 platform/velero/README.md delete mode 100644 scripts/deps-manifest.sh delete mode 100644 scripts/uninstall-gpu.sh delete mode 100644 scripts/upgrade.sh delete mode 100644 scripts/upload-deps.sh delete mode 100644 third-party/ks-console/README.md delete mode 100644 third-party/ks-console/charts/Chart.yaml delete mode 100644 third-party/ks-console/charts/templates/_helpers.tpl delete mode 100644 third-party/ks-console/charts/templates/ks-console.yaml delete mode 100644 third-party/ks-console/charts/values.yaml delete mode 100644 third-party/ks-console/ks-console-v3.3.0.tgz delete mode 100644 third-party/ks-installer/README.md delete mode 100644 third-party/notification-manager/README.md delete mode 100644 third-party/seafile-server/README.md delete mode 100644 third-party/seahub/config/user/helm-charts/seafile/.helmignore delete mode 100644 third-party/tailscale/README.md create mode 100644 vendor/olares-one/.gitkeep create mode 100644 vendor/olares-zero/.gitkeep diff --git a/.github/workflows/build-redis-231.yaml b/.github/workflows/build-redis-231.yaml index 3e6d5ca0c..e1f056282 100644 --- a/.github/workflows/build-redis-231.yaml +++ b/.github/workflows/build-redis-231.yaml @@ -17,4 +17,4 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: "us-east-1" run: | - bash scripts/build-redis.sh linux/amd64 glibc-231 + bash build/build-redis.sh linux/amd64 glibc-231 diff --git a/.github/workflows/build-redis.yaml b/.github/workflows/build-redis.yaml index 652e94234..d10142f59 100644 --- a/.github/workflows/build-redis.yaml +++ b/.github/workflows/build-redis.yaml @@ -17,7 +17,7 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: "us-east-1" run: | - bash scripts/build-redis.sh linux/amd64 + bash build/build-redis.sh linux/amd64 push-arm64: runs-on: [self-hosted, linux, ARM64] @@ -40,4 +40,4 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: "us-east-1" run: | - sudo -E sh -c "bash scripts/build-redis.sh linux/arm64 && rm -rf redis*" + sudo -E sh -c "bash build/build-redis.sh linux/arm64 && rm -rf redis*" diff --git a/.github/workflows/build-ubuntu2204.yaml b/.github/workflows/build-ubuntu2204.yaml index e7235a70e..96b1d7c50 100644 --- a/.github/workflows/build-ubuntu2204.yaml +++ b/.github/workflows/build-ubuntu2204.yaml @@ -17,4 +17,4 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: "us-east-1" run: | - bash scripts/build-ubuntu2204.sh \ No newline at end of file + bash build/build-ubuntu2204.sh \ No newline at end of file diff --git a/.github/workflows/build-wsl2326.yaml b/.github/workflows/build-wsl2326.yaml index 89f8250d7..492163177 100644 --- a/.github/workflows/build-wsl2326.yaml +++ b/.github/workflows/build-wsl2326.yaml @@ -17,4 +17,4 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: "us-east-1" run: | - bash scripts/build-wsl-install-msi.sh + bash build/build-wsl-install-msi.sh diff --git a/.github/workflows/check.yaml b/.github/workflows/check.yaml index 7c286480e..21ce65ca4 100644 --- a/.github/workflows/check.yaml +++ b/.github/workflows/check.yaml @@ -35,7 +35,7 @@ jobs: - name: Pre package run: | - bash scripts/package.sh + bash build/package.sh - name: Run chart-testing (lint) run: ct lint --chart-dirs build/installer/wizard/config,build/installer/wizard/config/apps,build/installer/wizard/config/gpu --check-version-increment=false --all @@ -65,7 +65,7 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: "us-east-1" run: | - bash scripts/image-manifest.sh && bash scripts/upload-images.sh .manifest/images.mf + bash build/image-manifest.sh && bash build/upload-images.sh .manifest/images.mf push-image-arm64: runs-on: [self-hosted, linux, ARM64] @@ -85,7 +85,7 @@ jobs: AWS_DEFAULT_REGION: 'us-east-1' run: | export PATH=$PATH:/usr/local/bin:/home/ubuntu/.local/bin - bash scripts/image-manifest.sh && bash scripts/upload-images.sh .manifest/images.mf linux/arm64 + bash build/image-manifest.sh && bash build/upload-images.sh .manifest/images.mf linux/arm64 push-deps: @@ -105,7 +105,7 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: "us-east-1" run: | - bash scripts/deps-manifest.sh && bash scripts/upload-deps.sh + bash build/deps-manifest.sh && bash build/upload-deps.sh push-deps-arm64: runs-on: [self-hosted, linux, ARM64] @@ -128,7 +128,7 @@ jobs: AWS_DEFAULT_REGION: "us-east-1" run: | export PATH=$PATH:/usr/local/bin:/home/ubuntu/.local/bin - bash scripts/deps-manifest.sh linux/arm64 && bash scripts/upload-deps.sh linux/arm64 + bash build/deps-manifest.sh linux/arm64 && bash build/upload-deps.sh linux/arm64 @@ -151,7 +151,7 @@ jobs: - name: Package installer run: | - bash scripts/build.sh ${{ steps.vars.outputs.tag_version }} + bash build/build.sh ${{ steps.vars.outputs.tag_version }} - name: Upload package env: diff --git a/.github/workflows/daily-lint-check.yaml b/.github/workflows/daily-lint-check.yaml index bc600a1f5..32128cd5a 100644 --- a/.github/workflows/daily-lint-check.yaml +++ b/.github/workflows/daily-lint-check.yaml @@ -29,7 +29,7 @@ jobs: - name: Pre package run: | - bash scripts/package.sh + bash build/package.sh - name: Run chart-testing (lint) run: | diff --git a/.github/workflows/push-deps-to-s3.yml b/.github/workflows/push-deps-to-s3.yml index 86b8ff40e..1310408e4 100644 --- a/.github/workflows/push-deps-to-s3.yml +++ b/.github/workflows/push-deps-to-s3.yml @@ -33,7 +33,7 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: "us-east-1" run: | - bash scripts/deps-manifest.sh && bash scripts/upload-deps.sh + bash build/deps-manifest.sh && bash build/upload-deps.sh push-arm64: runs-on: [self-hosted, linux, ARM64] @@ -66,4 +66,4 @@ jobs: AWS_DEFAULT_REGION: "us-east-1" run: | export PATH=$PATH:/usr/local/bin:/home/ubuntu/.local/bin - bash scripts/deps-manifest.sh linux/arm64 && bash scripts/upload-deps.sh linux/arm64 + bash build/deps-manifest.sh linux/arm64 && bash build/upload-deps.sh linux/arm64 diff --git a/.github/workflows/push-to-s3.yaml b/.github/workflows/push-to-s3.yaml index c1b8e9ea4..b994e7b20 100644 --- a/.github/workflows/push-to-s3.yaml +++ b/.github/workflows/push-to-s3.yaml @@ -33,7 +33,7 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: "us-east-1" run: | - bash scripts/image-manifest.sh && bash scripts/upload-images.sh .manifest/images.mf + bash build/image-manifest.sh && bash build/upload-images.sh .manifest/images.mf push-arm64: runs-on: [self-hosted, linux, ARM64] @@ -65,4 +65,4 @@ jobs: AWS_DEFAULT_REGION: "us-east-1" run: | export PATH=$PATH:/usr/local/bin:/home/ubuntu/.local/bin - bash scripts/image-manifest.sh && bash scripts/upload-images.sh .manifest/images.mf linux/arm64 + bash build/image-manifest.sh && bash build/upload-images.sh .manifest/images.mf linux/arm64 diff --git a/.github/workflows/release-daily.yaml b/.github/workflows/release-daily.yaml index c292ed349..993587ae4 100644 --- a/.github/workflows/release-daily.yaml +++ b/.github/workflows/release-daily.yaml @@ -21,7 +21,7 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: 'us-east-1' run: | - bash scripts/image-manifest.sh && bash scripts/upload-images.sh .manifest/images.mf + bash build/image-manifest.sh && bash build/upload-images.sh .manifest/images.mf push-images-arm64: runs-on: [self-hosted, linux, ARM64] @@ -36,7 +36,7 @@ jobs: AWS_DEFAULT_REGION: 'us-east-1' run: | export PATH=$PATH:/usr/local/bin:/home/ubuntu/.local/bin - bash scripts/image-manifest.sh && bash scripts/upload-images.sh .manifest/images.mf linux/arm64 + bash build/image-manifest.sh && bash build/upload-images.sh .manifest/images.mf linux/arm64 push-deps: runs-on: ubuntu-latest @@ -51,7 +51,7 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: "us-east-1" run: | - bash scripts/deps-manifest.sh && bash scripts/upload-deps.sh + bash build/deps-manifest.sh && bash build/upload-deps.sh push-deps-arm64: runs-on: [self-hosted, linux, ARM64] @@ -67,7 +67,7 @@ jobs: AWS_DEFAULT_REGION: "us-east-1" run: | export PATH=$PATH:/usr/local/bin:/home/ubuntu/.local/bin - bash scripts/deps-manifest.sh linux/arm64 && bash scripts/upload-deps.sh linux/arm64 + bash build/deps-manifest.sh linux/arm64 && bash build/upload-deps.sh linux/arm64 upload-package: @@ -86,7 +86,7 @@ jobs: - name: Package installer run: | - bash scripts/build.sh ${{ steps.vars.outputs.tag_version }} + bash build/build.sh ${{ steps.vars.outputs.tag_version }} - name: Upload to S3 env: @@ -123,7 +123,7 @@ jobs: - name: Package installer run: | - bash scripts/build.sh ${{ steps.vars.outputs.tag_version }} + bash build/build.sh ${{ steps.vars.outputs.tag_version }} - name: 'Archives' run: | diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 0ddd865db..e17159cf9 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -23,7 +23,7 @@ jobs: AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} AWS_DEFAULT_REGION: 'us-east-1' run: | - bash scripts/image-manifest.sh && bash scripts/upload-images.sh .manifest/images.mf + bash build/image-manifest.sh && bash build/upload-images.sh .manifest/images.mf push-arm64: runs-on: [self-hosted, linux, ARM64] @@ -40,7 +40,7 @@ jobs: AWS_DEFAULT_REGION: 'us-east-1' run: | export PATH=$PATH:/usr/local/bin:/home/ubuntu/.local/bin - bash scripts/image-manifest.sh && bash scripts/upload-images.sh .manifest/images.mf linux/arm64 + bash build/image-manifest.sh && bash build/upload-images.sh .manifest/images.mf linux/arm64 upload-package: needs: [push, push-arm64] @@ -54,7 +54,7 @@ jobs: - name: Package installer run: | - bash scripts/build.sh ${{ github.event.inputs.tags }} + bash build/build.sh ${{ github.event.inputs.tags }} - name: Upload to S3 env: @@ -95,7 +95,7 @@ jobs: - name: Package installer run: | - bash scripts/build.sh ${{ github.event.inputs.tags }} + bash build/build.sh ${{ github.event.inputs.tags }} - name: 'Archives' run: | diff --git a/.gitignore b/.gitignore index 0376293de..d4e8f2b6e 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,7 @@ go.work .dist .manifest +.dependencies install-wizard-*.tar.gz olares-cli-*.tar.gz !ks-console-*.tgz diff --git a/apps/files/config/cluster/deploy/files_deploy.yaml b/apps/.olares/config/cluster/deploy/files_deploy.yaml similarity index 100% rename from apps/files/config/cluster/deploy/files_deploy.yaml rename to apps/.olares/config/cluster/deploy/files_deploy.yaml diff --git a/apps/system-apps/config/cluster/deploy/ks_server_deploy.yaml b/apps/.olares/config/cluster/deploy/ks_server_deploy.yaml similarity index 100% rename from apps/system-apps/config/cluster/deploy/ks_server_deploy.yaml rename to apps/.olares/config/cluster/deploy/ks_server_deploy.yaml diff --git a/apps/vault/config/cluster/deploy/vault_server_deploy.yaml b/apps/.olares/config/cluster/deploy/vault_server_deploy.yaml similarity index 100% rename from apps/vault/config/cluster/deploy/vault_server_deploy.yaml rename to apps/.olares/config/cluster/deploy/vault_server_deploy.yaml diff --git a/apps/argo/config/user/helm-charts/argo/.helmignore b/apps/.olares/config/user/helm-charts/desktop/.helmignore similarity index 100% rename from apps/argo/config/user/helm-charts/argo/.helmignore rename to apps/.olares/config/user/helm-charts/desktop/.helmignore diff --git a/apps/desktop/config/user/helm-charts/desktop/Chart.yaml b/apps/.olares/config/user/helm-charts/desktop/Chart.yaml similarity index 100% rename from apps/desktop/config/user/helm-charts/desktop/Chart.yaml rename to apps/.olares/config/user/helm-charts/desktop/Chart.yaml diff --git a/apps/argo/config/user/helm-charts/argo/templates/NOTES.txt b/apps/.olares/config/user/helm-charts/desktop/templates/NOTES.txt similarity index 100% rename from apps/argo/config/user/helm-charts/argo/templates/NOTES.txt rename to apps/.olares/config/user/helm-charts/desktop/templates/NOTES.txt diff --git a/apps/desktop/config/user/helm-charts/desktop/templates/_helpers.tpl b/apps/.olares/config/user/helm-charts/desktop/templates/_helpers.tpl similarity index 100% rename from apps/desktop/config/user/helm-charts/desktop/templates/_helpers.tpl rename to apps/.olares/config/user/helm-charts/desktop/templates/_helpers.tpl diff --git a/apps/desktop/config/user/helm-charts/desktop/templates/desktop_deploy.yaml b/apps/.olares/config/user/helm-charts/desktop/templates/desktop_deploy.yaml similarity index 100% rename from apps/desktop/config/user/helm-charts/desktop/templates/desktop_deploy.yaml rename to apps/.olares/config/user/helm-charts/desktop/templates/desktop_deploy.yaml diff --git a/apps/desktop/config/user/helm-charts/desktop/values.yaml b/apps/.olares/config/user/helm-charts/desktop/values.yaml similarity index 100% rename from apps/desktop/config/user/helm-charts/desktop/values.yaml rename to apps/.olares/config/user/helm-charts/desktop/values.yaml diff --git a/apps/desktop/config/user/helm-charts/desktop/.helmignore b/apps/.olares/config/user/helm-charts/files/.helmignore similarity index 100% rename from apps/desktop/config/user/helm-charts/desktop/.helmignore rename to apps/.olares/config/user/helm-charts/files/.helmignore diff --git a/apps/files/config/user/helm-charts/files/Chart.yaml b/apps/.olares/config/user/helm-charts/files/Chart.yaml similarity index 100% rename from apps/files/config/user/helm-charts/files/Chart.yaml rename to apps/.olares/config/user/helm-charts/files/Chart.yaml diff --git a/apps/desktop/config/user/helm-charts/desktop/templates/NOTES.txt b/apps/.olares/config/user/helm-charts/files/templates/NOTES.txt similarity index 100% rename from apps/desktop/config/user/helm-charts/desktop/templates/NOTES.txt rename to apps/.olares/config/user/helm-charts/files/templates/NOTES.txt diff --git a/apps/files/config/user/helm-charts/files/templates/_helpers.tpl b/apps/.olares/config/user/helm-charts/files/templates/_helpers.tpl similarity index 100% rename from apps/files/config/user/helm-charts/files/templates/_helpers.tpl rename to apps/.olares/config/user/helm-charts/files/templates/_helpers.tpl diff --git a/apps/files/config/user/helm-charts/files/templates/files_fe_deploy.yaml b/apps/.olares/config/user/helm-charts/files/templates/files_fe_deploy.yaml similarity index 100% rename from apps/files/config/user/helm-charts/files/templates/files_fe_deploy.yaml rename to apps/.olares/config/user/helm-charts/files/templates/files_fe_deploy.yaml diff --git a/apps/files/config/user/helm-charts/files/values.yaml b/apps/.olares/config/user/helm-charts/files/values.yaml similarity index 100% rename from apps/files/config/user/helm-charts/files/values.yaml rename to apps/.olares/config/user/helm-charts/files/values.yaml diff --git a/apps/files/config/user/helm-charts/files/.helmignore b/apps/.olares/config/user/helm-charts/market/.helmignore similarity index 100% rename from apps/files/config/user/helm-charts/files/.helmignore rename to apps/.olares/config/user/helm-charts/market/.helmignore diff --git a/apps/market/config/user/helm-charts/market/Chart.yaml b/apps/.olares/config/user/helm-charts/market/Chart.yaml similarity index 100% rename from apps/market/config/user/helm-charts/market/Chart.yaml rename to apps/.olares/config/user/helm-charts/market/Chart.yaml diff --git a/apps/files/config/user/helm-charts/files/templates/NOTES.txt b/apps/.olares/config/user/helm-charts/market/templates/NOTES.txt similarity index 100% rename from apps/files/config/user/helm-charts/files/templates/NOTES.txt rename to apps/.olares/config/user/helm-charts/market/templates/NOTES.txt diff --git a/apps/market/config/user/helm-charts/market/templates/_helpers.tpl b/apps/.olares/config/user/helm-charts/market/templates/_helpers.tpl similarity index 100% rename from apps/market/config/user/helm-charts/market/templates/_helpers.tpl rename to apps/.olares/config/user/helm-charts/market/templates/_helpers.tpl diff --git a/apps/market/config/user/helm-charts/market/templates/market_deploy.yaml b/apps/.olares/config/user/helm-charts/market/templates/market_deploy.yaml similarity index 100% rename from apps/market/config/user/helm-charts/market/templates/market_deploy.yaml rename to apps/.olares/config/user/helm-charts/market/templates/market_deploy.yaml diff --git a/apps/market/config/user/helm-charts/market/values.yaml b/apps/.olares/config/user/helm-charts/market/values.yaml similarity index 100% rename from apps/market/config/user/helm-charts/market/values.yaml rename to apps/.olares/config/user/helm-charts/market/values.yaml diff --git a/apps/market/config/user/helm-charts/market/.helmignore b/apps/.olares/config/user/helm-charts/monitoring/.helmignore similarity index 100% rename from apps/market/config/user/helm-charts/market/.helmignore rename to apps/.olares/config/user/helm-charts/monitoring/.helmignore diff --git a/apps/system-apps/config/user/helm-charts/monitoring/Chart.yaml b/apps/.olares/config/user/helm-charts/monitoring/Chart.yaml similarity index 100% rename from apps/system-apps/config/user/helm-charts/monitoring/Chart.yaml rename to apps/.olares/config/user/helm-charts/monitoring/Chart.yaml diff --git a/apps/market/config/user/helm-charts/market/templates/NOTES.txt b/apps/.olares/config/user/helm-charts/monitoring/templates/NOTES.txt similarity index 100% rename from apps/market/config/user/helm-charts/market/templates/NOTES.txt rename to apps/.olares/config/user/helm-charts/monitoring/templates/NOTES.txt diff --git a/apps/system-apps/config/user/helm-charts/monitoring/templates/_helpers.tpl b/apps/.olares/config/user/helm-charts/monitoring/templates/_helpers.tpl similarity index 100% rename from apps/system-apps/config/user/helm-charts/monitoring/templates/_helpers.tpl rename to apps/.olares/config/user/helm-charts/monitoring/templates/_helpers.tpl diff --git a/apps/system-apps/config/user/helm-charts/monitoring/templates/system-frontend.yaml b/apps/.olares/config/user/helm-charts/monitoring/templates/system-frontend.yaml similarity index 100% rename from apps/system-apps/config/user/helm-charts/monitoring/templates/system-frontend.yaml rename to apps/.olares/config/user/helm-charts/monitoring/templates/system-frontend.yaml diff --git a/apps/system-apps/config/user/helm-charts/monitoring/values.yaml b/apps/.olares/config/user/helm-charts/monitoring/values.yaml similarity index 100% rename from apps/system-apps/config/user/helm-charts/monitoring/values.yaml rename to apps/.olares/config/user/helm-charts/monitoring/values.yaml diff --git a/apps/notifications/config/user/helm-charts/notification/.helmignore b/apps/.olares/config/user/helm-charts/studio/.helmignore similarity index 100% rename from apps/notifications/config/user/helm-charts/notification/.helmignore rename to apps/.olares/config/user/helm-charts/studio/.helmignore diff --git a/apps/studio/config/user/helm-charts/studio/Chart.yaml b/apps/.olares/config/user/helm-charts/studio/Chart.yaml similarity index 100% rename from apps/studio/config/user/helm-charts/studio/Chart.yaml rename to apps/.olares/config/user/helm-charts/studio/Chart.yaml diff --git a/apps/studio/config/user/helm-charts/studio/devbox.png b/apps/.olares/config/user/helm-charts/studio/devbox.png similarity index 100% rename from apps/studio/config/user/helm-charts/studio/devbox.png rename to apps/.olares/config/user/helm-charts/studio/devbox.png diff --git a/apps/studio/config/user/helm-charts/studio/templates/deployment.yaml b/apps/.olares/config/user/helm-charts/studio/templates/deployment.yaml similarity index 100% rename from apps/studio/config/user/helm-charts/studio/templates/deployment.yaml rename to apps/.olares/config/user/helm-charts/studio/templates/deployment.yaml diff --git a/apps/studio/config/user/helm-charts/studio/values.yaml b/apps/.olares/config/user/helm-charts/studio/values.yaml similarity index 100% rename from apps/studio/config/user/helm-charts/studio/values.yaml rename to apps/.olares/config/user/helm-charts/studio/values.yaml diff --git a/apps/studio/config/user/helm-charts/studio/.helmignore b/apps/.olares/config/user/helm-charts/vault/.helmignore similarity index 100% rename from apps/studio/config/user/helm-charts/studio/.helmignore rename to apps/.olares/config/user/helm-charts/vault/.helmignore diff --git a/apps/vault/config/user/helm-charts/vault/Chart.yaml b/apps/.olares/config/user/helm-charts/vault/Chart.yaml similarity index 100% rename from apps/vault/config/user/helm-charts/vault/Chart.yaml rename to apps/.olares/config/user/helm-charts/vault/Chart.yaml diff --git a/apps/notifications/config/user/helm-charts/notification/templates/NOTES.txt b/apps/.olares/config/user/helm-charts/vault/templates/NOTES.txt similarity index 100% rename from apps/notifications/config/user/helm-charts/notification/templates/NOTES.txt rename to apps/.olares/config/user/helm-charts/vault/templates/NOTES.txt diff --git a/apps/vault/config/user/helm-charts/vault/templates/_helpers.tpl b/apps/.olares/config/user/helm-charts/vault/templates/_helpers.tpl similarity index 100% rename from apps/vault/config/user/helm-charts/vault/templates/_helpers.tpl rename to apps/.olares/config/user/helm-charts/vault/templates/_helpers.tpl diff --git a/apps/vault/config/user/helm-charts/vault/templates/vault_deploy.yaml b/apps/.olares/config/user/helm-charts/vault/templates/vault_deploy.yaml similarity index 100% rename from apps/vault/config/user/helm-charts/vault/templates/vault_deploy.yaml rename to apps/.olares/config/user/helm-charts/vault/templates/vault_deploy.yaml diff --git a/apps/notifications/config/user/helm-charts/notification/values.yaml b/apps/.olares/config/user/helm-charts/vault/values.yaml similarity index 100% rename from apps/notifications/config/user/helm-charts/notification/values.yaml rename to apps/.olares/config/user/helm-charts/vault/values.yaml diff --git a/apps/system-apps/config/user/helm-charts/monitoring/.helmignore b/apps/.olares/config/user/helm-charts/wizard/.helmignore similarity index 100% rename from apps/system-apps/config/user/helm-charts/monitoring/.helmignore rename to apps/.olares/config/user/helm-charts/wizard/.helmignore diff --git a/apps/wizard/config/user/helm-charts/wizard/Chart.yaml b/apps/.olares/config/user/helm-charts/wizard/Chart.yaml similarity index 100% rename from apps/wizard/config/user/helm-charts/wizard/Chart.yaml rename to apps/.olares/config/user/helm-charts/wizard/Chart.yaml diff --git a/apps/system-apps/config/user/helm-charts/monitoring/templates/NOTES.txt b/apps/.olares/config/user/helm-charts/wizard/templates/NOTES.txt similarity index 100% rename from apps/system-apps/config/user/helm-charts/monitoring/templates/NOTES.txt rename to apps/.olares/config/user/helm-charts/wizard/templates/NOTES.txt diff --git a/apps/wizard/config/user/helm-charts/wizard/templates/_helpers.tpl b/apps/.olares/config/user/helm-charts/wizard/templates/_helpers.tpl similarity index 100% rename from apps/wizard/config/user/helm-charts/wizard/templates/_helpers.tpl rename to apps/.olares/config/user/helm-charts/wizard/templates/_helpers.tpl diff --git a/apps/wizard/config/user/helm-charts/wizard/templates/wizard_deploy.yaml b/apps/.olares/config/user/helm-charts/wizard/templates/wizard_deploy.yaml similarity index 100% rename from apps/wizard/config/user/helm-charts/wizard/templates/wizard_deploy.yaml rename to apps/.olares/config/user/helm-charts/wizard/templates/wizard_deploy.yaml diff --git a/apps/wizard/config/user/helm-charts/wizard/values.yaml b/apps/.olares/config/user/helm-charts/wizard/values.yaml similarity index 100% rename from apps/wizard/config/user/helm-charts/wizard/values.yaml rename to apps/.olares/config/user/helm-charts/wizard/values.yaml diff --git a/apps/search3/README.md b/apps/README.md similarity index 100% rename from apps/search3/README.md rename to apps/README.md diff --git a/apps/argo/README.md b/apps/argo/README.md deleted file mode 100644 index 62f1ac17e..000000000 --- a/apps/argo/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# RSS Recommend - diff --git a/apps/desktop/README.md b/apps/desktop/README.md deleted file mode 100644 index f0061d4f6..000000000 --- a/apps/desktop/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# desktop - -https://github.com/beclab/desktop diff --git a/apps/files/README.md b/apps/files/README.md deleted file mode 100644 index 47befe874..000000000 --- a/apps/files/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# files - -https://github.com/beclab/files \ No newline at end of file diff --git a/apps/market-server/README.md b/apps/market-server/README.md deleted file mode 100644 index b987ffea2..000000000 --- a/apps/market-server/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# market-server - -https://github.com/beclab/market-server \ No newline at end of file diff --git a/apps/market/README.md b/apps/market/README.md deleted file mode 100644 index 77c18c32b..000000000 --- a/apps/market/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Market (app store) - -https://github.com/beclab/market \ No newline at end of file diff --git a/apps/rss/README.md b/apps/rss/README.md deleted file mode 100644 index 6145bd407..000000000 --- a/apps/rss/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# vault - -https://github.com/beclab/analytic \ No newline at end of file diff --git a/apps/search/README.md b/apps/search/README.md deleted file mode 100644 index 19d295f5b..000000000 --- a/apps/search/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# search - -https://github.com/beclab/dify-gateway \ No newline at end of file diff --git a/apps/studio/README.md b/apps/studio/README.md deleted file mode 100644 index 0288c9720..000000000 --- a/apps/studio/README.md +++ /dev/null @@ -1,4 +0,0 @@ -# devbox -Terminus App development management tools - -https://github.com/beclab/devbox \ No newline at end of file diff --git a/apps/system-apps/README.md b/apps/system-apps/README.md deleted file mode 100644 index 1503e9a79..000000000 --- a/apps/system-apps/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# system-apps - -dashboard control-hub - -https://github.com/beclab/system-apps \ No newline at end of file diff --git a/apps/vault/README.md b/apps/vault/README.md deleted file mode 100644 index db5a3550a..000000000 --- a/apps/vault/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# TermiPass - -https://github.com/beclab/TermiPass \ No newline at end of file diff --git a/apps/wizard/README.md b/apps/wizard/README.md deleted file mode 100644 index 16192d042..000000000 --- a/apps/wizard/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# wizard - -https://github.com/beclab/wizard \ No newline at end of file diff --git a/build/installer/.env b/build/base-package/.env similarity index 100% rename from build/installer/.env rename to build/base-package/.env diff --git a/build/installer/Makefile b/build/base-package/Makefile similarity index 100% rename from build/installer/Makefile rename to build/base-package/Makefile diff --git a/build/installer/deploy/containerd.service b/build/base-package/deploy/containerd.service similarity index 100% rename from build/installer/deploy/containerd.service rename to build/base-package/deploy/containerd.service diff --git a/build/installer/deploy/patch-globalrole-workspace-manager.yaml b/build/base-package/deploy/patch-globalrole-workspace-manager.yaml similarity index 100% rename from build/installer/deploy/patch-globalrole-workspace-manager.yaml rename to build/base-package/deploy/patch-globalrole-workspace-manager.yaml diff --git a/build/installer/deploy/patch-k3s.yaml b/build/base-package/deploy/patch-k3s.yaml similarity index 100% rename from build/installer/deploy/patch-k3s.yaml rename to build/base-package/deploy/patch-k3s.yaml diff --git a/build/installer/install.ps1 b/build/base-package/install.ps1 similarity index 100% rename from build/installer/install.ps1 rename to build/base-package/install.ps1 diff --git a/build/installer/install.sh b/build/base-package/install.sh similarity index 100% rename from build/installer/install.sh rename to build/base-package/install.sh diff --git a/build/installer/joincluster.sh b/build/base-package/joincluster.sh similarity index 100% rename from build/installer/joincluster.sh rename to build/base-package/joincluster.sh diff --git a/build/installer/publicAddnode.sh b/build/base-package/publicAddnode.sh similarity index 100% rename from build/installer/publicAddnode.sh rename to build/base-package/publicAddnode.sh diff --git a/build/installer/publicRestoreInstaller.sh b/build/base-package/publicRestoreInstaller.sh similarity index 100% rename from build/installer/publicRestoreInstaller.sh rename to build/base-package/publicRestoreInstaller.sh diff --git a/build/installer/refresh_sts.sh b/build/base-package/refresh_sts.sh similarity index 100% rename from build/installer/refresh_sts.sh rename to build/base-package/refresh_sts.sh diff --git a/build/installer/upgrade_cmd.sh b/build/base-package/upgrade_cmd.sh similarity index 100% rename from build/installer/upgrade_cmd.sh rename to build/base-package/upgrade_cmd.sh diff --git a/build/installer/version.hint b/build/base-package/version.hint similarity index 100% rename from build/installer/version.hint rename to build/base-package/version.hint diff --git a/apps/vault/config/user/helm-charts/vault/.helmignore b/build/base-package/wizard/config/account/.helmignore similarity index 100% rename from apps/vault/config/user/helm-charts/vault/.helmignore rename to build/base-package/wizard/config/account/.helmignore diff --git a/build/installer/wizard/config/account/Chart.yaml b/build/base-package/wizard/config/account/Chart.yaml similarity index 100% rename from build/installer/wizard/config/account/Chart.yaml rename to build/base-package/wizard/config/account/Chart.yaml diff --git a/build/installer/wizard/config/account/NOTES.txt b/build/base-package/wizard/config/account/NOTES.txt similarity index 100% rename from build/installer/wizard/config/account/NOTES.txt rename to build/base-package/wizard/config/account/NOTES.txt diff --git a/build/installer/wizard/config/account/templates/_helpers.tpl b/build/base-package/wizard/config/account/templates/_helpers.tpl similarity index 100% rename from build/installer/wizard/config/account/templates/_helpers.tpl rename to build/base-package/wizard/config/account/templates/_helpers.tpl diff --git a/build/installer/wizard/config/account/templates/account.yaml b/build/base-package/wizard/config/account/templates/account.yaml similarity index 100% rename from build/installer/wizard/config/account/templates/account.yaml rename to build/base-package/wizard/config/account/templates/account.yaml diff --git a/build/installer/wizard/config/account/templates/sync.yaml b/build/base-package/wizard/config/account/templates/sync.yaml similarity index 100% rename from build/installer/wizard/config/account/templates/sync.yaml rename to build/base-package/wizard/config/account/templates/sync.yaml diff --git a/build/installer/wizard/config/account/templates/sys.bytetrade.io_terminus.yaml b/build/base-package/wizard/config/account/templates/sys.bytetrade.io_terminus.yaml similarity index 100% rename from build/installer/wizard/config/account/templates/sys.bytetrade.io_terminus.yaml rename to build/base-package/wizard/config/account/templates/sys.bytetrade.io_terminus.yaml diff --git a/build/installer/wizard/config/account/values.yaml b/build/base-package/wizard/config/account/values.yaml similarity index 100% rename from build/installer/wizard/config/account/values.yaml rename to build/base-package/wizard/config/account/values.yaml diff --git a/apps/wizard/config/user/helm-charts/wizard/.helmignore b/build/base-package/wizard/config/settings/.helmignore similarity index 100% rename from apps/wizard/config/user/helm-charts/wizard/.helmignore rename to build/base-package/wizard/config/settings/.helmignore diff --git a/build/installer/wizard/config/settings/Chart.yaml b/build/base-package/wizard/config/settings/Chart.yaml similarity index 100% rename from build/installer/wizard/config/settings/Chart.yaml rename to build/base-package/wizard/config/settings/Chart.yaml diff --git a/build/installer/wizard/config/settings/NOTES.txt b/build/base-package/wizard/config/settings/NOTES.txt similarity index 100% rename from build/installer/wizard/config/settings/NOTES.txt rename to build/base-package/wizard/config/settings/NOTES.txt diff --git a/build/installer/wizard/config/settings/templates/_helpers.tpl b/build/base-package/wizard/config/settings/templates/_helpers.tpl similarity index 100% rename from build/installer/wizard/config/settings/templates/_helpers.tpl rename to build/base-package/wizard/config/settings/templates/_helpers.tpl diff --git a/build/installer/wizard/config/settings/templates/globalrole-binding.yaml b/build/base-package/wizard/config/settings/templates/globalrole-binding.yaml similarity index 100% rename from build/installer/wizard/config/settings/templates/globalrole-binding.yaml rename to build/base-package/wizard/config/settings/templates/globalrole-binding.yaml diff --git a/build/installer/wizard/config/settings/templates/system-serviceaccount.yaml b/build/base-package/wizard/config/settings/templates/system-serviceaccount.yaml similarity index 100% rename from build/installer/wizard/config/settings/templates/system-serviceaccount.yaml rename to build/base-package/wizard/config/settings/templates/system-serviceaccount.yaml diff --git a/build/installer/wizard/config/settings/templates/system_namespace.yaml b/build/base-package/wizard/config/settings/templates/system_namespace.yaml similarity index 100% rename from build/installer/wizard/config/settings/templates/system_namespace.yaml rename to build/base-package/wizard/config/settings/templates/system_namespace.yaml diff --git a/build/installer/wizard/config/settings/templates/terminus_cr.yaml b/build/base-package/wizard/config/settings/templates/terminus_cr.yaml similarity index 100% rename from build/installer/wizard/config/settings/templates/terminus_cr.yaml rename to build/base-package/wizard/config/settings/templates/terminus_cr.yaml diff --git a/build/installer/wizard/config/settings/templates/user-namespace.yaml b/build/base-package/wizard/config/settings/templates/user-namespace.yaml similarity index 100% rename from build/installer/wizard/config/settings/templates/user-namespace.yaml rename to build/base-package/wizard/config/settings/templates/user-namespace.yaml diff --git a/build/installer/wizard/config/settings/templates/user-namespacerole-binding.yaml b/build/base-package/wizard/config/settings/templates/user-namespacerole-binding.yaml similarity index 100% rename from build/installer/wizard/config/settings/templates/user-namespacerole-binding.yaml rename to build/base-package/wizard/config/settings/templates/user-namespacerole-binding.yaml diff --git a/build/installer/wizard/config/settings/templates/user-system-ns.yaml b/build/base-package/wizard/config/settings/templates/user-system-ns.yaml similarity index 100% rename from build/installer/wizard/config/settings/templates/user-system-ns.yaml rename to build/base-package/wizard/config/settings/templates/user-system-ns.yaml diff --git a/build/installer/wizard/config/settings/templates/user-systemrole-binding.yaml b/build/base-package/wizard/config/settings/templates/user-systemrole-binding.yaml similarity index 100% rename from build/installer/wizard/config/settings/templates/user-systemrole-binding.yaml rename to build/base-package/wizard/config/settings/templates/user-systemrole-binding.yaml diff --git a/build/installer/wizard/config/settings/values.yaml b/build/base-package/wizard/config/settings/values.yaml similarity index 100% rename from build/installer/wizard/config/settings/values.yaml rename to build/base-package/wizard/config/settings/values.yaml diff --git a/build/installer/wizard/config/account/.helmignore b/build/base-package/wizard/config/system/.helmignore similarity index 100% rename from build/installer/wizard/config/account/.helmignore rename to build/base-package/wizard/config/system/.helmignore diff --git a/build/installer/wizard/config/system/Chart.yaml b/build/base-package/wizard/config/system/Chart.yaml similarity index 100% rename from build/installer/wizard/config/system/Chart.yaml rename to build/base-package/wizard/config/system/Chart.yaml diff --git a/apps/vault/config/user/helm-charts/vault/templates/NOTES.txt b/build/base-package/wizard/config/system/templates/NOTES.txt similarity index 100% rename from apps/vault/config/user/helm-charts/vault/templates/NOTES.txt rename to build/base-package/wizard/config/system/templates/NOTES.txt diff --git a/build/installer/wizard/config/system/templates/_helpers.tpl b/build/base-package/wizard/config/system/templates/_helpers.tpl similarity index 100% rename from build/installer/wizard/config/system/templates/_helpers.tpl rename to build/base-package/wizard/config/system/templates/_helpers.tpl diff --git a/build/installer/wizard/config/system/values.yaml b/build/base-package/wizard/config/system/values.yaml similarity index 100% rename from build/installer/wizard/config/system/values.yaml rename to build/base-package/wizard/config/system/values.yaml diff --git a/scripts/build-full.sh b/build/build-full.sh similarity index 100% rename from scripts/build-full.sh rename to build/build-full.sh diff --git a/scripts/build-manifest.sh b/build/build-manifest.sh similarity index 51% rename from scripts/build-manifest.sh rename to build/build-manifest.sh index 5a208a4fe..5f89baa13 100644 --- a/scripts/build-manifest.sh +++ b/build/build-manifest.sh @@ -18,35 +18,32 @@ download_checksum(){ manifest_file=$1 -for deps in "components" "pkgs"; do - while read line; do - if [ x"$line" == x"" ]; then - continue - fi +while read line; do + if [ x"$line" == x"" ]; then + continue + fi - fields=$(echo "$line"|awk -F"," '{print NF}') - if [[ $fields -lt 5 ]]; then - echo "format err, $lines" - exit -1 - fi + fields=$(echo "$line"|awk -F"," '{print NF}') + if [[ $fields -lt 5 ]]; then + echo "format err, $lines" + exit -1 + fi - filename=$(echo "$line"|awk -F"," '{print $1}') - fileid=$(echo "$line"|awk -F"," '{print $5}') - echo "downloading file checksum, $filename" - path=$(echo "$line"|awk -F"," '{print $2}') - name=$(echo -n "$filename"|md5sum|awk '{print $1}') + filename=$(echo "$line"|awk -F"," '{print $1}') + fileid=$(echo "$line"|awk -F"," '{print $5}') + echo "downloading file checksum, $filename" + path=$(echo "$line"|awk -F"," '{print $2}') + name=$(echo -n "$filename"|md5sum|awk '{print $1}') - url_amd64=$name - url_arm64=arm64/$name + url_amd64=$name + url_arm64=arm64/$name - checksum_amd64=$(download_checksum $name) - checksum_arm64=$(download_checksum arm64/$name) + checksum_amd64=$(download_checksum $name) + checksum_arm64=$(download_checksum arm64/$name) - echo "$filename,$path,$deps,$url_amd64,$checksum_amd64,$url_arm64,$checksum_arm64,$fileid" >> $manifest_file - - done < $deps + echo "$filename,$path,$deps,$url_amd64,$checksum_amd64,$url_arm64,$checksum_arm64,$fileid" >> $manifest_file -done +done < components path="images" for deps in "images.mf"; do diff --git a/scripts/build-redis.sh b/build/build-redis.sh similarity index 100% rename from scripts/build-redis.sh rename to build/build-redis.sh diff --git a/scripts/build-ubuntu2204.sh b/build/build-ubuntu2204.sh similarity index 100% rename from scripts/build-ubuntu2204.sh rename to build/build-ubuntu2204.sh diff --git a/scripts/build-wsl-install-msi.sh b/build/build-wsl-install-msi.sh similarity index 100% rename from scripts/build-wsl-install-msi.sh rename to build/build-wsl-install-msi.sh diff --git a/scripts/build.sh b/build/build.sh similarity index 92% rename from scripts/build.sh rename to build/build.sh index d574ac24e..1f665c054 100644 --- a/scripts/build.sh +++ b/build/build.sh @@ -6,8 +6,6 @@ DIST_PATH="${BASE_DIR}/../.dist/install-wizard" VERSION=$1 DIST_PATH=${DIST_PATH} bash ${BASE_DIR}/package.sh -cp ${BASE_DIR}/upgrade.sh ${DIST_PATH}/. -# cp ${BASE_DIR}/developer/* ${DIST_PATH}/. bash ${BASE_DIR}/image-manifest.sh bash ${BASE_DIR}/deps-manifest.sh diff --git a/build/deps-manifest.sh b/build/deps-manifest.sh new file mode 100644 index 000000000..99d6aa1f3 --- /dev/null +++ b/build/deps-manifest.sh @@ -0,0 +1,77 @@ +#!/usr/bin/env bash + +BASE_DIR=$(dirname $(realpath -s $0)) + +rm -rf $BASE_DIR/../.dependencies +mkdir -p $BASE_DIR/../.dependencies +manifest=$BASE_DIR/../.dependencies/components + +# bash 3.2 (in macos) don't support associative array, so we use this ugly hack +# to get the key for a given value +function get_key(){ + if [ "$1" == "id" ]; then + echo 0 + elif [ "$1" == "name" ]; then + echo 1 + elif [ "$1" == "amd64" ]; then + echo 2 + elif [ "$1" == "arm64" ]; then + echo 3 + fi +} + +find $BASE_DIR/../ -type f -name Olares.yaml | while read f; do + echo "Processing $f" + declare -a bins + IFS= + while read l;do + if [[ "$l" == "output.binaries."* ]]; then + kv=${l#output.binaries.} + key=$(awk -F' = ' '{print $1}' <<< "$kv") + value=$(awk -F' = ' '{print $2}' <<< "$kv") + + idx=$(awk -F'.' '{print $1}' <<< "$key") + field=$(awk -F'.' '{print $2}' <<< "$key") + + old_field=${bins[$idx]} + if [[ "$old_field" == "" ]]; then + old_field="$field=$value" + else + old_field="$old_field|$field=$value" + fi + + bins[$idx]=$old_field + fi + done <<< $(bash ${BASE_DIR}/yaml2prop.sh -f $f) + + + for bin in "${bins[@]}"; do + bobj=$(tr '|' '\n' <<< $bin) + declare -a com + while read bl; do + k=$(awk -F'=' '{print $1}' <<< "$bl") + v=$(awk -F'=' '{print $2}' <<< "$bl") + k=$(get_key $k) + com[$k]=$v + done <<< "$bobj" + echo "key: ${com[@]}" + + + name_path=${com[$(get_key "name")]} + n=$(awk -F"," '{print NF}' <<< ${name_path}) + if [[ $n -gt 1 ]]; then + name_path="$(awk -F"," '{print $1}' <<< ${name_path}),$(awk -F"," '{print $2}' <<< ${name_path})" + else + name_path="${name_path},pkg/components" + fi + + amd64=$(get_key "amd64") + arm64=$(get_key "arm64") + id=$(get_key "id") + echo "${name_path},${com[$amd64]},${com[$arm64]},${com[$id]}" >> ${manifest} + + unset com + done + + unset bins +done diff --git a/scripts/download-deps.sh b/build/download-deps.sh similarity index 100% rename from scripts/download-deps.sh rename to build/download-deps.sh diff --git a/scripts/image-manifest.sh b/build/image-manifest.sh similarity index 72% rename from scripts/image-manifest.sh rename to build/image-manifest.sh index aa6a019df..f5cf40d76 100644 --- a/scripts/image-manifest.sh +++ b/build/image-manifest.sh @@ -4,25 +4,22 @@ BASE_DIR=$(dirname $(realpath -s $0)) -PACKAGE_MODULE=("frameworks" "libs" "apps" "third-party") +PACKAGE_MODULE=("apps" "framework" "daemon" "infrastructure" "platform" "vendor") IMAGE_MANIFEST="$BASE_DIR/../.manifest/images.mf" rm -rf $BASE_DIR/../.manifest mkdir -p $BASE_DIR/../.manifest -# copy default base images -cp -f $BASE_DIR/../build/manifest/images ${IMAGE_MANIFEST} -cp -f $BASE_DIR/../build/manifest/images.node.mf $BASE_DIR/../.manifest/images.node.mf - TMP_MANIFEST=$(mktemp) for mod in "${PACKAGE_MODULE[@]}";do echo "find images in ${mod} ..." - ls ${mod} | while read app; do - chart_path="${mod}/${app}/config" + ls -A ${mod} | while read app; do + chart_path="${mod}/${app}" + if [ -d $chart_path ]; then find $chart_path -type f -name *.yaml | while read p; do bash ${BASE_DIR}/yaml2prop.sh -f $p | while read l;do - if [[ "$l" == *".image = "* ]]; then + if [[ "$l" == *".image = "* || "$l" == "output.containers."*".name"* ]]; then echo "$l" if [[ $(echo "$l" | awk '{print $3}') == "value" ]]; then echo "ignoring template value" @@ -40,7 +37,7 @@ awk '{print $3}' ${TMP_MANIFEST} | sort | uniq | grep -v nitro | grep -v orion > # patch # fix backup server version -backup_version=$(egrep '{{ \$backupVersion := "(.*)" }}' $BASE_DIR/../frameworks/backup-server/config/cluster/deploy/backup_server.yaml | sed 's/{{ \$backupVersion := "\(.*\)" }}/\1/') +backup_version=$(egrep '{{ \$backupVersion := "(.*)" }}' $BASE_DIR/../framework/backup-server/.olares/config/cluster/deploy/backup_server.yaml | sed 's/{{ \$backupVersion := "\(.*\)" }}/\1/') if [[ "$OSTYPE" == "darwin"* ]]; then bash -c "sed -i '' -e 's/backup-server:vvalue/backup-server:v$backup_version/' ${IMAGE_MANIFEST}" else diff --git a/build/installer/deploy/device-plugin.yaml b/build/installer/deploy/device-plugin.yaml deleted file mode 100644 index 8850aa692..000000000 --- a/build/installer/deploy/device-plugin.yaml +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright (c) 2023 Georgios Alexopoulos -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: apps/v1 -kind: DaemonSet -metadata: - name: nvshare-device-plugin - namespace: nvshare-system -spec: - selector: - matchLabels: - name: nvshare-device-plugin - template: - metadata: - labels: - name: nvshare-device-plugin - spec: - runtimeClassName: nvidia # Explicitly request the runtime - priorityClassName: system-node-critical - nodeSelector: - gpu.bytetrade.io/cuda-supported: 'true' - initContainers: - - name: init-dir - image: busybox:1.28 - volumeMounts: - - name: host-var-run-nvshare - mountPath: /var/run/nvshare - command: - - sh - - -c - - "[ -d /var/run/nvshare/libnvshare.so ] && rm -rf /var/run/nvshare/libnvshare.so || true" - containers: - - name: nvshare-lib - image: beclab/nvshare:libnvshare-v0.0.1 - command: - - sleep - - infinity - lifecycle: - postStart: - exec: - command: - - "/bin/sh" - - "-c" - - "test -f /host-var-run-nvshare/libnvshare.so || ( test -d /host-var-run-nvshare/libnvshare.so && rm -rf /host-var-run-nvshare/libnvshare.so && false ) || touch /host-var-run-nvshare/libnvshare.so && mount -v --bind /libnvshare.so /host-var-run-nvshare/libnvshare.so" - preStop: - exec: - command: - - "/bin/sh" - - "-c" - - "umount -v /host-var-run-nvshare/libnvshare.so && rm -rf /host-var-run-nvshare/libnvshare.so" - securityContext: - # Necessary for mounts to work. - privileged: true - volumeMounts: - - mountPath: /host-var-run-nvshare - name: host-var-run-nvshare - # A bidirectional mount ensures that mount points also show up on the - # host. We need this because nvshare-device-plugin modifies the specs - # of the Pods that request nvshare virtual GPUs and adds a hostPath - # mount for /var/run/nvshare/libnvshare.so - mountPropagation: Bidirectional - - name: nvshare-device-plugin - image: bytetrade/nvshare:nvshare-device-plugin - imagePullPolicy: IfNotPresent - env: - - name: NVSHARE_VIRTUAL_DEVICES - value: "10" - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: ["ALL"] - volumeMounts: - - name: device-plugin-socket - mountPath: /var/lib/kubelet/device-plugins - resources: - limits: - nvidia.com/gpu: 1 - volumes: - - name: host-var-run-nvshare - hostPath: - path: /var/run/nvshare - type: DirectoryOrCreate - - name: device-plugin-socket - hostPath: - path: /var/lib/kubelet/device-plugins - tolerations: - # In some cases, GPU nodes have an nvidia.com/gpu taint to run only - # GPU workloads. Tolerate that taint. - - key: nvidia.com/gpu - operator: Exists - effect: NoSchedule - diff --git a/build/installer/deploy/nvidia-device-plugin.yml b/build/installer/deploy/nvidia-device-plugin.yml deleted file mode 100644 index 85ab63dda..000000000 --- a/build/installer/deploy/nvidia-device-plugin.yml +++ /dev/null @@ -1,65 +0,0 @@ -# Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -apiVersion: node.k8s.io/v1 -kind: RuntimeClass -metadata: - name: nvidia -handler: nvidia - ---- -apiVersion: apps/v1 -kind: DaemonSet -metadata: - name: nvidia-device-plugin-daemonset - namespace: kube-system -spec: - selector: - matchLabels: - name: nvidia-device-plugin-ds - updateStrategy: - type: RollingUpdate - template: - metadata: - labels: - name: nvidia-device-plugin-ds - spec: - runtimeClassName: nvidia # Explicitly request the runtime - tolerations: - - key: nvidia.com/gpu - operator: Exists - effect: NoSchedule - # Mark this pod as a critical add-on; when enabled, the critical add-on - # scheduler reserves resources for critical add-on pods so that they can - # be rescheduled after a failure. - # See https://kubernetes.io/docs/tasks/administer-cluster/guaranteed-scheduling-critical-addon-pods/ - priorityClassName: "system-node-critical" - nodeSelector: - gpu.bytetrade.io/cuda-supported: 'true' - containers: - - image: nvcr.io/nvidia/k8s-device-plugin:v0.16.1 - name: nvidia-device-plugin-ctr - env: - - name: FAIL_ON_INIT_ERROR - value: "false" - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: ["ALL"] - volumeMounts: - - name: device-plugin - mountPath: /var/lib/kubelet/device-plugins - volumes: - - name: device-plugin - hostPath: - path: /var/lib/kubelet/device-plugins diff --git a/build/installer/deploy/orion-config.toml.tmpl b/build/installer/deploy/orion-config.toml.tmpl deleted file mode 100644 index 3219afdde..000000000 --- a/build/installer/deploy/orion-config.toml.tmpl +++ /dev/null @@ -1,73 +0,0 @@ -[plugins.opt] - path = "{{ .NodeConfig.Containerd.Opt }}" - -[plugins.cri] - stream_server_address = "127.0.0.1" - stream_server_port = "10010" - enable_selinux = {{ .NodeConfig.SELinux }} - -{{- if .DisableCgroup}} - disable_cgroup = true -{{end}} -{{- if .IsRunningInUserNS }} - disable_apparmor = true - restrict_oom_score_adj = true -{{end}} - -{{- if .NodeConfig.AgentConfig.PauseImage }} - sandbox_image = "{{ .NodeConfig.AgentConfig.PauseImage }}" -{{end}} - -[plugins.cri.containerd] - default_runtime_name = "orion" -{{- if .NodeConfig.AgentConfig.Snapshotter }} - disable_snapshot_annotations = true - snapshotter = "{{ .NodeConfig.AgentConfig.Snapshotter }}" -{{end}} - -{{- if not .NodeConfig.NoFlannel }} -[plugins.cri.cni] - bin_dir = "{{ .NodeConfig.AgentConfig.CNIBinDir }}" - conf_dir = "{{ .NodeConfig.AgentConfig.CNIConfDir }}" -{{end}} - -[plugins.cri.containerd.runtimes.runc] - runtime_type = "io.containerd.runc.v2" - -[plugins.cri.containerd.runtimes.orion] - runtime_type = "io.containerd.runc.v2" - -[plugins.cri.containerd.runtimes.orion.options] - binary_name = "orion-container-runtime" - -{{ if .PrivateRegistryConfig }} -{{ if .PrivateRegistryConfig.Mirrors }} -[plugins.cri.registry.mirrors]{{end}} -{{range $k, $v := .PrivateRegistryConfig.Mirrors }} -[plugins.cri.registry.mirrors."{{$k}}"] - endpoint = [{{range $i, $j := $v.Endpoints}}{{if $i}}, {{end}}{{printf "%q" .}}{{end}}] -{{if $v.Rewrites}} - [plugins.cri.registry.mirrors."{{$k}}".rewrite] -{{range $pattern, $replace := $v.Rewrites}} - "{{$pattern}}" = "{{$replace}}" -{{end}} -{{end}} -{{end}} - -{{range $k, $v := .PrivateRegistryConfig.Configs }} -{{ if $v.Auth }} -[plugins.cri.registry.configs."{{$k}}".auth] - {{ if $v.Auth.Username }}username = {{ printf "%q" $v.Auth.Username }}{{end}} - {{ if $v.Auth.Password }}password = {{ printf "%q" $v.Auth.Password }}{{end}} - {{ if $v.Auth.Auth }}auth = {{ printf "%q" $v.Auth.Auth }}{{end}} - {{ if $v.Auth.IdentityToken }}identitytoken = {{ printf "%q" $v.Auth.IdentityToken }}{{end}} -{{end}} -{{ if $v.TLS }} -[plugins.cri.registry.configs."{{$k}}".tls] - {{ if $v.TLS.CAFile }}ca_file = "{{ $v.TLS.CAFile }}"{{end}} - {{ if $v.TLS.CertFile }}cert_file = "{{ $v.TLS.CertFile }}"{{end}} - {{ if $v.TLS.KeyFile }}key_file = "{{ $v.TLS.KeyFile }}"{{end}} - {{ if $v.TLS.InsecureSkipVerify }}insecure_skip_verify = true{{end}} -{{end}} -{{end}} -{{end}} \ No newline at end of file diff --git a/build/installer/deploy/patch-notification-manager.yaml b/build/installer/deploy/patch-notification-manager.yaml deleted file mode 100644 index e846510d8..000000000 --- a/build/installer/deploy/patch-notification-manager.yaml +++ /dev/null @@ -1,68 +0,0 @@ -apiVersion: notification.kubesphere.io/v2beta2 -kind: NotificationManager -metadata: - annotations: - meta.helm.sh/release-name: notification-manager - meta.helm.sh/release-namespace: kubesphere-monitoring-system - labels: - app: notification-manager - app.kubernetes.io/managed-by: Helm - name: notification-manager -spec: - affinity: {} - batchMaxSize: 100 - batchMaxWait: 1m - defaultConfigSelector: - matchLabels: - type: default - defaultSecretNamespace: kubesphere-monitoring-federated - groupLabels: - - alertname - - namespace - image: beclab/notification-manager-ext:v0.1.1-ext - imagePullPolicy: IfNotPresent - nodeSelector: {} - portName: webhook - receivers: - globalReceiverSelector: - matchLabels: - type: global - options: - email: - deliveryType: bulk - notificationTimeout: 5 - global: - templateFile: - - /etc/notification-manager/template - slack: - notificationTimeout: 5 - wechat: - notificationTimeout: 5 - tenantKey: user - tenantReceiverSelector: - matchLabels: - type: tenant - replicas: 1 - resources: - limits: - cpu: 500m - memory: 500Mi - requests: - cpu: 5m - memory: 20Mi - routePolicy: All - serviceAccountName: notification-manager-sa - sidecars: - tenant: - image: beclab/notification-tenant-sidecar:v0.1.0 - name: tenant - type: bytetrade - tolerations: [] - volumeMounts: - - mountPath: /etc/notification-manager/ - name: notification-manager-template - volumes: - - configMap: - defaultMode: 420 - name: notification-manager-template - name: notification-manager-template diff --git a/build/installer/wizard/bin/COLORS b/build/installer/wizard/bin/COLORS deleted file mode 100644 index 70b4fb7ea..000000000 --- a/build/installer/wizard/bin/COLORS +++ /dev/null @@ -1,29 +0,0 @@ - -# // Copyright 2022 bytetrade -# // -# // Licensed under the Apache License, Version 2.0 (the "License"); -# // you may not use this file except in compliance with the License. -# // You may obtain a copy of the License at -# // -# // http://www.apache.org/licenses/LICENSE-2.0 -# // -# // Unless required by applicable law or agreed to in writing, software -# // distributed under the License is distributed on an "AS IS" BASIS, -# // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# // See the License for the specific language governing permissions and -# // limitations under the License. - -# COLORS -readonly COLOUR_RESET='\e[0m' -readonly aCOLOUR=( - '\e[38;5;154m' # green | Lines, bullets and separators - '\e[1m' # Bold white | Main descriptions - '\e[90m' # Grey | Credits - '\e[91m' # Red | Update notifications Alert - '\e[33m' # Yellow | Emphasis -) - -readonly GREEN_LINE=" ${aCOLOUR[0]}─────────────────────────────────────────────────────$COLOUR_RESET" -readonly GREEN_BULLET=" ${aCOLOUR[0]}-$COLOUR_RESET" -readonly GREEN_SEPARATOR="${aCOLOUR[0]}:$COLOUR_RESET" - diff --git a/build/installer/wizard/bin/init-config.yaml b/build/installer/wizard/bin/init-config.yaml deleted file mode 100644 index c932794b3..000000000 --- a/build/installer/wizard/bin/init-config.yaml +++ /dev/null @@ -1,14 +0,0 @@ - - -Addons: - - name: settings - sources: - chart: - name: settings - repo: config/settings - - - name: apps - sources: - chart: - name: apps - repo: config/apps \ No newline at end of file diff --git a/build/manifest/components b/build/manifest/components deleted file mode 100644 index 781f41070..000000000 --- a/build/manifest/components +++ /dev/null @@ -1,24 +0,0 @@ -olaresd-v1.12.0-rc.10.tar.gz,pkg/components,https://dc3p1870nn3cj.cloudfront.net/olaresd-v1.12.0-rc.10-linux-amd64.tar.gz,https://dc3p1870nn3cj.cloudfront.net/olaresd-v1.12.0-rc.10-linux-arm64.tar.gz,olaresd -socat-1.7.3.2.tar.gz,pkg/components,https://src.fedoraproject.org/lookaside/pkgs/socat/socat-1.7.3.2.tar.gz/sha512/540658b2a3d1b87673196282e5c62b97681bd0f1d1e4759ff9d72909d11060235ee9e9521a973603c1b00376436a9444248e5fbc0ffac65f8edb9c9bc28e7972/socat-1.7.3.2.tar.gz,https://src.fedoraproject.org/lookaside/pkgs/socat/socat-1.7.3.2.tar.gz/sha512/540658b2a3d1b87673196282e5c62b97681bd0f1d1e4759ff9d72909d11060235ee9e9521a973603c1b00376436a9444248e5fbc0ffac65f8edb9c9bc28e7972/socat-1.7.3.2.tar.gz,socat -conntrack-tools-1.4.1.tar.gz,pkg/components,https://github.com/fqrouter/conntrack-tools/archive/refs/tags/conntrack-tools-1.4.1.tar.gz,https://github.com/fqrouter/conntrack-tools/archive/refs/tags/conntrack-tools-1.4.1.tar.gz,conntrack-tools -minio.RELEASE.2023-05-04T21-44-30Z,pkg/components,https://dl.min.io/server/minio/release/linux-amd64/archive/minio.RELEASE.2023-05-04T21-44-30Z,https://dl.min.io/server/minio/release/linux-arm64/archive/minio.RELEASE.2023-05-04T21-44-30Z,minio -minio-operator-v0.0.1.tar.gz,pkg/components,https://github.com/beclab/minio-operator/releases/download/v0.0.1/minio-operator-v0.0.1-linux-amd64.tar.gz,https://github.com/beclab/minio-operator/releases/download/v0.0.1/minio-operator-v0.0.1-linux-arm64.tar.gz,minio-operator -redis-5.0.14.tar.gz,pkg/components,https://dc3p1870nn3cj.cloudfront.net/redis-5.0.14_linux_amd64.tar.gz,https://dc3p1870nn3cj.cloudfront.net/redis-5.0.14_linux_arm64.tar.gz,redis -redis-5.0.14-glibc-231.tar.gz,pkg/components,https://dc3p1870nn3cj.cloudfront.net/redis-5.0.14_linux_amd64-glibc-231.tar.gz,https://dc3p1870nn3cj.cloudfront.net/redis-5.0.14_linux_arm64.tar.gz,redis-231 -juicefs-v11.1.1.tar.gz,pkg/components,https://github.com/beclab/juicefs-ext/releases/download/v11.1.1/juicefs-v11.1.1-linux-amd64.tar.gz,https://github.com/beclab/juicefs-ext/releases/download/v11.1.1/juicefs-v11.1.1-linux-arm64.tar.gz,juicefs -velero-v1.11.3.tar.gz,pkg/components,https://github.com/beclab/velero/releases/download/v1.11.3/velero-v1.11.3-linux-amd64.tar.gz,https://github.com/beclab/velero/releases/download/v1.11.3/velero-v1.11.3-linux-arm64.tar.gz,velero -apparmor_4.0.1-0ubuntu1.deb,pkg/components,https://launchpad.net/ubuntu/+source/apparmor/4.0.1-0ubuntu1/+build/28428840/+files/apparmor_4.0.1-0ubuntu1_amd64.deb,https://launchpad.net/ubuntu/+source/apparmor/4.0.1-0ubuntu1/+build/28428841/+files/apparmor_4.0.1-0ubuntu1_arm64.deb,apparmor - -ubuntu2404_cuda-keyring_1.1-1_all.deb,pkg/components,https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-keyring_1.1-1_all.deb,https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/arm64/cuda-keyring_1.1-1_all.deb,ubuntu-24.04_cuda-keyring_1.1-1 -ubuntu2204_cuda-keyring_1.1-1_all.deb,pkg/components,https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb,https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/arm64/cuda-keyring_1.1-1_all.deb,ubuntu-22.04_cuda-keyring_1.1-1 -ubuntu2204_cuda-keyring_1.0-1_all.deb,pkg/components,https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb,https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/arm64/cuda-keyring_1.0-1_all.deb,ubuntu-22.04_cuda-keyring_1.0-1 -ubuntu2004_cuda-keyring_1.1-1_all.deb,pkg/components,https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.1-1_all.deb,https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/arm64/cuda-keyring_1.1-1_all.deb,ubuntu-20.04_cuda-keyring_1.1-1 -ubuntu2004_cuda-keyring_1.0-1_all.deb,pkg/components,https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb,https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/arm64/cuda-keyring_1.0-1_all.deb,ubuntu-20.04_cuda-keyring_1.0-1 -debian12_cuda-keyring_1.1-1_all.deb,pkg/components,https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/cuda-keyring_1.1-1_all.deb,https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/arm64/cuda-keyring_1.1-1_all.deb,debian-12_cuda-keyring_1.1-1 -debian11_cuda-keyring_1.1-1_all.deb,pkg/components,https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/cuda-keyring_1.1-1_all.deb,https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/arm64/cuda-keyring_1.1-1_all.deb,debian-11_cuda-keyring_1.1-1 - -libnvidia-gpgkey,pkg/components,https://nvidia.github.io/libnvidia-container/gpgkey,https://nvidia.github.io/libnvidia-container/gpgkey,libnvidia-gpgkey -libnvidia-container.list,pkg/components,https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list,https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list,libnvidia-container.list - -restic-linux-0.17.3,pkg/components,https://github.com/restic/restic/releases/download/v0.17.3/restic_0.17.3_linux_amd64.bz2,https://github.com/restic/restic/releases/download/v0.17.3/restic_0.17.3_linux_arm64.bz2,restic -restic-darwin-0.17.3,pkg/components,https://github.com/restic/restic/releases/download/v0.17.3/restic_0.17.3_darwin_amd64.bz2,https://github.com/restic/restic/releases/download/v0.17.3/restic_0.17.3_darwin_arm64.bz2,restic diff --git a/build/manifest/images b/build/manifest/images deleted file mode 100644 index a84ce7719..000000000 --- a/build/manifest/images +++ /dev/null @@ -1,47 +0,0 @@ -beclab/ks-apiserver:0.0.11 -beclab/ks-controller-manager:0.0.11 -beclab/kube-state-metrics:v2.3.0-ext.1 -calico/cni:v3.29.2 -calico/kube-controllers:v3.29.2 -calico/node:v3.29.2 -beclab/citus:12.2 -kubesphere/kubectl:v1.22.0 -bitnami/kube-rbac-proxy:0.19.0 -registry.k8s.io/kube-apiserver:v1.32.2 -registry.k8s.io/kube-scheduler:v1.32.2 -registry.k8s.io/kube-proxy:v1.32.2 -registry.k8s.io/kube-controller-manager:v1.32.2 -registry.k8s.io/coredns/coredns:v1.11.3 -registry.k8s.io/pause:3.10 -kubesphere/prometheus-config-reloader:v0.55.1 -kubesphere/prometheus-operator:v0.55.1 -openebs/linux-utils:3.3.0 -openebs/provisioner-localpv:3.3.0 -beclab/percona-server-mongodb-operator:1.15.2 -beclab/node-exporter:0.0.1 -prom/prometheus:v2.34.0 -quay.io/argoproj/argocli:v3.5.0 -quay.io/argoproj/argoexec:v3.5.0 -quay.io/argoproj/workflow-controller:v3.5.0 -redis:5.0.14-alpine -beclab/velero:v1.11.3 -beclab/velero-plugin-for-terminus:v1.0.2 -beclab/l4-bfl-proxy:v0.3.0 -gcr.io/k8s-minikube/storage-provisioner:v5 -owncloudci/wait-for:latest -beclab/recommend-argotask:v0.0.12 -bytetrade/nvshare:nvshare-scheduler -beclab/nats-server-config-reloader:v1 -beclab/reverse-proxy:v0.1.8 -beclab/upgrade-job:0.1.7 -bytetrade/envoy:v1.25.11.1 -liangjw/kube-webhook-certgen:v1.1.1 -beclab/hami:v2.5.2 -alpine:3.14 -mirrorgooglecontainers/defaultbackend-amd64:1.4 -projecthami/hami-webui-fe-oss:v1.0.5 -projecthami/hami-webui-be-oss:v1.0.5 -nvidia/dcgm-exporter:4.1.1-4.0.4-ubuntu22.04 -ghcr.io/open-telemetry/opentelemetry-go-instrumentation/autoinstrumentation-go:v0.20.0 -bytetrade/autoinstrumentation-apache-httpd:1.0.4-fix3 -ghcr.io/open-telemetry/opentelemetry-operator/autoinstrumentation-nodejs:0.40.0 diff --git a/build/manifest/images.node.mf b/build/manifest/images.node.mf deleted file mode 100644 index 44de31412..000000000 --- a/build/manifest/images.node.mf +++ /dev/null @@ -1,10 +0,0 @@ -registry.k8s.io/pause:3.10 -calico/cni:v3.29.2 -calico/kube-controllers:v3.29.2 -calico/node:v3.29.2 -bitnami/kube-rbac-proxy:0.19.0 -prom/node-exporter:v1.3.1 -beclab/image-service:0.2.12 -beclab/osnode-init:v0.0.10 -beclab/files-server:v0.2.24 -beclab/fsnotify-daemon:0.1.1 diff --git a/build/manifest/pkgs b/build/manifest/pkgs deleted file mode 100644 index b655c71a0..000000000 --- a/build/manifest/pkgs +++ /dev/null @@ -1,10 +0,0 @@ -cni-plugins-v1.6.2.tgz,pkg/cni/v1.6.2,https://github.com/containernetworking/plugins/releases/download/v1.6.2/cni-plugins-linux-amd64-v1.6.2.tgz,https://github.com/containernetworking/plugins/releases/download/v1.6.2/cni-plugins-linux-arm-v1.6.2.tgz,cni-plugins -containerd-1.6.36.tar.gz,pkg/containerd/1.6.36,https://github.com/containerd/containerd/releases/download/v1.6.36/containerd-1.6.36-linux-amd64.tar.gz,https://github.com/containerd/containerd/releases/download/v1.6.36/containerd-1.6.36-linux-arm64.tar.gz,containerd -crictl-v1.32.0.tar.gz,pkg/crictl/v1.32.0,https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.32.0/crictl-v1.32.0-linux-amd64.tar.gz,https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.32.0/crictl-v1.32.0-linux-arm64.tar.gz,crictl -etcd-v3.5.18.tar.gz,pkg/etcd/v3.5.18,https://github.com/coreos/etcd/releases/download/v3.5.18/etcd-v3.5.18-linux-amd64.tar.gz,https://github.com/coreos/etcd/releases/download/v3.5.18/etcd-v3.5.18-linux-arm64.tar.gz,etcd -helm-v3.9.0.tar.gz,pkg/helm/v3.9.0,https://get.helm.sh/helm-v3.17.1-linux-amd64.tar.gz,https://get.helm.sh/helm-v3.17.1-linux-arm.tar.gz,helm -k3s-v1.32.2,pkg/kube/v1.32.2,https://github.com/k3s-io/k3s/releases/download/v1.32.2+k3s1/k3s,https://github.com/k3s-io/k3s/releases/download/v1.32.2+k3s1/k3s-arm64,k3s -kubeadm-v1.32.2,pkg/kube/v1.32.2,https://dl.k8s.io/release/v1.32.2/bin/linux/amd64/kubeadm,https://dl.k8s.io/release/v1.32.2/bin/linux/arm64/kubeadm,kubeadm -kubelet-v1.32.2,pkg/kube/v1.32.2,https://dl.k8s.io/release/v1.32.2/bin/linux/amd64/kubelet,https://dl.k8s.io/release/v1.32.2/bin/linux/arm64/kubelet,kubelet -kubectl-v1.32.2,pkg/kube/v1.32.2,https://dl.k8s.io/release/v1.32.2/bin/linux/amd64/kubectl,https://dl.k8s.io/release/v1.32.2/bin/linux/arm64/kubectl,kubectl -runc-v1.2.5,pkg/runc/v1.2.5,https://github.com/opencontainers/runc/releases/download/v1.2.5/runc.amd64,https://github.com/opencontainers/runc/releases/download/v1.2.5/runc.arm64,runc diff --git a/scripts/package.sh b/build/package.sh similarity index 72% rename from scripts/package.sh rename to build/package.sh index 635ec441f..43f2d26ca 100644 --- a/scripts/package.sh +++ b/build/package.sh @@ -7,10 +7,10 @@ function run_cmd(){ bash -c "$@" } -PACKAGE_MODULE=("frameworks" "libs" "apps" "third-party") +PACKAGE_MODULE=("apps" "framework" "daemon" "infrastructure" "platform" "vendor") -BUILD_TEMPLATE="build/installer" -DIST=${DIST_PATH:-$BUILD_TEMPLATE} +BUILD_TEMPLATE="build/base-package" +DIST=${DIST_PATH:-".dist"} echo ${DIST} @@ -34,10 +34,10 @@ mkdir -p ${DEPLOY_DIST} for mod in "${PACKAGE_MODULE[@]}";do echo "packaging ${mod} ..." - ls ${mod} | while read app; do + find ${mod} -type d -name .olares | while read app; do # package user app charts to install wizard - chart_path="${mod}/${app}/config/user/helm-charts" + chart_path="${app}/config/user/helm-charts" if [ -d ${chart_path} ]; then ls ${chart_path} | while read chart; do run_cmd "cp -rf ${chart_path}/${chart} ${APP_DIST}" @@ -45,7 +45,7 @@ for mod in "${PACKAGE_MODULE[@]}";do fi # package cluster crd to install wizard's system chart - crd_path="${mod}/${app}/config/cluster/crds" + crd_path="${app}/config/cluster/crds" if [ -d ${crd_path} ]; then ls ${crd_path} | while read crd; do run_cmd "cp -rf ${crd_path}/${crd} ${CRD_DIST}" @@ -53,7 +53,7 @@ for mod in "${PACKAGE_MODULE[@]}";do fi # package cluster deployments to install wizard's system chart - deploy_path="${mod}/${app}/config/cluster/deploy" + deploy_path="${app}/config/cluster/deploy" if [ -d ${deploy_path} ]; then ls ${deploy_path} | while read deploy; do run_cmd "cp -rf ${deploy_path}/${deploy} ${DEPLOY_DIST}" @@ -64,12 +64,9 @@ for mod in "${PACKAGE_MODULE[@]}";do done echo "packaging launcher ..." -run_cmd "cp -rf frameworks/bfl/config/launcher ${DIST}/wizard/config/" +run_cmd "cp -rf framework/bfl/.olares/config/launcher ${DIST}/wizard/config/" echo "packaging gpu ..." -run_cmd "cp -rf frameworks/GPU/config/gpu ${DIST}/wizard/config/" - -# echo "packaging develper script ..." -# run_cmd "cp -rf scripts/developer/* ${DIST}/." +run_cmd "cp -rf framework/gpu/.olares/config/gpu ${DIST}/wizard/config/" echo "packaging completed" \ No newline at end of file diff --git a/scripts/release.py b/build/release.py similarity index 100% rename from scripts/release.py rename to build/release.py diff --git a/scripts/save-deps.sh b/build/save-deps.sh similarity index 100% rename from scripts/save-deps.sh rename to build/save-deps.sh diff --git a/scripts/save-images.sh b/build/save-images.sh similarity index 100% rename from scripts/save-images.sh rename to build/save-images.sh diff --git a/build/upload-deps.sh b/build/upload-deps.sh new file mode 100644 index 000000000..614ca3fcf --- /dev/null +++ b/build/upload-deps.sh @@ -0,0 +1,74 @@ +#!/usr/bin/env bash + +set -o pipefail + +BASE_DIR=$(dirname $(realpath -s $0)) +echo "Push Deps to S3 base_dir: ${BASE_DIR}" + +if [ ! -d "$BASE_DIR/../.dependencies" ]; then + exit 1 +fi + +PLATFORM=${1:-linux/amd64} + +path="" +if [ x"$PLATFORM" == x"linux/arm64" ]; then + path="arm64/" +fi + +pushd $BASE_DIR/../.dependencies + +while read line; do + if [ x"$line" == x"" ]; then + continue + fi + + bash ${BASE_DIR}/download-deps.sh $PLATFORM $line + if [ $? -ne 0 ]; then + exit -1 + fi + + filename=$(echo "$line"|awk -F"," '{print $1}') + echo "if exists $filename ... " + name=$(echo -n "$filename"|md5sum|awk '{print $1}') + checksum="$name.checksum.txt" + md5sum $name > $checksum + backup_file=$(awk '{print $1}' $checksum) + if [ x"$backup_file" == x"" ]; then + echo "invalid checksum" + exit 1 + fi + + curl -fsSLI https://dc3p1870nn3cj.cloudfront.net/$path$name > /dev/null + if [ $? -ne 0 ]; then + code=$(curl -o /dev/null -fsSLI -w "%{http_code}" https://dc3p1870nn3cj.cloudfront.net/$path$name.tar.gz) + if [ $code -eq 403 ]; then + set -ex + aws s3 cp $name s3://terminus-os-install/$path$name --acl=public-read + aws s3 cp $name s3://terminus-os-install/backup/$path$backup_file --acl=public-read + aws s3 cp $checksum s3://terminus-os-install/$path$checksum --acl=public-read + echo "upload $name to s3 completed" + set +ex + else + if [ $code -ne 200 ]; then + echo "failed to check image" + exit -1 + fi + fi + fi + + # upload to tencent cloud cos +# curl -fsSLI https://cdn.joinolares.cn/$path$name > /dev/null +# if [ $? -ne 0 ]; then +# set -ex +# coscmd upload ./$name /$path$name +# coscmd upload ./$checksum /$path$checksum +# echo "upload $name to cos completed" +# set +ex +# fi +done < components + +popd + + + diff --git a/scripts/upload-images.sh b/build/upload-images.sh similarity index 100% rename from scripts/upload-images.sh rename to build/upload-images.sh diff --git a/scripts/yaml2prop.sh b/build/yaml2prop.sh similarity index 100% rename from scripts/yaml2prop.sh rename to build/yaml2prop.sh diff --git a/daemon/.olares/Olares.yaml b/daemon/.olares/Olares.yaml new file mode 100644 index 000000000..31fc3bfa4 --- /dev/null +++ b/daemon/.olares/Olares.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +target: prebuilt +output: + binaries: + - + id: olaresd + name: olaresd-v1.12.0-rc.10.tar.gz + amd64: https://dc3p1870nn3cj.cloudfront.net/olaresd-v1.12.0-rc.10-linux-amd64.tar.gz + arm64: https://dc3p1870nn3cj.cloudfront.net/olaresd-v1.12.0-rc.10-linux-arm64.tar.gz diff --git a/daemon/README.md b/daemon/README.md new file mode 100644 index 000000000..5437653e5 --- /dev/null +++ b/daemon/README.md @@ -0,0 +1 @@ +# olaresd \ No newline at end of file diff --git a/docs/README.md b/docs/README.md new file mode 100644 index 000000000..056a08ebd --- /dev/null +++ b/docs/README.md @@ -0,0 +1,3 @@ +# Olares Doc + +https://github.com/beclab/docs \ No newline at end of file diff --git a/apps/analytic/config/cluster/deploy/analytic_deploy.yaml b/framework/analytic/.olares/config/cluster/deploy/analytic_deploy.yaml similarity index 100% rename from apps/analytic/config/cluster/deploy/analytic_deploy.yaml rename to framework/analytic/.olares/config/cluster/deploy/analytic_deploy.yaml diff --git a/apps/analytic/README.md b/framework/analytic/README.md similarity index 100% rename from apps/analytic/README.md rename to framework/analytic/README.md diff --git a/frameworks/app-service/config/cluster/crds/app.bytetrade.io_applicationmanagers.yaml b/framework/app-service/.olares/config/cluster/crds/app.bytetrade.io_applicationmanagers.yaml similarity index 100% rename from frameworks/app-service/config/cluster/crds/app.bytetrade.io_applicationmanagers.yaml rename to framework/app-service/.olares/config/cluster/crds/app.bytetrade.io_applicationmanagers.yaml diff --git a/frameworks/app-service/config/cluster/crds/app.bytetrade.io_applications.yaml b/framework/app-service/.olares/config/cluster/crds/app.bytetrade.io_applications.yaml similarity index 100% rename from frameworks/app-service/config/cluster/crds/app.bytetrade.io_applications.yaml rename to framework/app-service/.olares/config/cluster/crds/app.bytetrade.io_applications.yaml diff --git a/frameworks/app-service/config/cluster/crds/app.bytetrade.io_imagemanagers.yaml b/framework/app-service/.olares/config/cluster/crds/app.bytetrade.io_imagemanagers.yaml similarity index 100% rename from frameworks/app-service/config/cluster/crds/app.bytetrade.io_imagemanagers.yaml rename to framework/app-service/.olares/config/cluster/crds/app.bytetrade.io_imagemanagers.yaml diff --git a/frameworks/app-service/config/cluster/deploy/appservice_deploy.yaml b/framework/app-service/.olares/config/cluster/deploy/appservice_deploy.yaml similarity index 100% rename from frameworks/app-service/config/cluster/deploy/appservice_deploy.yaml rename to framework/app-service/.olares/config/cluster/deploy/appservice_deploy.yaml diff --git a/frameworks/app-service/README.md b/framework/app-service/README.md similarity index 100% rename from frameworks/app-service/README.md rename to framework/app-service/README.md diff --git a/third-party/authelia/config/cluster/deploy/auth_backend_deploy.yaml b/framework/authelia/.olares/config/cluster/deploy/auth_backend_deploy.yaml similarity index 100% rename from third-party/authelia/config/cluster/deploy/auth_backend_deploy.yaml rename to framework/authelia/.olares/config/cluster/deploy/auth_backend_deploy.yaml diff --git a/build/installer/wizard/config/settings/.helmignore b/framework/authelia/.olares/config/user/helm-charts/auth/.helmignore similarity index 100% rename from build/installer/wizard/config/settings/.helmignore rename to framework/authelia/.olares/config/user/helm-charts/auth/.helmignore diff --git a/third-party/authelia/config/user/helm-charts/auth/Chart.yaml b/framework/authelia/.olares/config/user/helm-charts/auth/Chart.yaml similarity index 100% rename from third-party/authelia/config/user/helm-charts/auth/Chart.yaml rename to framework/authelia/.olares/config/user/helm-charts/auth/Chart.yaml diff --git a/apps/wizard/config/user/helm-charts/wizard/templates/NOTES.txt b/framework/authelia/.olares/config/user/helm-charts/auth/templates/NOTES.txt similarity index 100% rename from apps/wizard/config/user/helm-charts/wizard/templates/NOTES.txt rename to framework/authelia/.olares/config/user/helm-charts/auth/templates/NOTES.txt diff --git a/third-party/authelia/config/user/helm-charts/auth/templates/_helpers.tpl b/framework/authelia/.olares/config/user/helm-charts/auth/templates/_helpers.tpl similarity index 100% rename from third-party/authelia/config/user/helm-charts/auth/templates/_helpers.tpl rename to framework/authelia/.olares/config/user/helm-charts/auth/templates/_helpers.tpl diff --git a/third-party/authelia/config/user/helm-charts/auth/templates/auth_deploy.yaml b/framework/authelia/.olares/config/user/helm-charts/auth/templates/auth_deploy.yaml similarity index 100% rename from third-party/authelia/config/user/helm-charts/auth/templates/auth_deploy.yaml rename to framework/authelia/.olares/config/user/helm-charts/auth/templates/auth_deploy.yaml diff --git a/apps/vault/config/user/helm-charts/vault/values.yaml b/framework/authelia/.olares/config/user/helm-charts/auth/values.yaml similarity index 100% rename from apps/vault/config/user/helm-charts/vault/values.yaml rename to framework/authelia/.olares/config/user/helm-charts/auth/values.yaml diff --git a/third-party/authelia/README.md b/framework/authelia/README.md similarity index 100% rename from third-party/authelia/README.md rename to framework/authelia/README.md diff --git a/frameworks/backup-server/config/cluster/crds/sys.bytetrade.io_backups.yaml b/framework/backup-server/.olares/config/cluster/crds/sys.bytetrade.io_backups.yaml similarity index 100% rename from frameworks/backup-server/config/cluster/crds/sys.bytetrade.io_backups.yaml rename to framework/backup-server/.olares/config/cluster/crds/sys.bytetrade.io_backups.yaml diff --git a/frameworks/backup-server/config/cluster/crds/sys.bytetrade.io_restores.yaml b/framework/backup-server/.olares/config/cluster/crds/sys.bytetrade.io_restores.yaml similarity index 100% rename from frameworks/backup-server/config/cluster/crds/sys.bytetrade.io_restores.yaml rename to framework/backup-server/.olares/config/cluster/crds/sys.bytetrade.io_restores.yaml diff --git a/frameworks/backup-server/config/cluster/crds/sys.bytetrade.io_snapshots.yaml b/framework/backup-server/.olares/config/cluster/crds/sys.bytetrade.io_snapshots.yaml similarity index 100% rename from frameworks/backup-server/config/cluster/crds/sys.bytetrade.io_snapshots.yaml rename to framework/backup-server/.olares/config/cluster/crds/sys.bytetrade.io_snapshots.yaml diff --git a/frameworks/backup-server/config/cluster/deploy/backup_server.yaml b/framework/backup-server/.olares/config/cluster/deploy/backup_server.yaml similarity index 100% rename from frameworks/backup-server/config/cluster/deploy/backup_server.yaml rename to framework/backup-server/.olares/config/cluster/deploy/backup_server.yaml diff --git a/frameworks/backup-server/README.md b/framework/backup-server/README.md similarity index 100% rename from frameworks/backup-server/README.md rename to framework/backup-server/README.md diff --git a/build/installer/wizard/config/system/.helmignore b/framework/bfl/.olares/config/launcher/.helmignore similarity index 100% rename from build/installer/wizard/config/system/.helmignore rename to framework/bfl/.olares/config/launcher/.helmignore diff --git a/frameworks/bfl/config/launcher/Chart.yaml b/framework/bfl/.olares/config/launcher/Chart.yaml similarity index 100% rename from frameworks/bfl/config/launcher/Chart.yaml rename to framework/bfl/.olares/config/launcher/Chart.yaml diff --git a/build/installer/wizard/config/system/templates/NOTES.txt b/framework/bfl/.olares/config/launcher/templates/NOTES.txt similarity index 100% rename from build/installer/wizard/config/system/templates/NOTES.txt rename to framework/bfl/.olares/config/launcher/templates/NOTES.txt diff --git a/frameworks/bfl/config/launcher/templates/_helpers.tpl b/framework/bfl/.olares/config/launcher/templates/_helpers.tpl similarity index 100% rename from frameworks/bfl/config/launcher/templates/_helpers.tpl rename to framework/bfl/.olares/config/launcher/templates/_helpers.tpl diff --git a/frameworks/bfl/config/launcher/templates/bfl_deploy.yaml b/framework/bfl/.olares/config/launcher/templates/bfl_deploy.yaml similarity index 100% rename from frameworks/bfl/config/launcher/templates/bfl_deploy.yaml rename to framework/bfl/.olares/config/launcher/templates/bfl_deploy.yaml diff --git a/frameworks/bfl/config/launcher/templates/otel_define.yaml b/framework/bfl/.olares/config/launcher/templates/otel_define.yaml similarity index 100% rename from frameworks/bfl/config/launcher/templates/otel_define.yaml rename to framework/bfl/.olares/config/launcher/templates/otel_define.yaml diff --git a/frameworks/bfl/config/launcher/values.yaml b/framework/bfl/.olares/config/launcher/values.yaml similarity index 100% rename from frameworks/bfl/config/launcher/values.yaml rename to framework/bfl/.olares/config/launcher/values.yaml diff --git a/frameworks/bfl/README.md b/framework/bfl/README.md similarity index 100% rename from frameworks/bfl/README.md rename to framework/bfl/README.md diff --git a/framework/docker-nginx-headers-more/.olares/Olares.yaml b/framework/docker-nginx-headers-more/.olares/Olares.yaml new file mode 100644 index 000000000..1bb90a9c3 --- /dev/null +++ b/framework/docker-nginx-headers-more/.olares/Olares.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +target: prebuilt +output: + containers: + - + name: beclab/docker-nginx-headers-more:ubuntu-v0.1.0 +# must have blank new line \ No newline at end of file diff --git a/framework/docker-nginx-headers-more/README.md b/framework/docker-nginx-headers-more/README.md new file mode 100644 index 000000000..fc111348b --- /dev/null +++ b/framework/docker-nginx-headers-more/README.md @@ -0,0 +1,3 @@ +# docker-nginx-headers-more + +https://github.com/Above-Os/docker-nginx-headers-more \ No newline at end of file diff --git a/libs/fs-lib/config/cluster/crds/sys.bytetrade.io_fswatcher.yaml b/framework/fs-lib/.olares/config/cluster/crds/sys.bytetrade.io_fswatcher.yaml similarity index 100% rename from libs/fs-lib/config/cluster/crds/sys.bytetrade.io_fswatcher.yaml rename to framework/fs-lib/.olares/config/cluster/crds/sys.bytetrade.io_fswatcher.yaml diff --git a/libs/fs-lib/config/cluster/deploy/fsnotify_daemon.yaml b/framework/fs-lib/.olares/config/cluster/deploy/fsnotify_daemon.yaml similarity index 100% rename from libs/fs-lib/config/cluster/deploy/fsnotify_daemon.yaml rename to framework/fs-lib/.olares/config/cluster/deploy/fsnotify_daemon.yaml diff --git a/libs/fs-lib/config/cluster/deploy/fsnotify_deploy.yaml b/framework/fs-lib/.olares/config/cluster/deploy/fsnotify_deploy.yaml similarity index 100% rename from libs/fs-lib/config/cluster/deploy/fsnotify_deploy.yaml rename to framework/fs-lib/.olares/config/cluster/deploy/fsnotify_deploy.yaml diff --git a/frameworks/bfl/config/launcher/.helmignore b/framework/fs-lib/.olares/config/user/helm-charts/fsnotify/.helmignore similarity index 100% rename from frameworks/bfl/config/launcher/.helmignore rename to framework/fs-lib/.olares/config/user/helm-charts/fsnotify/.helmignore diff --git a/libs/fs-lib/config/user/helm-charts/fsnotify/Chart.yaml b/framework/fs-lib/.olares/config/user/helm-charts/fsnotify/Chart.yaml similarity index 100% rename from libs/fs-lib/config/user/helm-charts/fsnotify/Chart.yaml rename to framework/fs-lib/.olares/config/user/helm-charts/fsnotify/Chart.yaml diff --git a/frameworks/bfl/config/launcher/templates/NOTES.txt b/framework/fs-lib/.olares/config/user/helm-charts/fsnotify/templates/NOTES.txt similarity index 100% rename from frameworks/bfl/config/launcher/templates/NOTES.txt rename to framework/fs-lib/.olares/config/user/helm-charts/fsnotify/templates/NOTES.txt diff --git a/libs/fs-lib/config/user/helm-charts/fsnotify/templates/_helpers.tpl b/framework/fs-lib/.olares/config/user/helm-charts/fsnotify/templates/_helpers.tpl similarity index 100% rename from libs/fs-lib/config/user/helm-charts/fsnotify/templates/_helpers.tpl rename to framework/fs-lib/.olares/config/user/helm-charts/fsnotify/templates/_helpers.tpl diff --git a/libs/fs-lib/config/user/helm-charts/fsnotify/templates/fsnotify_deploy.yaml b/framework/fs-lib/.olares/config/user/helm-charts/fsnotify/templates/fsnotify_deploy.yaml similarity index 100% rename from libs/fs-lib/config/user/helm-charts/fsnotify/templates/fsnotify_deploy.yaml rename to framework/fs-lib/.olares/config/user/helm-charts/fsnotify/templates/fsnotify_deploy.yaml diff --git a/frameworks/system-server/config/user/helm-charts/systemserver/values.yaml b/framework/fs-lib/.olares/config/user/helm-charts/fsnotify/values.yaml similarity index 100% rename from frameworks/system-server/config/user/helm-charts/systemserver/values.yaml rename to framework/fs-lib/.olares/config/user/helm-charts/fsnotify/values.yaml diff --git a/libs/fs-lib/README.md b/framework/fs-lib/README.md similarity index 100% rename from libs/fs-lib/README.md rename to framework/fs-lib/README.md diff --git a/frameworks/GPU/config/gpu/hami/Chart.yaml b/framework/gpu/.olares/config/gpu/hami/Chart.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/Chart.yaml rename to framework/gpu/.olares/config/gpu/hami/Chart.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/NOTES.txt b/framework/gpu/.olares/config/gpu/hami/templates/NOTES.txt similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/NOTES.txt rename to framework/gpu/.olares/config/gpu/hami/templates/NOTES.txt diff --git a/frameworks/GPU/config/gpu/hami/templates/_helpers.tpl b/framework/gpu/.olares/config/gpu/hami/templates/_helpers.tpl similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/_helpers.tpl rename to framework/gpu/.olares/config/gpu/hami/templates/_helpers.tpl diff --git a/frameworks/GPU/config/gpu/hami/templates/dcgm-exporter/daemonset.yaml b/framework/gpu/.olares/config/gpu/hami/templates/dcgm-exporter/daemonset.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/dcgm-exporter/daemonset.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/dcgm-exporter/daemonset.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/dcgm-exporter/metrics-configmap.yaml b/framework/gpu/.olares/config/gpu/hami/templates/dcgm-exporter/metrics-configmap.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/dcgm-exporter/metrics-configmap.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/dcgm-exporter/metrics-configmap.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/dcgm-exporter/role.yaml b/framework/gpu/.olares/config/gpu/hami/templates/dcgm-exporter/role.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/dcgm-exporter/role.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/dcgm-exporter/role.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/dcgm-exporter/rolebinding.yaml b/framework/gpu/.olares/config/gpu/hami/templates/dcgm-exporter/rolebinding.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/dcgm-exporter/rolebinding.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/dcgm-exporter/rolebinding.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/dcgm-exporter/service-monitor.yaml b/framework/gpu/.olares/config/gpu/hami/templates/dcgm-exporter/service-monitor.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/dcgm-exporter/service-monitor.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/dcgm-exporter/service-monitor.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/dcgm-exporter/service.yaml b/framework/gpu/.olares/config/gpu/hami/templates/dcgm-exporter/service.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/dcgm-exporter/service.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/dcgm-exporter/service.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/dcgm-exporter/serviceaccount.yaml b/framework/gpu/.olares/config/gpu/hami/templates/dcgm-exporter/serviceaccount.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/dcgm-exporter/serviceaccount.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/dcgm-exporter/serviceaccount.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/dcgm-exporter/tls-secret.yaml b/framework/gpu/.olares/config/gpu/hami/templates/dcgm-exporter/tls-secret.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/dcgm-exporter/tls-secret.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/dcgm-exporter/tls-secret.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/dcgm-exporter/web-config-configmap.yaml b/framework/gpu/.olares/config/gpu/hami/templates/dcgm-exporter/web-config-configmap.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/dcgm-exporter/web-config-configmap.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/dcgm-exporter/web-config-configmap.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/device-plugin/configmap.yaml b/framework/gpu/.olares/config/gpu/hami/templates/device-plugin/configmap.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/device-plugin/configmap.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/device-plugin/configmap.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/device-plugin/daemonsetnvidia.yaml b/framework/gpu/.olares/config/gpu/hami/templates/device-plugin/daemonsetnvidia.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/device-plugin/daemonsetnvidia.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/device-plugin/daemonsetnvidia.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/device-plugin/monitorrole.yaml b/framework/gpu/.olares/config/gpu/hami/templates/device-plugin/monitorrole.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/device-plugin/monitorrole.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/device-plugin/monitorrole.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/device-plugin/monitorrolebinding.yaml b/framework/gpu/.olares/config/gpu/hami/templates/device-plugin/monitorrolebinding.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/device-plugin/monitorrolebinding.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/device-plugin/monitorrolebinding.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/device-plugin/monitorservice.yaml b/framework/gpu/.olares/config/gpu/hami/templates/device-plugin/monitorservice.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/device-plugin/monitorservice.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/device-plugin/monitorservice.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/device-plugin/monitorserviceaccount.yaml b/framework/gpu/.olares/config/gpu/hami/templates/device-plugin/monitorserviceaccount.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/device-plugin/monitorserviceaccount.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/device-plugin/monitorserviceaccount.yaml diff --git a/build/installer/deploy/nvshare-system-quotas.yaml b/framework/gpu/.olares/config/gpu/hami/templates/nvshare/nvshare-system-quotas.yaml similarity index 100% rename from build/installer/deploy/nvshare-system-quotas.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/nvshare/nvshare-system-quotas.yaml diff --git a/build/installer/deploy/nvshare-system.yaml b/framework/gpu/.olares/config/gpu/hami/templates/nvshare/nvshare-system.yaml similarity index 100% rename from build/installer/deploy/nvshare-system.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/nvshare/nvshare-system.yaml diff --git a/build/installer/deploy/scheduler.yaml b/framework/gpu/.olares/config/gpu/hami/templates/nvshare/scheduler.yaml similarity index 100% rename from build/installer/deploy/scheduler.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/nvshare/scheduler.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/scheduler/configmap.yaml b/framework/gpu/.olares/config/gpu/hami/templates/scheduler/configmap.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/scheduler/configmap.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/scheduler/configmap.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/scheduler/configmapnew.yaml b/framework/gpu/.olares/config/gpu/hami/templates/scheduler/configmapnew.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/scheduler/configmapnew.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/scheduler/configmapnew.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/scheduler/deployment.yaml b/framework/gpu/.olares/config/gpu/hami/templates/scheduler/deployment.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/scheduler/deployment.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/scheduler/deployment.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/scheduler/device-configmap.yaml b/framework/gpu/.olares/config/gpu/hami/templates/scheduler/device-configmap.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/scheduler/device-configmap.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/scheduler/device-configmap.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/scheduler/job-patch/clusterrole.yaml b/framework/gpu/.olares/config/gpu/hami/templates/scheduler/job-patch/clusterrole.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/scheduler/job-patch/clusterrole.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/scheduler/job-patch/clusterrole.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/scheduler/job-patch/clusterrolebinding.yaml b/framework/gpu/.olares/config/gpu/hami/templates/scheduler/job-patch/clusterrolebinding.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/scheduler/job-patch/clusterrolebinding.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/scheduler/job-patch/clusterrolebinding.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/scheduler/job-patch/job-createSecret.yaml b/framework/gpu/.olares/config/gpu/hami/templates/scheduler/job-patch/job-createSecret.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/scheduler/job-patch/job-createSecret.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/scheduler/job-patch/job-createSecret.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/scheduler/job-patch/job-patchWebhook.yaml b/framework/gpu/.olares/config/gpu/hami/templates/scheduler/job-patch/job-patchWebhook.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/scheduler/job-patch/job-patchWebhook.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/scheduler/job-patch/job-patchWebhook.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/scheduler/job-patch/psp.yaml b/framework/gpu/.olares/config/gpu/hami/templates/scheduler/job-patch/psp.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/scheduler/job-patch/psp.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/scheduler/job-patch/psp.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/scheduler/job-patch/role.yaml b/framework/gpu/.olares/config/gpu/hami/templates/scheduler/job-patch/role.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/scheduler/job-patch/role.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/scheduler/job-patch/role.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/scheduler/job-patch/rolebinding.yaml b/framework/gpu/.olares/config/gpu/hami/templates/scheduler/job-patch/rolebinding.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/scheduler/job-patch/rolebinding.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/scheduler/job-patch/rolebinding.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/scheduler/job-patch/serviceaccount.yaml b/framework/gpu/.olares/config/gpu/hami/templates/scheduler/job-patch/serviceaccount.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/scheduler/job-patch/serviceaccount.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/scheduler/job-patch/serviceaccount.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/scheduler/rolebinding.yaml b/framework/gpu/.olares/config/gpu/hami/templates/scheduler/rolebinding.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/scheduler/rolebinding.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/scheduler/rolebinding.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/scheduler/service.yaml b/framework/gpu/.olares/config/gpu/hami/templates/scheduler/service.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/scheduler/service.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/scheduler/service.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/scheduler/serviceaccount.yaml b/framework/gpu/.olares/config/gpu/hami/templates/scheduler/serviceaccount.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/scheduler/serviceaccount.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/scheduler/serviceaccount.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/scheduler/webhook.yaml b/framework/gpu/.olares/config/gpu/hami/templates/scheduler/webhook.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/scheduler/webhook.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/scheduler/webhook.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/webui/configmap.yaml b/framework/gpu/.olares/config/gpu/hami/templates/webui/configmap.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/webui/configmap.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/webui/configmap.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/webui/deployment.yaml b/framework/gpu/.olares/config/gpu/hami/templates/webui/deployment.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/webui/deployment.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/webui/deployment.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/webui/hamiservicemonitor.yaml b/framework/gpu/.olares/config/gpu/hami/templates/webui/hamiservicemonitor.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/webui/hamiservicemonitor.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/webui/hamiservicemonitor.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/webui/role.yaml b/framework/gpu/.olares/config/gpu/hami/templates/webui/role.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/webui/role.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/webui/role.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/webui/rolebinding.yaml b/framework/gpu/.olares/config/gpu/hami/templates/webui/rolebinding.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/webui/rolebinding.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/webui/rolebinding.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/webui/service.yaml b/framework/gpu/.olares/config/gpu/hami/templates/webui/service.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/webui/service.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/webui/service.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/webui/serviceaccount.yaml b/framework/gpu/.olares/config/gpu/hami/templates/webui/serviceaccount.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/webui/serviceaccount.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/webui/serviceaccount.yaml diff --git a/frameworks/GPU/config/gpu/hami/templates/webui/servicemonitor.yaml b/framework/gpu/.olares/config/gpu/hami/templates/webui/servicemonitor.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/templates/webui/servicemonitor.yaml rename to framework/gpu/.olares/config/gpu/hami/templates/webui/servicemonitor.yaml diff --git a/frameworks/GPU/config/gpu/hami/values.yaml b/framework/gpu/.olares/config/gpu/hami/values.yaml similarity index 100% rename from frameworks/GPU/config/gpu/hami/values.yaml rename to framework/gpu/.olares/config/gpu/hami/values.yaml diff --git a/frameworks/GPU/README.md b/framework/gpu/README.md similarity index 100% rename from frameworks/GPU/README.md rename to framework/gpu/README.md diff --git a/frameworks/system-server/config/user/helm-charts/systemserver/.helmignore b/framework/headscale/.olares/config/user/helm-charts/headscale/.helmignore similarity index 100% rename from frameworks/system-server/config/user/helm-charts/systemserver/.helmignore rename to framework/headscale/.olares/config/user/helm-charts/headscale/.helmignore diff --git a/third-party/headscale/config/user/helm-charts/headscale/Chart.yaml b/framework/headscale/.olares/config/user/helm-charts/headscale/Chart.yaml similarity index 100% rename from third-party/headscale/config/user/helm-charts/headscale/Chart.yaml rename to framework/headscale/.olares/config/user/helm-charts/headscale/Chart.yaml diff --git a/frameworks/system-server/config/user/helm-charts/systemserver/templates/NOTES.txt b/framework/headscale/.olares/config/user/helm-charts/headscale/templates/NOTES.txt similarity index 100% rename from frameworks/system-server/config/user/helm-charts/systemserver/templates/NOTES.txt rename to framework/headscale/.olares/config/user/helm-charts/headscale/templates/NOTES.txt diff --git a/third-party/headscale/config/user/helm-charts/headscale/templates/_helpers.tpl b/framework/headscale/.olares/config/user/helm-charts/headscale/templates/_helpers.tpl similarity index 100% rename from third-party/headscale/config/user/helm-charts/headscale/templates/_helpers.tpl rename to framework/headscale/.olares/config/user/helm-charts/headscale/templates/_helpers.tpl diff --git a/third-party/headscale/config/user/helm-charts/headscale/templates/headscale_deploy.yaml b/framework/headscale/.olares/config/user/helm-charts/headscale/templates/headscale_deploy.yaml similarity index 100% rename from third-party/headscale/config/user/helm-charts/headscale/templates/headscale_deploy.yaml rename to framework/headscale/.olares/config/user/helm-charts/headscale/templates/headscale_deploy.yaml diff --git a/frameworks/tapr/config/user/helm-charts/citus/values.yaml b/framework/headscale/.olares/config/user/helm-charts/headscale/values.yaml similarity index 100% rename from frameworks/tapr/config/user/helm-charts/citus/values.yaml rename to framework/headscale/.olares/config/user/helm-charts/headscale/values.yaml diff --git a/third-party/headscale/README.md b/framework/headscale/README.md similarity index 100% rename from third-party/headscale/README.md rename to framework/headscale/README.md diff --git a/third-party/infisical/config/cluster/deploy/infisical_deploy.yaml b/framework/infisical/.olares/config/cluster/deploy/infisical_deploy.yaml similarity index 100% rename from third-party/infisical/config/cluster/deploy/infisical_deploy.yaml rename to framework/infisical/.olares/config/cluster/deploy/infisical_deploy.yaml diff --git a/frameworks/tapr/config/user/helm-charts/citus/.helmignore b/framework/infisical/.olares/config/user/helm-charts/infisical/.helmignore similarity index 100% rename from frameworks/tapr/config/user/helm-charts/citus/.helmignore rename to framework/infisical/.olares/config/user/helm-charts/infisical/.helmignore diff --git a/third-party/infisical/config/user/helm-charts/infisical/Chart.yaml b/framework/infisical/.olares/config/user/helm-charts/infisical/Chart.yaml similarity index 100% rename from third-party/infisical/config/user/helm-charts/infisical/Chart.yaml rename to framework/infisical/.olares/config/user/helm-charts/infisical/Chart.yaml diff --git a/frameworks/tapr/config/user/helm-charts/citus/templates/NOTES.txt b/framework/infisical/.olares/config/user/helm-charts/infisical/templates/NOTES.txt similarity index 100% rename from frameworks/tapr/config/user/helm-charts/citus/templates/NOTES.txt rename to framework/infisical/.olares/config/user/helm-charts/infisical/templates/NOTES.txt diff --git a/third-party/infisical/config/user/helm-charts/infisical/templates/_helpers.tpl b/framework/infisical/.olares/config/user/helm-charts/infisical/templates/_helpers.tpl similarity index 100% rename from third-party/infisical/config/user/helm-charts/infisical/templates/_helpers.tpl rename to framework/infisical/.olares/config/user/helm-charts/infisical/templates/_helpers.tpl diff --git a/third-party/infisical/config/user/helm-charts/infisical/templates/infisical_deploy.yaml b/framework/infisical/.olares/config/user/helm-charts/infisical/templates/infisical_deploy.yaml similarity index 100% rename from third-party/infisical/config/user/helm-charts/infisical/templates/infisical_deploy.yaml rename to framework/infisical/.olares/config/user/helm-charts/infisical/templates/infisical_deploy.yaml diff --git a/frameworks/tapr/config/user/helm-charts/mongo/values.yaml b/framework/infisical/.olares/config/user/helm-charts/infisical/values.yaml similarity index 100% rename from frameworks/tapr/config/user/helm-charts/mongo/values.yaml rename to framework/infisical/.olares/config/user/helm-charts/infisical/values.yaml diff --git a/third-party/infisical/README.md b/framework/infisical/README.md similarity index 100% rename from third-party/infisical/README.md rename to framework/infisical/README.md diff --git a/apps/knowledge/config/cluster/deploy/knowledge_deployment.yaml b/framework/knowledge/.olares/config/cluster/deploy/knowledge_deployment.yaml similarity index 100% rename from apps/knowledge/config/cluster/deploy/knowledge_deployment.yaml rename to framework/knowledge/.olares/config/cluster/deploy/knowledge_deployment.yaml diff --git a/apps/knowledge/README.md b/framework/knowledge/README.md similarity index 100% rename from apps/knowledge/README.md rename to framework/knowledge/README.md diff --git a/framework/kube-state-metrics/.olares/Olares.yaml b/framework/kube-state-metrics/.olares/Olares.yaml new file mode 100644 index 000000000..6029e31c1 --- /dev/null +++ b/framework/kube-state-metrics/.olares/Olares.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +target: prebuilt +output: + containers: + - + name: beclab/kube-state-metrics:v2.3.0-ext.1 +# must have blank new line \ No newline at end of file diff --git a/third-party/kube-state-metrics/README.md b/framework/kube-state-metrics/README.md similarity index 100% rename from third-party/kube-state-metrics/README.md rename to framework/kube-state-metrics/README.md diff --git a/framework/l4-bfl-proxy/.olares/Olares.yaml b/framework/l4-bfl-proxy/.olares/Olares.yaml new file mode 100644 index 000000000..06387e723 --- /dev/null +++ b/framework/l4-bfl-proxy/.olares/Olares.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +target: prebuilt +output: + containers: + - + name: beclab/l4-bfl-proxy:v0.3.0 +# must have blank new line \ No newline at end of file diff --git a/frameworks/l4-bfl-proxy/README.md b/framework/l4-bfl-proxy/README.md similarity index 100% rename from frameworks/l4-bfl-proxy/README.md rename to framework/l4-bfl-proxy/README.md diff --git a/apps/notifications/config/cluster/deploy/notification_deploy.yaml b/framework/notifications/.olares/config/cluster/deploy/notification_deploy.yaml similarity index 100% rename from apps/notifications/config/cluster/deploy/notification_deploy.yaml rename to framework/notifications/.olares/config/cluster/deploy/notification_deploy.yaml diff --git a/frameworks/tapr/config/user/helm-charts/mongo/.helmignore b/framework/notifications/.olares/config/user/helm-charts/notification/.helmignore similarity index 100% rename from frameworks/tapr/config/user/helm-charts/mongo/.helmignore rename to framework/notifications/.olares/config/user/helm-charts/notification/.helmignore diff --git a/apps/notifications/config/user/helm-charts/notification/Chart.yaml b/framework/notifications/.olares/config/user/helm-charts/notification/Chart.yaml similarity index 100% rename from apps/notifications/config/user/helm-charts/notification/Chart.yaml rename to framework/notifications/.olares/config/user/helm-charts/notification/Chart.yaml diff --git a/frameworks/tapr/config/user/helm-charts/mongo/templates/NOTES.txt b/framework/notifications/.olares/config/user/helm-charts/notification/templates/NOTES.txt similarity index 100% rename from frameworks/tapr/config/user/helm-charts/mongo/templates/NOTES.txt rename to framework/notifications/.olares/config/user/helm-charts/notification/templates/NOTES.txt diff --git a/apps/notifications/config/user/helm-charts/notification/templates/_helpers.tpl b/framework/notifications/.olares/config/user/helm-charts/notification/templates/_helpers.tpl similarity index 100% rename from apps/notifications/config/user/helm-charts/notification/templates/_helpers.tpl rename to framework/notifications/.olares/config/user/helm-charts/notification/templates/_helpers.tpl diff --git a/apps/notifications/config/user/helm-charts/notification/templates/notification_deploy.yaml b/framework/notifications/.olares/config/user/helm-charts/notification/templates/notification_deploy.yaml similarity index 100% rename from apps/notifications/config/user/helm-charts/notification/templates/notification_deploy.yaml rename to framework/notifications/.olares/config/user/helm-charts/notification/templates/notification_deploy.yaml diff --git a/frameworks/tapr/config/user/helm-charts/redis/values.yaml b/framework/notifications/.olares/config/user/helm-charts/notification/values.yaml similarity index 100% rename from frameworks/tapr/config/user/helm-charts/redis/values.yaml rename to framework/notifications/.olares/config/user/helm-charts/notification/values.yaml diff --git a/apps/notifications/README.md b/framework/notifications/README.md similarity index 100% rename from apps/notifications/README.md rename to framework/notifications/README.md diff --git a/frameworks/osnode-init/config/cluster/deploy/nodeinit_daemonset.yaml b/framework/osnode-init/.olares/config/cluster/deploy/nodeinit_daemonset.yaml similarity index 100% rename from frameworks/osnode-init/config/cluster/deploy/nodeinit_daemonset.yaml rename to framework/osnode-init/.olares/config/cluster/deploy/nodeinit_daemonset.yaml diff --git a/frameworks/osnode-init/README.md b/framework/osnode-init/README.md similarity index 100% rename from frameworks/osnode-init/README.md rename to framework/osnode-init/README.md diff --git a/framework/reverse-proxy/.olares/Olares.yaml b/framework/reverse-proxy/.olares/Olares.yaml new file mode 100644 index 000000000..29c440ec1 --- /dev/null +++ b/framework/reverse-proxy/.olares/Olares.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +target: prebuilt +output: + containers: + - + name: beclab/reverse-proxy:v0.1.8 + + + diff --git a/framework/reverse-proxy/README.md b/framework/reverse-proxy/README.md new file mode 100644 index 000000000..214cb089b --- /dev/null +++ b/framework/reverse-proxy/README.md @@ -0,0 +1 @@ +# reverse-proxy \ No newline at end of file diff --git a/apps/rss/config/cluster/deploy/rss_deploy.yaml b/framework/rsshub/.olares/config/cluster/deploy/rss_deploy.yaml similarity index 100% rename from apps/rss/config/cluster/deploy/rss_deploy.yaml rename to framework/rsshub/.olares/config/cluster/deploy/rss_deploy.yaml diff --git a/framework/rsshub/README.md b/framework/rsshub/README.md new file mode 100644 index 000000000..2e7096bdd --- /dev/null +++ b/framework/rsshub/README.md @@ -0,0 +1,3 @@ +# rsshub + +https://github.com/beclab/rsshub \ No newline at end of file diff --git a/third-party/seahub/config/cluster/deploy/seafile_deploy.yaml b/framework/seahub/.olares/config/cluster/deploy/seafile_deploy.yaml similarity index 100% rename from third-party/seahub/config/cluster/deploy/seafile_deploy.yaml rename to framework/seahub/.olares/config/cluster/deploy/seafile_deploy.yaml diff --git a/frameworks/tapr/config/user/helm-charts/nats/.helmignore b/framework/seahub/.olares/config/user/helm-charts/seafile/.helmignore similarity index 100% rename from frameworks/tapr/config/user/helm-charts/nats/.helmignore rename to framework/seahub/.olares/config/user/helm-charts/seafile/.helmignore diff --git a/third-party/seahub/config/user/helm-charts/seafile/Chart.yaml b/framework/seahub/.olares/config/user/helm-charts/seafile/Chart.yaml similarity index 100% rename from third-party/seahub/config/user/helm-charts/seafile/Chart.yaml rename to framework/seahub/.olares/config/user/helm-charts/seafile/Chart.yaml diff --git a/frameworks/tapr/config/user/helm-charts/redis/templates/NOTES.txt b/framework/seahub/.olares/config/user/helm-charts/seafile/templates/NOTES.txt similarity index 100% rename from frameworks/tapr/config/user/helm-charts/redis/templates/NOTES.txt rename to framework/seahub/.olares/config/user/helm-charts/seafile/templates/NOTES.txt diff --git a/third-party/seahub/config/user/helm-charts/seafile/templates/_helpers.tpl b/framework/seahub/.olares/config/user/helm-charts/seafile/templates/_helpers.tpl similarity index 100% rename from third-party/seahub/config/user/helm-charts/seafile/templates/_helpers.tpl rename to framework/seahub/.olares/config/user/helm-charts/seafile/templates/_helpers.tpl diff --git a/third-party/seahub/config/user/helm-charts/seafile/templates/seafile_fe_deploy.yaml b/framework/seahub/.olares/config/user/helm-charts/seafile/templates/seafile_fe_deploy.yaml similarity index 100% rename from third-party/seahub/config/user/helm-charts/seafile/templates/seafile_fe_deploy.yaml rename to framework/seahub/.olares/config/user/helm-charts/seafile/templates/seafile_fe_deploy.yaml diff --git a/frameworks/tapr/config/user/helm-charts/nats/values.yaml b/framework/seahub/.olares/config/user/helm-charts/seafile/values.yaml similarity index 100% rename from frameworks/tapr/config/user/helm-charts/nats/values.yaml rename to framework/seahub/.olares/config/user/helm-charts/seafile/values.yaml diff --git a/third-party/seahub/README.md b/framework/seahub/README.md similarity index 50% rename from third-party/seahub/README.md rename to framework/seahub/README.md index a00fa69dc..0a1a207e6 100644 --- a/third-party/seahub/README.md +++ b/framework/seahub/README.md @@ -1,3 +1,4 @@ # seahub +https://github.com/beclab/seafile-server https://github.com/beclab/seahub \ No newline at end of file diff --git a/apps/search3/config/cluster/deploy/search3_server_deploy.yaml b/framework/search3/.olares/config/cluster/deploy/search3_server_deploy.yaml similarity index 100% rename from apps/search3/config/cluster/deploy/search3_server_deploy.yaml rename to framework/search3/.olares/config/cluster/deploy/search3_server_deploy.yaml diff --git a/frameworks/tapr/config/user/helm-charts/tapr/templates/NOTES.txt b/framework/search3/README.md similarity index 100% rename from frameworks/tapr/config/user/helm-charts/tapr/templates/NOTES.txt rename to framework/search3/README.md diff --git a/frameworks/system-server/config/cluster/crds/sys.bytetrade.io_aplicationpermission.yaml b/framework/system-server/.olares/config/cluster/crds/sys.bytetrade.io_aplicationpermission.yaml similarity index 100% rename from frameworks/system-server/config/cluster/crds/sys.bytetrade.io_aplicationpermission.yaml rename to framework/system-server/.olares/config/cluster/crds/sys.bytetrade.io_aplicationpermission.yaml diff --git a/frameworks/system-server/config/cluster/crds/sys.bytetrade.io_providerregistry.yaml b/framework/system-server/.olares/config/cluster/crds/sys.bytetrade.io_providerregistry.yaml similarity index 100% rename from frameworks/system-server/config/cluster/crds/sys.bytetrade.io_providerregistry.yaml rename to framework/system-server/.olares/config/cluster/crds/sys.bytetrade.io_providerregistry.yaml diff --git a/frameworks/tapr/config/user/helm-charts/redis/.helmignore b/framework/system-server/.olares/config/user/helm-charts/systemserver/.helmignore similarity index 100% rename from frameworks/tapr/config/user/helm-charts/redis/.helmignore rename to framework/system-server/.olares/config/user/helm-charts/systemserver/.helmignore diff --git a/frameworks/system-server/config/user/helm-charts/systemserver/Chart.yaml b/framework/system-server/.olares/config/user/helm-charts/systemserver/Chart.yaml similarity index 100% rename from frameworks/system-server/config/user/helm-charts/systemserver/Chart.yaml rename to framework/system-server/.olares/config/user/helm-charts/systemserver/Chart.yaml diff --git a/libs/fs-lib/config/user/helm-charts/fsnotify/templates/NOTES.txt b/framework/system-server/.olares/config/user/helm-charts/systemserver/templates/NOTES.txt similarity index 100% rename from libs/fs-lib/config/user/helm-charts/fsnotify/templates/NOTES.txt rename to framework/system-server/.olares/config/user/helm-charts/systemserver/templates/NOTES.txt diff --git a/frameworks/system-server/config/user/helm-charts/systemserver/templates/_helpers.tpl b/framework/system-server/.olares/config/user/helm-charts/systemserver/templates/_helpers.tpl similarity index 100% rename from frameworks/system-server/config/user/helm-charts/systemserver/templates/_helpers.tpl rename to framework/system-server/.olares/config/user/helm-charts/systemserver/templates/_helpers.tpl diff --git a/frameworks/system-server/config/user/helm-charts/systemserver/templates/systemserver_deploy.yaml b/framework/system-server/.olares/config/user/helm-charts/systemserver/templates/systemserver_deploy.yaml similarity index 100% rename from frameworks/system-server/config/user/helm-charts/systemserver/templates/systemserver_deploy.yaml rename to framework/system-server/.olares/config/user/helm-charts/systemserver/templates/systemserver_deploy.yaml diff --git a/frameworks/tapr/config/user/helm-charts/tapr/values.yaml b/framework/system-server/.olares/config/user/helm-charts/systemserver/values.yaml similarity index 100% rename from frameworks/tapr/config/user/helm-charts/tapr/values.yaml rename to framework/system-server/.olares/config/user/helm-charts/systemserver/values.yaml diff --git a/frameworks/system-server/README.md b/framework/system-server/README.md similarity index 100% rename from frameworks/system-server/README.md rename to framework/system-server/README.md diff --git a/framework/tapr/.olares/Olares.yaml b/framework/tapr/.olares/Olares.yaml new file mode 100644 index 000000000..871fb7950 --- /dev/null +++ b/framework/tapr/.olares/Olares.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +target: prebuilt +output: + containers: + - + name: bytetrade/envoy:v1.25.11.1 + + + diff --git a/frameworks/tapr/config/cluster/crds/apr.bytetrade.io_kvrocksbackups.yaml b/framework/tapr/.olares/config/cluster/crds/apr.bytetrade.io_kvrocksbackups.yaml similarity index 100% rename from frameworks/tapr/config/cluster/crds/apr.bytetrade.io_kvrocksbackups.yaml rename to framework/tapr/.olares/config/cluster/crds/apr.bytetrade.io_kvrocksbackups.yaml diff --git a/frameworks/tapr/config/cluster/crds/apr.bytetrade.io_kvrocksrestores.yaml b/framework/tapr/.olares/config/cluster/crds/apr.bytetrade.io_kvrocksrestores.yaml similarity index 100% rename from frameworks/tapr/config/cluster/crds/apr.bytetrade.io_kvrocksrestores.yaml rename to framework/tapr/.olares/config/cluster/crds/apr.bytetrade.io_kvrocksrestores.yaml diff --git a/frameworks/tapr/config/cluster/crds/apr.bytetrade.io_middlewarerequests.yaml b/framework/tapr/.olares/config/cluster/crds/apr.bytetrade.io_middlewarerequests.yaml similarity index 100% rename from frameworks/tapr/config/cluster/crds/apr.bytetrade.io_middlewarerequests.yaml rename to framework/tapr/.olares/config/cluster/crds/apr.bytetrade.io_middlewarerequests.yaml diff --git a/frameworks/tapr/config/cluster/crds/apr.bytetrade.io_pgclusterbackups.yaml b/framework/tapr/.olares/config/cluster/crds/apr.bytetrade.io_pgclusterbackups.yaml similarity index 100% rename from frameworks/tapr/config/cluster/crds/apr.bytetrade.io_pgclusterbackups.yaml rename to framework/tapr/.olares/config/cluster/crds/apr.bytetrade.io_pgclusterbackups.yaml diff --git a/frameworks/tapr/config/cluster/crds/apr.bytetrade.io_pgclusterrestores.yaml b/framework/tapr/.olares/config/cluster/crds/apr.bytetrade.io_pgclusterrestores.yaml similarity index 100% rename from frameworks/tapr/config/cluster/crds/apr.bytetrade.io_pgclusterrestores.yaml rename to framework/tapr/.olares/config/cluster/crds/apr.bytetrade.io_pgclusterrestores.yaml diff --git a/frameworks/tapr/config/cluster/crds/apr.bytetrade.io_pgclusters.yaml b/framework/tapr/.olares/config/cluster/crds/apr.bytetrade.io_pgclusters.yaml similarity index 100% rename from frameworks/tapr/config/cluster/crds/apr.bytetrade.io_pgclusters.yaml rename to framework/tapr/.olares/config/cluster/crds/apr.bytetrade.io_pgclusters.yaml diff --git a/frameworks/tapr/config/cluster/crds/apr.bytetrade.io_redixclusters.yaml b/framework/tapr/.olares/config/cluster/crds/apr.bytetrade.io_redixclusters.yaml similarity index 100% rename from frameworks/tapr/config/cluster/crds/apr.bytetrade.io_redixclusters.yaml rename to framework/tapr/.olares/config/cluster/crds/apr.bytetrade.io_redixclusters.yaml diff --git a/frameworks/tapr/config/cluster/crds/apr.bytetrade.io_syseventregistries.yaml b/framework/tapr/.olares/config/cluster/crds/apr.bytetrade.io_syseventregistries.yaml similarity index 100% rename from frameworks/tapr/config/cluster/crds/apr.bytetrade.io_syseventregistries.yaml rename to framework/tapr/.olares/config/cluster/crds/apr.bytetrade.io_syseventregistries.yaml diff --git a/frameworks/tapr/config/cluster/crds/crd.psmdb.percona.com_perconamongodb.yaml b/framework/tapr/.olares/config/cluster/crds/crd.psmdb.percona.com_perconamongodb.yaml similarity index 100% rename from frameworks/tapr/config/cluster/crds/crd.psmdb.percona.com_perconamongodb.yaml rename to framework/tapr/.olares/config/cluster/crds/crd.psmdb.percona.com_perconamongodb.yaml diff --git a/frameworks/tapr/config/cluster/crds/ingressroute.yaml b/framework/tapr/.olares/config/cluster/crds/ingressroute.yaml similarity index 100% rename from frameworks/tapr/config/cluster/crds/ingressroute.yaml rename to framework/tapr/.olares/config/cluster/crds/ingressroute.yaml diff --git a/frameworks/tapr/config/cluster/crds/ingressroutetcp.yaml b/framework/tapr/.olares/config/cluster/crds/ingressroutetcp.yaml similarity index 100% rename from frameworks/tapr/config/cluster/crds/ingressroutetcp.yaml rename to framework/tapr/.olares/config/cluster/crds/ingressroutetcp.yaml diff --git a/frameworks/tapr/config/cluster/crds/ingressrouteudp.yaml b/framework/tapr/.olares/config/cluster/crds/ingressrouteudp.yaml similarity index 100% rename from frameworks/tapr/config/cluster/crds/ingressrouteudp.yaml rename to framework/tapr/.olares/config/cluster/crds/ingressrouteudp.yaml diff --git a/frameworks/tapr/config/cluster/crds/middlewares.yaml b/framework/tapr/.olares/config/cluster/crds/middlewares.yaml similarity index 100% rename from frameworks/tapr/config/cluster/crds/middlewares.yaml rename to framework/tapr/.olares/config/cluster/crds/middlewares.yaml diff --git a/frameworks/tapr/config/cluster/crds/middlewarestcp.yaml b/framework/tapr/.olares/config/cluster/crds/middlewarestcp.yaml similarity index 100% rename from frameworks/tapr/config/cluster/crds/middlewarestcp.yaml rename to framework/tapr/.olares/config/cluster/crds/middlewarestcp.yaml diff --git a/frameworks/tapr/config/cluster/crds/redis.kun_distributedredisclusters.yaml b/framework/tapr/.olares/config/cluster/crds/redis.kun_distributedredisclusters.yaml similarity index 100% rename from frameworks/tapr/config/cluster/crds/redis.kun_distributedredisclusters.yaml rename to framework/tapr/.olares/config/cluster/crds/redis.kun_distributedredisclusters.yaml diff --git a/frameworks/tapr/config/cluster/crds/redis.kun_redisclusterbackups.yaml b/framework/tapr/.olares/config/cluster/crds/redis.kun_redisclusterbackups.yaml similarity index 100% rename from frameworks/tapr/config/cluster/crds/redis.kun_redisclusterbackups.yaml rename to framework/tapr/.olares/config/cluster/crds/redis.kun_redisclusterbackups.yaml diff --git a/frameworks/tapr/config/cluster/crds/serverstransports.yaml b/framework/tapr/.olares/config/cluster/crds/serverstransports.yaml similarity index 100% rename from frameworks/tapr/config/cluster/crds/serverstransports.yaml rename to framework/tapr/.olares/config/cluster/crds/serverstransports.yaml diff --git a/frameworks/tapr/config/cluster/crds/tlsoptions.yaml b/framework/tapr/.olares/config/cluster/crds/tlsoptions.yaml similarity index 100% rename from frameworks/tapr/config/cluster/crds/tlsoptions.yaml rename to framework/tapr/.olares/config/cluster/crds/tlsoptions.yaml diff --git a/frameworks/tapr/config/cluster/crds/tlsstores.yaml b/framework/tapr/.olares/config/cluster/crds/tlsstores.yaml similarity index 100% rename from frameworks/tapr/config/cluster/crds/tlsstores.yaml rename to framework/tapr/.olares/config/cluster/crds/tlsstores.yaml diff --git a/frameworks/tapr/config/cluster/crds/traefikservices.yaml b/framework/tapr/.olares/config/cluster/crds/traefikservices.yaml similarity index 100% rename from frameworks/tapr/config/cluster/crds/traefikservices.yaml rename to framework/tapr/.olares/config/cluster/crds/traefikservices.yaml diff --git a/frameworks/tapr/config/cluster/deploy/citus_deployment.yaml b/framework/tapr/.olares/config/cluster/deploy/citus_deployment.yaml similarity index 100% rename from frameworks/tapr/config/cluster/deploy/citus_deployment.yaml rename to framework/tapr/.olares/config/cluster/deploy/citus_deployment.yaml diff --git a/frameworks/tapr/config/cluster/deploy/fakes3_deployment.yaml b/framework/tapr/.olares/config/cluster/deploy/fakes3_deployment.yaml similarity index 100% rename from frameworks/tapr/config/cluster/deploy/fakes3_deployment.yaml rename to framework/tapr/.olares/config/cluster/deploy/fakes3_deployment.yaml diff --git a/frameworks/tapr/config/cluster/deploy/ks-component.yaml b/framework/tapr/.olares/config/cluster/deploy/ks-component.yaml similarity index 100% rename from frameworks/tapr/config/cluster/deploy/ks-component.yaml rename to framework/tapr/.olares/config/cluster/deploy/ks-component.yaml diff --git a/frameworks/tapr/config/cluster/deploy/lldap-deployment.yaml b/framework/tapr/.olares/config/cluster/deploy/lldap-deployment.yaml similarity index 100% rename from frameworks/tapr/config/cluster/deploy/lldap-deployment.yaml rename to framework/tapr/.olares/config/cluster/deploy/lldap-deployment.yaml diff --git a/frameworks/tapr/config/cluster/deploy/middleware_deploy.yaml b/framework/tapr/.olares/config/cluster/deploy/middleware_deploy.yaml similarity index 100% rename from frameworks/tapr/config/cluster/deploy/middleware_deploy.yaml rename to framework/tapr/.olares/config/cluster/deploy/middleware_deploy.yaml diff --git a/frameworks/tapr/config/cluster/deploy/nats_deployment.yaml b/framework/tapr/.olares/config/cluster/deploy/nats_deployment.yaml similarity index 100% rename from frameworks/tapr/config/cluster/deploy/nats_deployment.yaml rename to framework/tapr/.olares/config/cluster/deploy/nats_deployment.yaml diff --git a/frameworks/tapr/config/cluster/deploy/redixcluster_deploy.yaml b/framework/tapr/.olares/config/cluster/deploy/redixcluster_deploy.yaml similarity index 100% rename from frameworks/tapr/config/cluster/deploy/redixcluster_deploy.yaml rename to framework/tapr/.olares/config/cluster/deploy/redixcluster_deploy.yaml diff --git a/frameworks/tapr/config/cluster/deploy/sys_event_deploy.yaml b/framework/tapr/.olares/config/cluster/deploy/sys_event_deploy.yaml similarity index 100% rename from frameworks/tapr/config/cluster/deploy/sys_event_deploy.yaml rename to framework/tapr/.olares/config/cluster/deploy/sys_event_deploy.yaml diff --git a/frameworks/tapr/config/user/helm-charts/tapr/.helmignore b/framework/tapr/.olares/config/user/helm-charts/citus/.helmignore similarity index 100% rename from frameworks/tapr/config/user/helm-charts/tapr/.helmignore rename to framework/tapr/.olares/config/user/helm-charts/citus/.helmignore diff --git a/frameworks/tapr/config/user/helm-charts/citus/Chart.yaml b/framework/tapr/.olares/config/user/helm-charts/citus/Chart.yaml similarity index 100% rename from frameworks/tapr/config/user/helm-charts/citus/Chart.yaml rename to framework/tapr/.olares/config/user/helm-charts/citus/Chart.yaml diff --git a/third-party/authelia/config/user/helm-charts/auth/templates/NOTES.txt b/framework/tapr/.olares/config/user/helm-charts/citus/templates/NOTES.txt similarity index 100% rename from third-party/authelia/config/user/helm-charts/auth/templates/NOTES.txt rename to framework/tapr/.olares/config/user/helm-charts/citus/templates/NOTES.txt diff --git a/frameworks/tapr/config/user/helm-charts/citus/templates/_helpers.tpl b/framework/tapr/.olares/config/user/helm-charts/citus/templates/_helpers.tpl similarity index 100% rename from frameworks/tapr/config/user/helm-charts/citus/templates/_helpers.tpl rename to framework/tapr/.olares/config/user/helm-charts/citus/templates/_helpers.tpl diff --git a/frameworks/tapr/config/user/helm-charts/citus/templates/citus_deployment.yaml b/framework/tapr/.olares/config/user/helm-charts/citus/templates/citus_deployment.yaml similarity index 100% rename from frameworks/tapr/config/user/helm-charts/citus/templates/citus_deployment.yaml rename to framework/tapr/.olares/config/user/helm-charts/citus/templates/citus_deployment.yaml diff --git a/libs/fs-lib/config/user/helm-charts/fsnotify/values.yaml b/framework/tapr/.olares/config/user/helm-charts/citus/values.yaml similarity index 100% rename from libs/fs-lib/config/user/helm-charts/fsnotify/values.yaml rename to framework/tapr/.olares/config/user/helm-charts/citus/values.yaml diff --git a/libs/fs-lib/config/user/helm-charts/fsnotify/.helmignore b/framework/tapr/.olares/config/user/helm-charts/mongo/.helmignore similarity index 100% rename from libs/fs-lib/config/user/helm-charts/fsnotify/.helmignore rename to framework/tapr/.olares/config/user/helm-charts/mongo/.helmignore diff --git a/frameworks/tapr/config/user/helm-charts/mongo/Chart.yaml b/framework/tapr/.olares/config/user/helm-charts/mongo/Chart.yaml similarity index 100% rename from frameworks/tapr/config/user/helm-charts/mongo/Chart.yaml rename to framework/tapr/.olares/config/user/helm-charts/mongo/Chart.yaml diff --git a/third-party/headscale/config/user/helm-charts/headscale/templates/NOTES.txt b/framework/tapr/.olares/config/user/helm-charts/mongo/templates/NOTES.txt similarity index 100% rename from third-party/headscale/config/user/helm-charts/headscale/templates/NOTES.txt rename to framework/tapr/.olares/config/user/helm-charts/mongo/templates/NOTES.txt diff --git a/frameworks/tapr/config/user/helm-charts/mongo/templates/_helpers.tpl b/framework/tapr/.olares/config/user/helm-charts/mongo/templates/_helpers.tpl similarity index 100% rename from frameworks/tapr/config/user/helm-charts/mongo/templates/_helpers.tpl rename to framework/tapr/.olares/config/user/helm-charts/mongo/templates/_helpers.tpl diff --git a/frameworks/tapr/config/user/helm-charts/mongo/templates/mongo_deployment.yaml b/framework/tapr/.olares/config/user/helm-charts/mongo/templates/mongo_deployment.yaml similarity index 100% rename from frameworks/tapr/config/user/helm-charts/mongo/templates/mongo_deployment.yaml rename to framework/tapr/.olares/config/user/helm-charts/mongo/templates/mongo_deployment.yaml diff --git a/third-party/authelia/config/user/helm-charts/auth/values.yaml b/framework/tapr/.olares/config/user/helm-charts/mongo/values.yaml similarity index 100% rename from third-party/authelia/config/user/helm-charts/auth/values.yaml rename to framework/tapr/.olares/config/user/helm-charts/mongo/values.yaml diff --git a/third-party/authelia/config/user/helm-charts/auth/.helmignore b/framework/tapr/.olares/config/user/helm-charts/nats/.helmignore similarity index 100% rename from third-party/authelia/config/user/helm-charts/auth/.helmignore rename to framework/tapr/.olares/config/user/helm-charts/nats/.helmignore diff --git a/frameworks/tapr/config/user/helm-charts/nats/Chart.yaml b/framework/tapr/.olares/config/user/helm-charts/nats/Chart.yaml similarity index 100% rename from frameworks/tapr/config/user/helm-charts/nats/Chart.yaml rename to framework/tapr/.olares/config/user/helm-charts/nats/Chart.yaml diff --git a/frameworks/tapr/config/user/helm-charts/nats/templates/NOTES.txt b/framework/tapr/.olares/config/user/helm-charts/nats/templates/NOTES.txt similarity index 100% rename from frameworks/tapr/config/user/helm-charts/nats/templates/NOTES.txt rename to framework/tapr/.olares/config/user/helm-charts/nats/templates/NOTES.txt diff --git a/frameworks/tapr/config/user/helm-charts/nats/templates/_helpers.tpl b/framework/tapr/.olares/config/user/helm-charts/nats/templates/_helpers.tpl similarity index 100% rename from frameworks/tapr/config/user/helm-charts/nats/templates/_helpers.tpl rename to framework/tapr/.olares/config/user/helm-charts/nats/templates/_helpers.tpl diff --git a/frameworks/tapr/config/user/helm-charts/nats/templates/deployment.yaml b/framework/tapr/.olares/config/user/helm-charts/nats/templates/deployment.yaml similarity index 100% rename from frameworks/tapr/config/user/helm-charts/nats/templates/deployment.yaml rename to framework/tapr/.olares/config/user/helm-charts/nats/templates/deployment.yaml diff --git a/third-party/seahub/config/user/helm-charts/seafile/values.yaml b/framework/tapr/.olares/config/user/helm-charts/nats/values.yaml similarity index 100% rename from third-party/seahub/config/user/helm-charts/seafile/values.yaml rename to framework/tapr/.olares/config/user/helm-charts/nats/values.yaml diff --git a/third-party/headscale/config/user/helm-charts/headscale/.helmignore b/framework/tapr/.olares/config/user/helm-charts/redis/.helmignore similarity index 100% rename from third-party/headscale/config/user/helm-charts/headscale/.helmignore rename to framework/tapr/.olares/config/user/helm-charts/redis/.helmignore diff --git a/frameworks/tapr/config/user/helm-charts/redis/Chart.yaml b/framework/tapr/.olares/config/user/helm-charts/redis/Chart.yaml similarity index 100% rename from frameworks/tapr/config/user/helm-charts/redis/Chart.yaml rename to framework/tapr/.olares/config/user/helm-charts/redis/Chart.yaml diff --git a/third-party/infisical/config/user/helm-charts/infisical/templates/NOTES.txt b/framework/tapr/.olares/config/user/helm-charts/redis/templates/NOTES.txt similarity index 100% rename from third-party/infisical/config/user/helm-charts/infisical/templates/NOTES.txt rename to framework/tapr/.olares/config/user/helm-charts/redis/templates/NOTES.txt diff --git a/frameworks/tapr/config/user/helm-charts/redis/templates/_helpers.tpl b/framework/tapr/.olares/config/user/helm-charts/redis/templates/_helpers.tpl similarity index 100% rename from frameworks/tapr/config/user/helm-charts/redis/templates/_helpers.tpl rename to framework/tapr/.olares/config/user/helm-charts/redis/templates/_helpers.tpl diff --git a/frameworks/tapr/config/user/helm-charts/redis/templates/redis_deploy.yaml b/framework/tapr/.olares/config/user/helm-charts/redis/templates/redis_deploy.yaml similarity index 100% rename from frameworks/tapr/config/user/helm-charts/redis/templates/redis_deploy.yaml rename to framework/tapr/.olares/config/user/helm-charts/redis/templates/redis_deploy.yaml diff --git a/third-party/headscale/config/user/helm-charts/headscale/values.yaml b/framework/tapr/.olares/config/user/helm-charts/redis/values.yaml similarity index 100% rename from third-party/headscale/config/user/helm-charts/headscale/values.yaml rename to framework/tapr/.olares/config/user/helm-charts/redis/values.yaml diff --git a/third-party/infisical/config/user/helm-charts/infisical/.helmignore b/framework/tapr/.olares/config/user/helm-charts/tapr/.helmignore similarity index 100% rename from third-party/infisical/config/user/helm-charts/infisical/.helmignore rename to framework/tapr/.olares/config/user/helm-charts/tapr/.helmignore diff --git a/frameworks/tapr/config/user/helm-charts/tapr/Chart.yaml b/framework/tapr/.olares/config/user/helm-charts/tapr/Chart.yaml similarity index 100% rename from frameworks/tapr/config/user/helm-charts/tapr/Chart.yaml rename to framework/tapr/.olares/config/user/helm-charts/tapr/Chart.yaml diff --git a/third-party/ks-console/charts/templates/NOTES.txt b/framework/tapr/.olares/config/user/helm-charts/tapr/templates/NOTES.txt similarity index 100% rename from third-party/ks-console/charts/templates/NOTES.txt rename to framework/tapr/.olares/config/user/helm-charts/tapr/templates/NOTES.txt diff --git a/frameworks/tapr/config/user/helm-charts/tapr/templates/_helpers.tpl b/framework/tapr/.olares/config/user/helm-charts/tapr/templates/_helpers.tpl similarity index 100% rename from frameworks/tapr/config/user/helm-charts/tapr/templates/_helpers.tpl rename to framework/tapr/.olares/config/user/helm-charts/tapr/templates/_helpers.tpl diff --git a/frameworks/tapr/config/user/helm-charts/tapr/templates/tapr_deploy.yaml b/framework/tapr/.olares/config/user/helm-charts/tapr/templates/tapr_deploy.yaml similarity index 100% rename from frameworks/tapr/config/user/helm-charts/tapr/templates/tapr_deploy.yaml rename to framework/tapr/.olares/config/user/helm-charts/tapr/templates/tapr_deploy.yaml diff --git a/third-party/infisical/config/user/helm-charts/infisical/values.yaml b/framework/tapr/.olares/config/user/helm-charts/tapr/values.yaml similarity index 100% rename from third-party/infisical/config/user/helm-charts/infisical/values.yaml rename to framework/tapr/.olares/config/user/helm-charts/tapr/values.yaml diff --git a/frameworks/tapr/README.md b/framework/tapr/README.md similarity index 100% rename from frameworks/tapr/README.md rename to framework/tapr/README.md diff --git a/framework/upgrade/.olares/Olares.yaml b/framework/upgrade/.olares/Olares.yaml new file mode 100644 index 000000000..53d7b66d1 --- /dev/null +++ b/framework/upgrade/.olares/Olares.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +target: prebuilt +output: + containers: + - + name: beclab/upgrade-job:0.1.7 + + + diff --git a/framework/upgrade/README.md b/framework/upgrade/README.md new file mode 100644 index 000000000..7c801b3a9 --- /dev/null +++ b/framework/upgrade/README.md @@ -0,0 +1 @@ +# upgrade \ No newline at end of file diff --git a/infrastructure/apparmor/.olares/Olares.yaml b/infrastructure/apparmor/.olares/Olares.yaml new file mode 100644 index 000000000..f521beb20 --- /dev/null +++ b/infrastructure/apparmor/.olares/Olares.yaml @@ -0,0 +1,10 @@ +apiVersion: v1 +target: prebuilt +output: + binaries: + - + id: apparmor + name: apparmor_4.0.1-0ubuntu1.deb + amd64: https://launchpad.net/ubuntu/+source/apparmor/4.0.1-0ubuntu1/+build/28428840/+files/apparmor_4.0.1-0ubuntu1_amd64.deb + arm64: https://launchpad.net/ubuntu/+source/apparmor/4.0.1-0ubuntu1/+build/28428841/+files/apparmor_4.0.1-0ubuntu1_arm64.deb + \ No newline at end of file diff --git a/infrastructure/apparmor/README.md b/infrastructure/apparmor/README.md new file mode 100644 index 000000000..65a9106be --- /dev/null +++ b/infrastructure/apparmor/README.md @@ -0,0 +1 @@ +# apparmor \ No newline at end of file diff --git a/infrastructure/calico/.olares/Olares.yaml b/infrastructure/calico/.olares/Olares.yaml new file mode 100644 index 000000000..95e8c5a46 --- /dev/null +++ b/infrastructure/calico/.olares/Olares.yaml @@ -0,0 +1,18 @@ +apiVersion: v1 +target: prebuilt +output: + containers: + - + name: calico/cni:v3.29.2 + scope: node + - + name: calico/kube-controllers:v3.29.2 + scope: node + - + name: calico/node:v3.29.2 + scope: node + + + + + diff --git a/infrastructure/calico/README.md b/infrastructure/calico/README.md new file mode 100644 index 000000000..19aed1a04 --- /dev/null +++ b/infrastructure/calico/README.md @@ -0,0 +1 @@ +# calico \ No newline at end of file diff --git a/infrastructure/cni/.olares/Olares.yaml b/infrastructure/cni/.olares/Olares.yaml new file mode 100644 index 000000000..38d8d690a --- /dev/null +++ b/infrastructure/cni/.olares/Olares.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +target: prebuilt +output: + binaries: + - + id: cni-plugins + name: cni-plugins-v1.6.2.tgz,pkg/cni/v1.6.2, + amd64: https://github.com/containernetworking/plugins/releases/download/v1.6.2/cni-plugins-linux-amd64-v1.6.2.tgz + arm64: https://github.com/containernetworking/plugins/releases/download/v1.6.2/cni-plugins-linux-arm-v1.6.2.tgz diff --git a/infrastructure/cni/README.md b/infrastructure/cni/README.md new file mode 100644 index 000000000..53fafbdf4 --- /dev/null +++ b/infrastructure/cni/README.md @@ -0,0 +1 @@ +# cni \ No newline at end of file diff --git a/infrastructure/conntrack/.olares/Olares.yaml b/infrastructure/conntrack/.olares/Olares.yaml new file mode 100644 index 000000000..f40c2da3d --- /dev/null +++ b/infrastructure/conntrack/.olares/Olares.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +target: prebuilt +output: + binaries: + - + id: conntrack-tools + name: conntrack-tools-1.4.1.tar.gz + amd64: https://github.com/fqrouter/conntrack-tools/archive/refs/tags/conntrack-tools-1.4.1.tar.gz + arm64: https://github.com/fqrouter/conntrack-tools/archive/refs/tags/conntrack-tools-1.4.1.tar.gz diff --git a/infrastructure/conntrack/README.md b/infrastructure/conntrack/README.md new file mode 100644 index 000000000..66273ab65 --- /dev/null +++ b/infrastructure/conntrack/README.md @@ -0,0 +1 @@ +# conntrack \ No newline at end of file diff --git a/infrastructure/containerd/.olares/Olares.yaml b/infrastructure/containerd/.olares/Olares.yaml new file mode 100644 index 000000000..4ae16fe76 --- /dev/null +++ b/infrastructure/containerd/.olares/Olares.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +target: prebuilt +output: + binaries: + - + id: containerd + name: containerd-1.6.36.tar.gz + amd64: https://github.com/containerd/containerd/releases/download/v1.6.36/containerd-1.6.36-linux-amd64.tar.gz + arm64: https://github.com/containerd/containerd/releases/download/v1.6.36/containerd-1.6.36-linux-arm64.tar.gz diff --git a/infrastructure/containerd/README.md b/infrastructure/containerd/README.md new file mode 100644 index 000000000..b0136562b --- /dev/null +++ b/infrastructure/containerd/README.md @@ -0,0 +1 @@ +# containerd \ No newline at end of file diff --git a/infrastructure/coredns/.olares/Olares.yaml b/infrastructure/coredns/.olares/Olares.yaml new file mode 100644 index 000000000..42c6083d4 --- /dev/null +++ b/infrastructure/coredns/.olares/Olares.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +target: prebuilt +output: + containers: + - + name: registry.k8s.io/coredns/coredns:v1.11.3 + + + + + + diff --git a/infrastructure/coredns/README.md b/infrastructure/coredns/README.md new file mode 100644 index 000000000..c787a8eb3 --- /dev/null +++ b/infrastructure/coredns/README.md @@ -0,0 +1 @@ +# coredns \ No newline at end of file diff --git a/infrastructure/cri-tools/.olares/Olares.yaml b/infrastructure/cri-tools/.olares/Olares.yaml new file mode 100644 index 000000000..b497d9215 --- /dev/null +++ b/infrastructure/cri-tools/.olares/Olares.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +target: prebuilt +output: + binaries: + - + id: crictl + name: crictl-v1.32.0.tar.gz + amd64: https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.32.0/crictl-v1.32.0-linux-amd64.tar.gz + arm64: https://github.com/kubernetes-sigs/cri-tools/releases/download/v1.32.0/crictl-v1.32.0-linux-arm64.tar.gz diff --git a/infrastructure/cri-tools/README.md b/infrastructure/cri-tools/README.md new file mode 100644 index 000000000..e1ea22685 --- /dev/null +++ b/infrastructure/cri-tools/README.md @@ -0,0 +1 @@ +# cri-tools \ No newline at end of file diff --git a/infrastructure/cuda/.olares/Olares.yaml b/infrastructure/cuda/.olares/Olares.yaml new file mode 100644 index 000000000..01d2d0448 --- /dev/null +++ b/infrastructure/cuda/.olares/Olares.yaml @@ -0,0 +1,56 @@ +apiVersion: v1 +target: prebuilt +output: + binaries: + - + id: ubuntu-24.04_cuda-keyring_1.1-1 + name: ubuntu2404_cuda-keyring_1.1-1_all.deb + amd64: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/x86_64/cuda-keyring_1.1-1_all.deb + arm64: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2404/arm64/cuda-keyring_1.1-1_all.deb + - + id: ubuntu-22.04_cuda-keyring_1.1-1 + name: ubuntu2204_cuda-keyring_1.1-1_all.deb + amd64: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb + arm64: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/arm64/cuda-keyring_1.1-1_all.deb + - + id: ubuntu-22.04_cuda-keyring_1.0-1 + name: ubuntu2204_cuda-keyring_1.0-1_all.deb + amd64: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb + arm64: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/arm64/cuda-keyring_1.0-1_all.deb + - + id: ubuntu-20.04_cuda-keyring_1.1-1 + name: ubuntu2004_cuda-keyring_1.1-1_all.deb + amd64: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.1-1_all.deb + arm64: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/arm64/cuda-keyring_1.1-1_all.deb + - + id: ubuntu-20.04_cuda-keyring_1.0-1 + name: ubuntu2004_cuda-keyring_1.0-1_all.deb + amd64: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/cuda-keyring_1.0-1_all.deb + arm64: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/arm64/cuda-keyring_1.0-1_all.deb + - + id: debian-12_cuda-keyring_1.1-1 + name: debian12_cuda-keyring_1.1-1_all.deb + amd64: https://developer.download.nvidia.com/compute/cuda/repos/debian12/x86_64/cuda-keyring_1.1-1_all.deb + arm64: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/arm64/cuda-keyring_1.1-1_all.deb + - + id: debian-11_cuda-keyring_1.1-1 + name: debian11_cuda-keyring_1.1-1_all.deb + amd64: https://developer.download.nvidia.com/compute/cuda/repos/debian11/x86_64/cuda-keyring_1.1-1_all.deb + arm64: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/arm64/cuda-keyring_1.1-1_all.deb + - + id: libnvidia-gpgkey + name: libnvidia-gpgkey + amd64: https://nvidia.github.io/libnvidia-container/gpgkey + arm64: https://nvidia.github.io/libnvidia-container/gpgkey + - + id: libnvidia-container.list + name: libnvidia-container.list + amd64: https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list + arm64: https://nvidia.github.io/libnvidia-container/stable/deb/nvidia-container-toolkit.list + containers: + - + name: redis:5.0.14-alpine + + + + diff --git a/infrastructure/cuda/README.md b/infrastructure/cuda/README.md new file mode 100644 index 000000000..8a1e29274 --- /dev/null +++ b/infrastructure/cuda/README.md @@ -0,0 +1 @@ +# cuda diff --git a/infrastructure/etcd/.olares/Olares.yaml b/infrastructure/etcd/.olares/Olares.yaml new file mode 100644 index 000000000..d0316b6d8 --- /dev/null +++ b/infrastructure/etcd/.olares/Olares.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +target: prebuilt +output: + binaries: + - + id: etcd + name: etcd-v3.5.18.tar.gz + amd64: https://github.com/coreos/etcd/releases/download/v3.5.18/etcd-v3.5.18-linux-amd64.tar.gz + arm64: https://github.com/coreos/etcd/releases/download/v3.5.18/etcd-v3.5.18-linux-arm64.tar.gz diff --git a/infrastructure/etcd/README.md b/infrastructure/etcd/README.md new file mode 100644 index 000000000..92463e4fc --- /dev/null +++ b/infrastructure/etcd/README.md @@ -0,0 +1 @@ +# etcd \ No newline at end of file diff --git a/infrastructure/helm/.olares/Olares.yaml b/infrastructure/helm/.olares/Olares.yaml new file mode 100644 index 000000000..7ecdaaaae --- /dev/null +++ b/infrastructure/helm/.olares/Olares.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +target: prebuilt +output: + binaries: + - + id: helm + name: helm-v3.9.0.tar.gz + amd64: https://get.helm.sh/helm-v3.17.1-linux-amd64.tar.gz + arm64: https://get.helm.sh/helm-v3.17.1-linux-arm.tar.gz diff --git a/infrastructure/helm/README.md b/infrastructure/helm/README.md new file mode 100644 index 000000000..7e3125ef7 --- /dev/null +++ b/infrastructure/helm/README.md @@ -0,0 +1 @@ +# helm \ No newline at end of file diff --git a/infrastructure/k3s/.olares/Olares.yaml b/infrastructure/k3s/.olares/Olares.yaml new file mode 100644 index 000000000..11ae7d132 --- /dev/null +++ b/infrastructure/k3s/.olares/Olares.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +target: prebuilt +output: + binaries: + - + id: k3s + name: k3s-v1.32.2 + amd64: https://github.com/k3s-io/k3s/releases/download/v1.32.2+k3s1/k3s + arm64: https://github.com/k3s-io/k3s/releases/download/v1.32.2+k3s1/k3s-arm64 diff --git a/infrastructure/k3s/README.md b/infrastructure/k3s/README.md new file mode 100644 index 000000000..1ab03427c --- /dev/null +++ b/infrastructure/k3s/README.md @@ -0,0 +1 @@ +# k3s \ No newline at end of file diff --git a/infrastructure/kubernetes/.olares/Olares.yaml b/infrastructure/kubernetes/.olares/Olares.yaml new file mode 100644 index 000000000..8db139000 --- /dev/null +++ b/infrastructure/kubernetes/.olares/Olares.yaml @@ -0,0 +1,42 @@ +apiVersion: v1 +target: prebuilt +output: + binaries: + - + id: kubeadm + name: kubeadm-v1.32.2,pkg/kube/v1.32.2 + amd64: https://dl.k8s.io/release/v1.32.2/bin/linux/amd64/kubeadm + arm64: https://dl.k8s.io/release/v1.32.2/bin/linux/arm64/kubeadm + - + id: kubelet + name: kubelet-v1.32.2,pkg/kube/v1.32.2 + amd64: https://dl.k8s.io/release/v1.32.2/bin/linux/amd64/kubelet + arm64: https://dl.k8s.io/release/v1.32.2/bin/linux/arm64/kubelet + - + id: kubectl + name: kubectl-v1.32.2,pkg/kube/v1.32.2 + amd64: https://dl.k8s.io/release/v1.32.2/bin/linux/amd64/kubectl + arm64: https://dl.k8s.io/release/v1.32.2/bin/linux/arm64/kubectl + containers: + - + name: owncloudci/wait-for:latest + - + name: liangjw/kube-webhook-certgen:v1.1.1 + - + name: alpine:3.14 + - + name: mirrorgooglecontainers/defaultbackend-amd64:1.4 + - + name: bitnami/kube-rbac-proxy:0.19.0 + - + name: registry.k8s.io/kube-apiserver:v1.32.2 + - + name: registry.k8s.io/kube-scheduler:v1.32.2 + - + name: registry.k8s.io/kube-proxy:v1.32.2 + - + name: registry.k8s.io/kube-controller-manager:v1.32.2 + - + name: registry.k8s.io/pause:3.10 + +# must have blank new line \ No newline at end of file diff --git a/infrastructure/kubernetes/README.md b/infrastructure/kubernetes/README.md new file mode 100644 index 000000000..b3dae81c3 --- /dev/null +++ b/infrastructure/kubernetes/README.md @@ -0,0 +1 @@ +# kubernetes \ No newline at end of file diff --git a/infrastructure/kubesphere/.olares/Olares.yaml b/infrastructure/kubesphere/.olares/Olares.yaml new file mode 100644 index 000000000..3d2ca3159 --- /dev/null +++ b/infrastructure/kubesphere/.olares/Olares.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +target: prebuilt +output: + containers: + - + name: beclab/ks-apiserver:0.0.11 + - + name: beclab/ks-controller-manager:0.0.11 + - + name: kubesphere/kubectl:v1.22.0 + +# must have blank new line \ No newline at end of file diff --git a/infrastructure/kubesphere/README.md b/infrastructure/kubesphere/README.md new file mode 100644 index 000000000..2c24fcc18 --- /dev/null +++ b/infrastructure/kubesphere/README.md @@ -0,0 +1 @@ +# kubesphere \ No newline at end of file diff --git a/infrastructure/minikube/.olares/Olares.yaml b/infrastructure/minikube/.olares/Olares.yaml new file mode 100644 index 000000000..c5a4bc4be --- /dev/null +++ b/infrastructure/minikube/.olares/Olares.yaml @@ -0,0 +1,12 @@ +apiVersion: v1 +target: prebuilt +output: + containers: + - + name: gcr.io/k8s-minikube/storage-provisioner:v5 + + + + + + diff --git a/infrastructure/minikube/README.md b/infrastructure/minikube/README.md new file mode 100644 index 000000000..2b4b996b9 --- /dev/null +++ b/infrastructure/minikube/README.md @@ -0,0 +1 @@ +# minikube \ No newline at end of file diff --git a/infrastructure/minio/.olares/Olares.yaml b/infrastructure/minio/.olares/Olares.yaml new file mode 100644 index 000000000..661aaa52d --- /dev/null +++ b/infrastructure/minio/.olares/Olares.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 +target: prebuilt +output: + binaries: + - + id: minio + name: minio.RELEASE.2023-05-04T21-44-30Z + amd64: https://dl.min.io/server/minio/release/linux-amd64/archive/minio.RELEASE.2023-05-04T21-44-30Z + arm64: https://dl.min.io/server/minio/release/linux-arm64/archive/minio.RELEASE.2023-05-04T21-44-30Z + - + id: minio-operator + name: minio-operator-v0.0.1.tar.gz + amd64: https://github.com/beclab/minio-operator/releases/download/v0.0.1/minio-operator-v0.0.1-linux-amd64.tar.gz, + arm64: https://github.com/beclab/minio-operator/releases/download/v0.0.1/minio-operator-v0.0.1-linux-arm64.tar.gz + + diff --git a/infrastructure/minio/README.md b/infrastructure/minio/README.md new file mode 100644 index 000000000..430269c94 --- /dev/null +++ b/infrastructure/minio/README.md @@ -0,0 +1 @@ +# minio \ No newline at end of file diff --git a/infrastructure/openebs/.olares/Olares.yaml b/infrastructure/openebs/.olares/Olares.yaml new file mode 100644 index 000000000..05ec87c2a --- /dev/null +++ b/infrastructure/openebs/.olares/Olares.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +target: prebuilt +output: + containers: + - + name: openebs/linux-utils:3.3.0 + - + name: openebs/provisioner-localpv:3.3.0 +# must have blank new line \ No newline at end of file diff --git a/infrastructure/openebs/README.md b/infrastructure/openebs/README.md new file mode 100644 index 000000000..22d033ac8 --- /dev/null +++ b/infrastructure/openebs/README.md @@ -0,0 +1 @@ +# openebs \ No newline at end of file diff --git a/infrastructure/resttic/.olares/Olares.yaml b/infrastructure/resttic/.olares/Olares.yaml new file mode 100644 index 000000000..53c751b3f --- /dev/null +++ b/infrastructure/resttic/.olares/Olares.yaml @@ -0,0 +1,15 @@ +apiVersion: v1 +target: prebuilt +output: + binaries: + - + id: restic + name: restic-linux-0.17.3 + amd64: https://github.com/restic/restic/releases/download/v0.17.3/restic_0.17.3_linux_amd64.bz2 + arm64: https://github.com/restic/restic/releases/download/v0.17.3/restic_0.17.3_linux_arm64.bz2 + - + id: restic + name: restic-darwin-0.17.3,pkg/components + amd64: https://github.com/restic/restic/releases/download/v0.17.3/restic_0.17.3_darwin_amd64.bz2 + arm64: https://github.com/restic/restic/releases/download/v0.17.3/restic_0.17.3_darwin_arm64.bz2 + \ No newline at end of file diff --git a/infrastructure/resttic/README.md b/infrastructure/resttic/README.md new file mode 100644 index 000000000..6dc904007 --- /dev/null +++ b/infrastructure/resttic/README.md @@ -0,0 +1 @@ +# restic \ No newline at end of file diff --git a/infrastructure/runc/.olares/Olares.yaml b/infrastructure/runc/.olares/Olares.yaml new file mode 100644 index 000000000..adda5eddc --- /dev/null +++ b/infrastructure/runc/.olares/Olares.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +target: prebuilt +output: + binaries: + - + id: runc + name: runc-v1.2.5,pkg/runc/v1.2.5, + amd64: https://github.com/opencontainers/runc/releases/download/v1.2.5/runc.amd64 + arm64: https://github.com/opencontainers/runc/releases/download/v1.2.5/runc.arm64 diff --git a/infrastructure/runc/README.md b/infrastructure/runc/README.md new file mode 100644 index 000000000..5a5777269 --- /dev/null +++ b/infrastructure/runc/README.md @@ -0,0 +1 @@ +# runc \ No newline at end of file diff --git a/infrastructure/socat/.olares/Olares.yaml b/infrastructure/socat/.olares/Olares.yaml new file mode 100644 index 000000000..6a8e77406 --- /dev/null +++ b/infrastructure/socat/.olares/Olares.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +target: prebuilt +output: + binaries: + - + id: socat + name: socat-1.7.3.2.tar.gz + amd64: https://src.fedoraproject.org/lookaside/pkgs/socat/socat-1.7.3.2.tar.gz/sha512/540658b2a3d1b87673196282e5c62b97681bd0f1d1e4759ff9d72909d11060235ee9e9521a973603c1b00376436a9444248e5fbc0ffac65f8edb9c9bc28e7972/socat-1.7.3.2.tar.gz + arm64: https://src.fedoraproject.org/lookaside/pkgs/socat/socat-1.7.3.2.tar.gz/sha512/540658b2a3d1b87673196282e5c62b97681bd0f1d1e4759ff9d72909d11060235ee9e9521a973603c1b00376436a9444248e5fbc0ffac65f8edb9c9bc28e7972/socat-1.7.3.2.tar.gz diff --git a/infrastructure/socat/README.md b/infrastructure/socat/README.md new file mode 100644 index 000000000..7274ff6b8 --- /dev/null +++ b/infrastructure/socat/README.md @@ -0,0 +1 @@ +# socat \ No newline at end of file diff --git a/platform/argo-workflow/.olares/Olares.yaml b/platform/argo-workflow/.olares/Olares.yaml new file mode 100644 index 000000000..63b90c1e8 --- /dev/null +++ b/platform/argo-workflow/.olares/Olares.yaml @@ -0,0 +1,16 @@ +apiVersion: v1 +target: prebuilt +output: + containers: + - + name: quay.io/argoproj/argocli:v3.5.0 + - + name: quay.io/argoproj/argoexec:v3.5.0 + - + name: quay.io/argoproj/workflow-controller:v3.5.0 + + + + + + diff --git a/apps/argo/config/cluster/crds/argoproj.io_clusterworkflowtemplates.yaml b/platform/argo-workflow/.olares/config/cluster/crds/argoproj.io_clusterworkflowtemplates.yaml similarity index 100% rename from apps/argo/config/cluster/crds/argoproj.io_clusterworkflowtemplates.yaml rename to platform/argo-workflow/.olares/config/cluster/crds/argoproj.io_clusterworkflowtemplates.yaml diff --git a/apps/argo/config/cluster/crds/argoproj.io_cronworkflows.yaml b/platform/argo-workflow/.olares/config/cluster/crds/argoproj.io_cronworkflows.yaml similarity index 100% rename from apps/argo/config/cluster/crds/argoproj.io_cronworkflows.yaml rename to platform/argo-workflow/.olares/config/cluster/crds/argoproj.io_cronworkflows.yaml diff --git a/apps/argo/config/cluster/crds/argoproj.io_workflowartifactgctasks.yaml b/platform/argo-workflow/.olares/config/cluster/crds/argoproj.io_workflowartifactgctasks.yaml similarity index 100% rename from apps/argo/config/cluster/crds/argoproj.io_workflowartifactgctasks.yaml rename to platform/argo-workflow/.olares/config/cluster/crds/argoproj.io_workflowartifactgctasks.yaml diff --git a/apps/argo/config/cluster/crds/argoproj.io_workfloweventbindings.yaml b/platform/argo-workflow/.olares/config/cluster/crds/argoproj.io_workfloweventbindings.yaml similarity index 100% rename from apps/argo/config/cluster/crds/argoproj.io_workfloweventbindings.yaml rename to platform/argo-workflow/.olares/config/cluster/crds/argoproj.io_workfloweventbindings.yaml diff --git a/apps/argo/config/cluster/crds/argoproj.io_workflows.yaml b/platform/argo-workflow/.olares/config/cluster/crds/argoproj.io_workflows.yaml similarity index 100% rename from apps/argo/config/cluster/crds/argoproj.io_workflows.yaml rename to platform/argo-workflow/.olares/config/cluster/crds/argoproj.io_workflows.yaml diff --git a/apps/argo/config/cluster/crds/argoproj.io_workflowtaskresults.yaml b/platform/argo-workflow/.olares/config/cluster/crds/argoproj.io_workflowtaskresults.yaml similarity index 100% rename from apps/argo/config/cluster/crds/argoproj.io_workflowtaskresults.yaml rename to platform/argo-workflow/.olares/config/cluster/crds/argoproj.io_workflowtaskresults.yaml diff --git a/apps/argo/config/cluster/crds/argoproj.io_workflowtasksets.yaml b/platform/argo-workflow/.olares/config/cluster/crds/argoproj.io_workflowtasksets.yaml similarity index 100% rename from apps/argo/config/cluster/crds/argoproj.io_workflowtasksets.yaml rename to platform/argo-workflow/.olares/config/cluster/crds/argoproj.io_workflowtasksets.yaml diff --git a/apps/argo/config/cluster/crds/argoproj.io_workflowtemplates.yaml b/platform/argo-workflow/.olares/config/cluster/crds/argoproj.io_workflowtemplates.yaml similarity index 100% rename from apps/argo/config/cluster/crds/argoproj.io_workflowtemplates.yaml rename to platform/argo-workflow/.olares/config/cluster/crds/argoproj.io_workflowtemplates.yaml diff --git a/apps/argo/config/cluster/deploy/argo-task.yaml b/platform/argo-workflow/.olares/config/cluster/deploy/argo-task.yaml similarity index 100% rename from apps/argo/config/cluster/deploy/argo-task.yaml rename to platform/argo-workflow/.olares/config/cluster/deploy/argo-task.yaml diff --git a/apps/argo/config/cluster/deploy/server-cluster-roles.yaml b/platform/argo-workflow/.olares/config/cluster/deploy/server-cluster-roles.yaml similarity index 100% rename from apps/argo/config/cluster/deploy/server-cluster-roles.yaml rename to platform/argo-workflow/.olares/config/cluster/deploy/server-cluster-roles.yaml diff --git a/apps/argo/config/cluster/deploy/server-crb.yaml b/platform/argo-workflow/.olares/config/cluster/deploy/server-crb.yaml similarity index 100% rename from apps/argo/config/cluster/deploy/server-crb.yaml rename to platform/argo-workflow/.olares/config/cluster/deploy/server-crb.yaml diff --git a/apps/argo/config/cluster/deploy/server-deployment.yaml b/platform/argo-workflow/.olares/config/cluster/deploy/server-deployment.yaml similarity index 100% rename from apps/argo/config/cluster/deploy/server-deployment.yaml rename to platform/argo-workflow/.olares/config/cluster/deploy/server-deployment.yaml diff --git a/apps/argo/config/cluster/deploy/server-sa.yaml b/platform/argo-workflow/.olares/config/cluster/deploy/server-sa.yaml similarity index 100% rename from apps/argo/config/cluster/deploy/server-sa.yaml rename to platform/argo-workflow/.olares/config/cluster/deploy/server-sa.yaml diff --git a/apps/argo/config/cluster/deploy/server-service.yaml b/platform/argo-workflow/.olares/config/cluster/deploy/server-service.yaml similarity index 100% rename from apps/argo/config/cluster/deploy/server-service.yaml rename to platform/argo-workflow/.olares/config/cluster/deploy/server-service.yaml diff --git a/apps/argo/config/cluster/deploy/workflow-aggregate-roles.yaml b/platform/argo-workflow/.olares/config/cluster/deploy/workflow-aggregate-roles.yaml similarity index 100% rename from apps/argo/config/cluster/deploy/workflow-aggregate-roles.yaml rename to platform/argo-workflow/.olares/config/cluster/deploy/workflow-aggregate-roles.yaml diff --git a/apps/argo/config/cluster/deploy/workflow-controller-cluster-roles.yaml b/platform/argo-workflow/.olares/config/cluster/deploy/workflow-controller-cluster-roles.yaml similarity index 100% rename from apps/argo/config/cluster/deploy/workflow-controller-cluster-roles.yaml rename to platform/argo-workflow/.olares/config/cluster/deploy/workflow-controller-cluster-roles.yaml diff --git a/apps/argo/config/cluster/deploy/workflow-controller-config-map.yaml b/platform/argo-workflow/.olares/config/cluster/deploy/workflow-controller-config-map.yaml similarity index 100% rename from apps/argo/config/cluster/deploy/workflow-controller-config-map.yaml rename to platform/argo-workflow/.olares/config/cluster/deploy/workflow-controller-config-map.yaml diff --git a/apps/argo/config/cluster/deploy/workflow-controller-crb.yaml b/platform/argo-workflow/.olares/config/cluster/deploy/workflow-controller-crb.yaml similarity index 100% rename from apps/argo/config/cluster/deploy/workflow-controller-crb.yaml rename to platform/argo-workflow/.olares/config/cluster/deploy/workflow-controller-crb.yaml diff --git a/apps/argo/config/cluster/deploy/workflow-controller-deployment.yaml b/platform/argo-workflow/.olares/config/cluster/deploy/workflow-controller-deployment.yaml similarity index 100% rename from apps/argo/config/cluster/deploy/workflow-controller-deployment.yaml rename to platform/argo-workflow/.olares/config/cluster/deploy/workflow-controller-deployment.yaml diff --git a/apps/argo/config/cluster/deploy/workflow-controller-sa.yaml b/platform/argo-workflow/.olares/config/cluster/deploy/workflow-controller-sa.yaml similarity index 100% rename from apps/argo/config/cluster/deploy/workflow-controller-sa.yaml rename to platform/argo-workflow/.olares/config/cluster/deploy/workflow-controller-sa.yaml diff --git a/apps/argo/config/cluster/deploy/workflow-controller-secrets.yaml b/platform/argo-workflow/.olares/config/cluster/deploy/workflow-controller-secrets.yaml similarity index 100% rename from apps/argo/config/cluster/deploy/workflow-controller-secrets.yaml rename to platform/argo-workflow/.olares/config/cluster/deploy/workflow-controller-secrets.yaml diff --git a/apps/argo/config/cluster/deploy/workflow-rb.yaml b/platform/argo-workflow/.olares/config/cluster/deploy/workflow-rb.yaml similarity index 100% rename from apps/argo/config/cluster/deploy/workflow-rb.yaml rename to platform/argo-workflow/.olares/config/cluster/deploy/workflow-rb.yaml diff --git a/apps/argo/config/cluster/deploy/workflow-role.yaml b/platform/argo-workflow/.olares/config/cluster/deploy/workflow-role.yaml similarity index 100% rename from apps/argo/config/cluster/deploy/workflow-role.yaml rename to platform/argo-workflow/.olares/config/cluster/deploy/workflow-role.yaml diff --git a/third-party/ks-console/charts/.helmignore b/platform/argo-workflow/.olares/config/user/helm-charts/argo/.helmignore similarity index 100% rename from third-party/ks-console/charts/.helmignore rename to platform/argo-workflow/.olares/config/user/helm-charts/argo/.helmignore diff --git a/apps/argo/config/user/helm-charts/argo/Chart.yaml b/platform/argo-workflow/.olares/config/user/helm-charts/argo/Chart.yaml similarity index 100% rename from apps/argo/config/user/helm-charts/argo/Chart.yaml rename to platform/argo-workflow/.olares/config/user/helm-charts/argo/Chart.yaml diff --git a/third-party/seahub/config/user/helm-charts/seafile/templates/NOTES.txt b/platform/argo-workflow/.olares/config/user/helm-charts/argo/templates/NOTES.txt similarity index 100% rename from third-party/seahub/config/user/helm-charts/seafile/templates/NOTES.txt rename to platform/argo-workflow/.olares/config/user/helm-charts/argo/templates/NOTES.txt diff --git a/apps/argo/config/user/helm-charts/argo/templates/_helpers.tpl b/platform/argo-workflow/.olares/config/user/helm-charts/argo/templates/_helpers.tpl similarity index 100% rename from apps/argo/config/user/helm-charts/argo/templates/_helpers.tpl rename to platform/argo-workflow/.olares/config/user/helm-charts/argo/templates/_helpers.tpl diff --git a/apps/argo/config/user/helm-charts/argo/templates/argo_deployment.yaml b/platform/argo-workflow/.olares/config/user/helm-charts/argo/templates/argo_deployment.yaml similarity index 100% rename from apps/argo/config/user/helm-charts/argo/templates/argo_deployment.yaml rename to platform/argo-workflow/.olares/config/user/helm-charts/argo/templates/argo_deployment.yaml diff --git a/apps/argo/config/user/helm-charts/argo/values.yaml b/platform/argo-workflow/.olares/config/user/helm-charts/argo/values.yaml similarity index 100% rename from apps/argo/config/user/helm-charts/argo/values.yaml rename to platform/argo-workflow/.olares/config/user/helm-charts/argo/values.yaml diff --git a/platform/argo-workflow/README.md b/platform/argo-workflow/README.md new file mode 100644 index 000000000..4ccb1af3f --- /dev/null +++ b/platform/argo-workflow/README.md @@ -0,0 +1 @@ +# argo-workflow \ No newline at end of file diff --git a/platform/hami/.olares/Olares.yaml b/platform/hami/.olares/Olares.yaml new file mode 100644 index 000000000..11fedbaa2 --- /dev/null +++ b/platform/hami/.olares/Olares.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +target: prebuilt +output: + containers: + - + name: beclab/hami:v2.5.2 + - + name: projecthami/hami-webui-fe-oss:v1.0.5 + - + name: projecthami/hami-webui-be-oss:v1.0.5 + - + name: nvidia/dcgm-exporter:4.1.1-4.0.4-ubuntu22.04 + + diff --git a/platform/hami/README.md b/platform/hami/README.md new file mode 100644 index 000000000..523d7a72f --- /dev/null +++ b/platform/hami/README.md @@ -0,0 +1 @@ +# hami diff --git a/platform/juicefs/.olares/Olares.yaml b/platform/juicefs/.olares/Olares.yaml new file mode 100644 index 000000000..e934f2229 --- /dev/null +++ b/platform/juicefs/.olares/Olares.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +target: prebuilt +output: + binaries: + - + id: juicefs + name: juicefs-v11.1.1.tar.gz + amd64: https://github.com/beclab/juicefs-ext/releases/download/v11.1.1/juicefs-v11.1.1-linux-amd64.tar.gz + arm64: https://github.com/beclab/juicefs-ext/releases/download/v11.1.1/juicefs-v11.1.1-linux-arm64.tar.gz + + + + + diff --git a/third-party/juicefs/README.md b/platform/juicefs/README.md similarity index 100% rename from third-party/juicefs/README.md rename to platform/juicefs/README.md diff --git a/platform/mongodb/.olares/Olares.yaml b/platform/mongodb/.olares/Olares.yaml new file mode 100644 index 000000000..a2c3be564 --- /dev/null +++ b/platform/mongodb/.olares/Olares.yaml @@ -0,0 +1,9 @@ +apiVersion: v1 +target: prebuilt +output: + containers: + - + name: beclab/percona-server-mongodb-operator:1.15.2 + + + diff --git a/platform/mongodb/README.md b/platform/mongodb/README.md new file mode 100644 index 000000000..8a6a4c072 --- /dev/null +++ b/platform/mongodb/README.md @@ -0,0 +1 @@ +# mongodb \ No newline at end of file diff --git a/platform/nats/.olares/Olares.yaml b/platform/nats/.olares/Olares.yaml new file mode 100644 index 000000000..7b0937ec7 --- /dev/null +++ b/platform/nats/.olares/Olares.yaml @@ -0,0 +1,6 @@ +apiVersion: v1 +target: prebuilt +output: + containers: + - + name: beclab/nats-server-config-reloader:v1 \ No newline at end of file diff --git a/platform/nats/README.md b/platform/nats/README.md new file mode 100644 index 000000000..9e57ffb28 --- /dev/null +++ b/platform/nats/README.md @@ -0,0 +1 @@ +# nats diff --git a/platform/open-telemetry/.olares/Olares.yaml b/platform/open-telemetry/.olares/Olares.yaml new file mode 100644 index 000000000..528bc6662 --- /dev/null +++ b/platform/open-telemetry/.olares/Olares.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +target: prebuilt +output: + containers: + - + name: ghcr.io/open-telemetry/opentelemetry-go-instrumentation/autoinstrumentation-go:v0.19.0-alpha + - + name: bytetrade/autoinstrumentation-apache-httpd:1.0.4-fix1 + - + name: ghcr.io/open-telemetry/opentelemetry-operator/autoinstrumentation-nodejs:0.40.0 + + + + diff --git a/third-party/opentelemetry/config/cluster/crds/opentelemetry.io_instrumentations.yaml b/platform/open-telemetry/.olares/config/cluster/crds/opentelemetry.io_instrumentations.yaml similarity index 100% rename from third-party/opentelemetry/config/cluster/crds/opentelemetry.io_instrumentations.yaml rename to platform/open-telemetry/.olares/config/cluster/crds/opentelemetry.io_instrumentations.yaml diff --git a/third-party/opentelemetry/config/cluster/crds/opentelemetry.io_opampbridges.yaml b/platform/open-telemetry/.olares/config/cluster/crds/opentelemetry.io_opampbridges.yaml similarity index 100% rename from third-party/opentelemetry/config/cluster/crds/opentelemetry.io_opampbridges.yaml rename to platform/open-telemetry/.olares/config/cluster/crds/opentelemetry.io_opampbridges.yaml diff --git a/third-party/opentelemetry/config/cluster/crds/opentelemetry.io_opentelemetrycollectors.yaml b/platform/open-telemetry/.olares/config/cluster/crds/opentelemetry.io_opentelemetrycollectors.yaml similarity index 100% rename from third-party/opentelemetry/config/cluster/crds/opentelemetry.io_opentelemetrycollectors.yaml rename to platform/open-telemetry/.olares/config/cluster/crds/opentelemetry.io_opentelemetrycollectors.yaml diff --git a/third-party/opentelemetry/config/cluster/crds/opentelemetry.io_targetallocators.yaml b/platform/open-telemetry/.olares/config/cluster/crds/opentelemetry.io_targetallocators.yaml similarity index 100% rename from third-party/opentelemetry/config/cluster/crds/opentelemetry.io_targetallocators.yaml rename to platform/open-telemetry/.olares/config/cluster/crds/opentelemetry.io_targetallocators.yaml diff --git a/third-party/opentelemetry/config/cluster/deploy/opentelemetry_operator.yaml b/platform/open-telemetry/.olares/config/cluster/deploy/opentelemetry_operator.yaml similarity index 100% rename from third-party/opentelemetry/config/cluster/deploy/opentelemetry_operator.yaml rename to platform/open-telemetry/.olares/config/cluster/deploy/opentelemetry_operator.yaml diff --git a/third-party/opentelemetry/README.md b/platform/open-telemetry/README.md similarity index 100% rename from third-party/opentelemetry/README.md rename to platform/open-telemetry/README.md diff --git a/platform/postgresql/citus/.olares/Olares.yaml b/platform/postgresql/citus/.olares/Olares.yaml new file mode 100644 index 000000000..a08c89b69 --- /dev/null +++ b/platform/postgresql/citus/.olares/Olares.yaml @@ -0,0 +1,8 @@ +apiVersion: v1 +target: prebuilt +output: + containers: + - + name: beclab/citus:12.2 + +# must have blank new line \ No newline at end of file diff --git a/platform/postgresql/citus/README.md b/platform/postgresql/citus/README.md new file mode 100644 index 000000000..c05115947 --- /dev/null +++ b/platform/postgresql/citus/README.md @@ -0,0 +1,3 @@ +# kube-state-metrics + +https://github.com/beclab/kube-state-metrics \ No newline at end of file diff --git a/third-party/pg_vectors/Dockerfile b/platform/postgresql/pg_vectors/Dockerfile similarity index 100% rename from third-party/pg_vectors/Dockerfile rename to platform/postgresql/pg_vectors/Dockerfile diff --git a/third-party/pg_vectors/README.md b/platform/postgresql/pg_vectors/README.md similarity index 100% rename from third-party/pg_vectors/README.md rename to platform/postgresql/pg_vectors/README.md diff --git a/platform/prometheus/.olares/Olares.yaml b/platform/prometheus/.olares/Olares.yaml new file mode 100644 index 000000000..a8f05ef75 --- /dev/null +++ b/platform/prometheus/.olares/Olares.yaml @@ -0,0 +1,17 @@ +apiVersion: v1 +target: prebuilt +output: + containers: + - + name: kubesphere/prometheus-config-reloader:v0.55.1 + - + name: kubesphere/prometheus-operator:v0.55.1 + - + name: beclab/node-exporter:0.0.1 + - + name: prom/prometheus:v2.34.0 + + + + + diff --git a/platform/prometheus/README.md b/platform/prometheus/README.md new file mode 100644 index 000000000..a2f136edf --- /dev/null +++ b/platform/prometheus/README.md @@ -0,0 +1 @@ +# prometheus \ No newline at end of file diff --git a/third-party/predixy/README.md b/platform/redis/predixy/README.md similarity index 100% rename from third-party/predixy/README.md rename to platform/redis/predixy/README.md diff --git a/third-party/redis-cluster-operator/README.md b/platform/redis/redis-cluster-operator/README.md similarity index 100% rename from third-party/redis-cluster-operator/README.md rename to platform/redis/redis-cluster-operator/README.md diff --git a/platform/redis/redis/.olares/Olares.yaml b/platform/redis/redis/.olares/Olares.yaml new file mode 100644 index 000000000..779fb3441 --- /dev/null +++ b/platform/redis/redis/.olares/Olares.yaml @@ -0,0 +1,21 @@ +apiVersion: v1 +target: prebuilt +output: + binaries: + - + id: redis + name: redis-5.0.14.tar.gz + amd64: https://dc3p1870nn3cj.cloudfront.net/redis-5.0.14_linux_amd64.tar.gz + arm64: https://dc3p1870nn3cj.cloudfront.net/redis-5.0.14_linux_arm64.tar.gz + - + id: redis-231 + name: redis-5.0.14-glibc-231.tar.gz + amd64: https://dc3p1870nn3cj.cloudfront.net/redis-5.0.14_linux_amd64-glibc-231.tar.gz + arm64: https://dc3p1870nn3cj.cloudfront.net/redis-5.0.14_linux_arm64.tar.gz + containers: + - + name: redis:5.0.14-alpine + + + + diff --git a/platform/redis/redis/README.md b/platform/redis/redis/README.md new file mode 100644 index 000000000..bed953024 --- /dev/null +++ b/platform/redis/redis/README.md @@ -0,0 +1 @@ +# redis diff --git a/platform/velero/.olares/Olares.yaml b/platform/velero/.olares/Olares.yaml new file mode 100644 index 000000000..44ad7bbb9 --- /dev/null +++ b/platform/velero/.olares/Olares.yaml @@ -0,0 +1,17 @@ +apiVersion: v1 +target: prebuilt +output: + binaries: + - + id: velero + name: velero-v1.11.3.tar.gz + amd64: https://github.com/beclab/velero/releases/download/v1.11.3/velero-v1.11.3-linux-amd64.tar.gz + arm64: https://github.com/beclab/velero/releases/download/v1.11.3/velero-v1.11.3-linux-arm64.tar.gz + containers: + - + name: beclab/velero:v1.11.3 + - + name: beclab/velero-plugin-for-terminus:v1.0.2 + + + \ No newline at end of file diff --git a/platform/velero/README.md b/platform/velero/README.md new file mode 100644 index 000000000..336577dc6 --- /dev/null +++ b/platform/velero/README.md @@ -0,0 +1 @@ +# velero diff --git a/scripts/deps-manifest.sh b/scripts/deps-manifest.sh deleted file mode 100644 index 2c9fd4511..000000000 --- a/scripts/deps-manifest.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env bash - -PLATFORM=${1:-linux/amd64} - -arch="amd64" -if [ x"$PLATFORM" == x"linux/arm64" ]; then - arch="arm64" -fi - -BASE_DIR=$(dirname $(realpath -s $0)) - -rm -rf $BASE_DIR/../.dependencies -mkdir -p $BASE_DIR/../.dependencies - -cp $BASE_DIR/../build/manifest/components $BASE_DIR/../.dependencies/. -cp $BASE_DIR/../build/manifest/pkgs $BASE_DIR/../.dependencies/. diff --git a/scripts/uninstall-gpu.sh b/scripts/uninstall-gpu.sh deleted file mode 100644 index 8a9eca38c..000000000 --- a/scripts/uninstall-gpu.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/usr/bin/env bash - - - -get_shell_exec(){ - user="$(id -un 2>/dev/null || true)" - - sh_c='sh -c' - if [ "$user" != 'root' ]; then - if command_exists sudo && command_exists su; then - sh_c='sudo su -c' - else - cat >&2 <<-'EOF' - Error: this installer needs the ability to run commands as root. - We are unable to find either "sudo" or "su" available to make this happen. - EOF - exit $ERR_EXIT - fi - fi -} - -get_shell_exec - -$sh_c 'apt-get --purge remove -y "*cublas*" "*cufft*" "*curand*" "*cusolver*" "*cusparse*" "*npp*" "*nvjpeg*" "cuda*" "nsight*"' -$sh_c 'apt-get --purge remove -y "*nvidia*"' -$sh_c 'apt-get autoremove -y' \ No newline at end of file diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh deleted file mode 100644 index ed4544ccc..000000000 --- a/scripts/upgrade.sh +++ /dev/null @@ -1,49 +0,0 @@ -#!/usr/bin/env bash - - - - -set -o pipefail - -VERSION=$1 - -export VERSION - -if [ "x${VERSION}" = "x" ]; then - echo "Usage: bash upgrade.sh " - echo "" - exit 1 -fi - -DOWNLOAD_URL="https://github.com/beclab/terminus/releases/download/${VERSION}/install-wizard-v${VERSION}.tar.gz" - -echo "" -echo " Downloading Install-Wizard ${VERSION} from ${DOWNLOAD_URL} ... " -echo "" - -filename="/tmp/install-wizard-v${VERSION}.tar.gz" -curl -Lo ${filename} ${DOWNLOAD_URL} -if [ $? -ne 0 ] || [ ! -f ${filename} ]; then - echo "" - echo "Failed to download Install-Wizard ${VERSION} !" - echo "" - echo "Please verify the version you are trying to download." - echo "" - exit 1 -fi - -if command -v tar &>/dev/null; then - tar -xzvf "${filename}" -else - echo "Install-Wizard ${VERSION} Download Complete!" - echo "" - echo "Try to unpack the ${filename} failed." - echo "tar: command not found, please unpack the ${filename} manually." - exit 1 -fi - -echo "" -echo "Install-Wizard ${VERSION} Download Complete!" -echo "" - -exit \ No newline at end of file diff --git a/scripts/upload-deps.sh b/scripts/upload-deps.sh deleted file mode 100644 index 148688d34..000000000 --- a/scripts/upload-deps.sh +++ /dev/null @@ -1,76 +0,0 @@ -#!/usr/bin/env bash - -set -o pipefail - -BASE_DIR=$(dirname $(realpath -s $0)) -echo "Push Deps to S3 base_dir: ${BASE_DIR}" - -if [ ! -d "$BASE_DIR/../.dependencies" ]; then - exit 1 -fi - -PLATFORM=${1:-linux/amd64} - -path="" -if [ x"$PLATFORM" == x"linux/arm64" ]; then - path="arm64/" -fi - -pushd $BASE_DIR/../.dependencies - -for deps in "components" "pkgs"; do - while read line; do - if [ x"$line" == x"" ]; then - continue - fi - - bash ${BASE_DIR}/download-deps.sh $PLATFORM $line - if [ $? -ne 0 ]; then - exit -1 - fi - - filename=$(echo "$line"|awk -F"," '{print $1}') - echo "if exists $filename ... " - name=$(echo -n "$filename"|md5sum|awk '{print $1}') - checksum="$name.checksum.txt" - md5sum $name > $checksum - backup_file=$(awk '{print $1}' $checksum) - if [ x"$backup_file" == x"" ]; then - echo "invalid checksum" - exit 1 - fi - - curl -fsSLI https://dc3p1870nn3cj.cloudfront.net/$path$name > /dev/null - if [ $? -ne 0 ]; then - code=$(curl -o /dev/null -fsSLI -w "%{http_code}" https://dc3p1870nn3cj.cloudfront.net/$path$name.tar.gz) - if [ $code -eq 403 ]; then - set -ex - aws s3 cp $name s3://terminus-os-install/$path$name --acl=public-read - aws s3 cp $name s3://terminus-os-install/backup/$path$backup_file --acl=public-read - aws s3 cp $checksum s3://terminus-os-install/$path$checksum --acl=public-read - echo "upload $name to s3 completed" - set +ex - else - if [ $code -ne 200 ]; then - echo "failed to check image" - exit -1 - fi - fi - fi - - # upload to tencent cloud cos - # curl -fsSLI https://cdn.joinolares.cn/$path$name > /dev/null - # if [ $? -ne 0 ]; then - # set -ex - # coscmd upload ./$name /$path$name - # coscmd upload ./$checksum /$path$checksum - # echo "upload $name to cos completed" - # set +ex - # fi - done < $deps -done - -popd - - - diff --git a/third-party/ks-console/README.md b/third-party/ks-console/README.md deleted file mode 100644 index 1b9da0519..000000000 --- a/third-party/ks-console/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ks-console - -https://github.com/kubesphere/console \ No newline at end of file diff --git a/third-party/ks-console/charts/Chart.yaml b/third-party/ks-console/charts/Chart.yaml deleted file mode 100644 index 2ac506ca5..000000000 --- a/third-party/ks-console/charts/Chart.yaml +++ /dev/null @@ -1,26 +0,0 @@ -apiVersion: v2 -name: console -description: A Helm chart for kubesphere console -maintainers: -- name: bytetrade - -# A chart can be either an 'application' or a 'library' chart. -# -# Application charts are a collection of templates that can be packaged into versioned archives -# to be deployed. -# -# Library charts provide useful utilities or functions for the chart developer. They're included as -# a dependency of application charts to inject those utilities and functions into the rendering -# pipeline. Library charts do not define any templates and therefore cannot be deployed. -type: application - -# This is the chart version. This version number should be incremented each time you make changes -# to the chart and its templates, including the app version. -# Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 - -# This is the version number of the application being deployed. This version number should be -# incremented each time you make changes to the application. Versions are not expected to -# follow Semantic Versioning. They should reflect the version the application is using. -# It is recommended to use it with quotes. -appVersion: "v3.3.0" diff --git a/third-party/ks-console/charts/templates/_helpers.tpl b/third-party/ks-console/charts/templates/_helpers.tpl deleted file mode 100644 index fc1992ebb..000000000 --- a/third-party/ks-console/charts/templates/_helpers.tpl +++ /dev/null @@ -1,62 +0,0 @@ -{{/* -Expand the name of the chart. -*/}} -{{- define "system.name" -}} -{{- default .Chart.Name .Values.nameOverride | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Create a default fully qualified app name. -We truncate at 63 chars because some Kubernetes name fields are limited to this (by the DNS naming spec). -If release name contains chart name it will be used as a full name. -*/}} -{{- define "system.fullname" -}} -{{- if .Values.fullnameOverride }} -{{- .Values.fullnameOverride | trunc 63 | trimSuffix "-" }} -{{- else }} -{{- $name := default .Chart.Name .Values.nameOverride }} -{{- if contains $name .Release.Name }} -{{- .Release.Name | trunc 63 | trimSuffix "-" }} -{{- else }} -{{- printf "%s-%s" .Release.Name $name | trunc 63 | trimSuffix "-" }} -{{- end }} -{{- end }} -{{- end }} - -{{/* -Create chart name and version as used by the chart label. -*/}} -{{- define "system.chart" -}} -{{- printf "%s-%s" .Chart.Name .Chart.Version | replace "+" "_" | trunc 63 | trimSuffix "-" }} -{{- end }} - -{{/* -Common labels -*/}} -{{- define "system.labels" -}} -helm.sh/chart: {{ include "system.chart" . }} -{{ include "system.selectorLabels" . }} -{{- if .Chart.AppVersion }} -app.kubernetes.io/version: {{ .Chart.AppVersion | quote }} -{{- end }} -app.kubernetes.io/managed-by: {{ .Release.Service }} -{{- end }} - -{{/* -Selector labels -*/}} -{{- define "system.selectorLabels" -}} -app.kubernetes.io/name: {{ include "system.name" . }} -app.kubernetes.io/instance: {{ .Release.Name }} -{{- end }} - -{{/* -Create the name of the service account to use -*/}} -{{- define "system.serviceAccountName" -}} -{{- if .Values.serviceAccount.create }} -{{- default (include "system.fullname" .) .Values.serviceAccount.name }} -{{- else }} -{{- default "default" .Values.serviceAccount.name }} -{{- end }} -{{- end }} diff --git a/third-party/ks-console/charts/templates/ks-console.yaml b/third-party/ks-console/charts/templates/ks-console.yaml deleted file mode 100644 index 84cbed91e..000000000 --- a/third-party/ks-console/charts/templates/ks-console.yaml +++ /dev/null @@ -1,143 +0,0 @@ - - - -apiVersion: v1 -data: - local_config.yaml: | - server: - apiServer: - url: http://ks-apiserver.kubesphere-system - wsUrl: ws://ks-apiserver.kubesphere-system - http: - hostname: localhost - port: 8000 - static: - production: - /public: server/public - /assets: dist/assets - /dist: dist - redis: - port: 6379 - host: redis.kubesphere-system.svc - redisTimeout: 5000 - sessionTimeout: 7200000 - client: - version: - kubesphere: v3.3.0 - kubernetes: v1.19.4 - openpitrix: v3.3.0 - enableKubeConfig: true - defaultClusterName: default -kind: ConfigMap -metadata: - name: ks-console-config - namespace: {{ .Release.Namespace }} - ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app: ks-console - tier: frontend - version: v3.3.0 - applications.app.bytetrade.io/author: bytetrade.io - applications.app.bytetrade.io/name: console - applications.app.bytetrade.io/owner: {{ .Values.username }} - annotations: - applications.app.bytetrade.io/icon: https://file.bttcdn.com/appstore/console/icon.png - applications.app.bytetrade.io/title: Console - applications.app.bytetrade.io/entrances: '[{"name":"console", "host":"ks-console", "port":80,"title":"Console"}]' - name: ks-console - namespace: {{ .Release.Namespace }} -spec: - strategy: - rollingUpdate: - maxSurge: 0 - type: RollingUpdate - replicas: 1 - selector: - matchLabels: - app: ks-console - tier: frontend - template: - metadata: - labels: - app: ks-console - tier: frontend - io.bytetrade.app: "true" - spec: - containers: - - image: kubesphere/ks-console:v3.3.0 - imagePullPolicy: IfNotPresent - name: ks-console - resources: - limits: - cpu: 1 - memory: 1024Mi - requests: - cpu: 20m - memory: 100Mi - volumeMounts: - - mountPath: /opt/kubesphere/console/server/local_config.yaml - name: ks-console-config - subPath: local_config.yaml - - mountPath: /etc/localtime - name: host-time - readOnly: true - livenessProbe: - tcpSocket: - port: 8000 - initialDelaySeconds: 15 - timeoutSeconds: 15 - periodSeconds: 10 - successThreshold: 1 - failureThreshold: 8 - serviceAccount: bytetrade-controller - serviceAccountName: bytetrade-controller - affinity: - podAntiAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - - topologyKey: kubernetes.io/hostname - labelSelector: - matchExpressions: - - key: app - operator: In - values: - - ks-console - namespaces: - - {{ .Release.Namespace }} - volumes: - - configMap: - defaultMode: 420 - name: ks-console-config - items: - - key: local_config.yaml - path: local_config.yaml - name: ks-console-config - - hostPath: - path: /etc/localtime - type: "" - name: host-time - ---- - -apiVersion: v1 -kind: Service -metadata: - labels: - app: ks-console - tier: frontend - version: v3.3.0 - name: ks-console - namespace: {{ .Release.Namespace }} -spec: - ports: - - name: nginx - port: 80 - protocol: TCP - targetPort: 8000 - selector: - app: ks-console - tier: frontend - type: ClusterIP \ No newline at end of file diff --git a/third-party/ks-console/charts/values.yaml b/third-party/ks-console/charts/values.yaml deleted file mode 100644 index c5f43583e..000000000 --- a/third-party/ks-console/charts/values.yaml +++ /dev/null @@ -1 +0,0 @@ -username: test diff --git a/third-party/ks-console/ks-console-v3.3.0.tgz b/third-party/ks-console/ks-console-v3.3.0.tgz deleted file mode 100644 index 1afc07948431d97537cff2ced55e303098c62d62..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2812 zcmV z912>ZZC)f%6)7h|+W&qtq~2{OE;h~H-f4g$mPpP!XC8{ZksVirQuwU9_r0hGbbLI* zzy0G;ulhHqz5ej1cho=b4f}_Cz5ZZuc)UkO-%X-5K^nV_I8u4FQEV&5B zWHqot8n7|RGQ#qhbYmVVJ$gcZVSYed%n~veF}X=*Oh!ukjxliTmb_D5BoHVeC|>dwoiaPCHp>~#WYU$%^JsgfegxN=Cvdg zG@zh^?=x4w7jvRm5cyOwNz{@S;v(wa&;|1ds42+G7!Hp#c9(p`B=Cp#FwtX?FH+_i znQx6Axx6SAEABCpNH$M=k|^$T#X%HkJx@ZdgVZhp<1%|awqm}BSnQDNB}?}~WgfbI z;-PeuOHn2ZJr=qt8bH_W1l4%>Z?F;g3dt&hY3NlXYvWLKjQnCAE`Wc;Bj!V7oTfFN zAfZ47=P(MK(u(hpF9wK#F$|rEGi&ZqX#^pzD2qY9UUJYvR?N>_?U>c2~n}2feR3tfdqcMyX!-4a5(@nzWYCtOZCId_RnpS}giNuw_ zccSnyX08YV%tq~J*fyc;Z0nD%j{o~q>Ho#{d1@r6 z@!#li{HOarzV8nQgQFJzJqK-!fBEuB;NTcp8$%2KiSAZ-YUqz>5-Q>!On*4SAPQzraPs& z=V0Mi*yHBh$JXnz2>Js69094vY3MT36jaF{o5*h&3o%1*sj*&^=KVCAN2oFyBjwHd z_V(7HT3y|+eKS>d-%d`?FQ(@mP}wZ{5c*7FpZc8e7_6P8c}JUpqCUOVh;$J%)4)K9 z+Zdo%xHuqE%+)P4Rp8=rsbW4$RLx(xf?#%a0(cBSseLjflc`PqaWb7u4}izV$@MRn zAFj#AllSjWF0Lo%Q*!y9oL*j>O|B=G7x45mIl1_ayqR2_9pv~KdU=fcgOVIQsevmr zb5>IzN2C%OKc7RB_W>>>fQQLKKrh!g2M}t&Wrh?&54iX|;EEb#xn`7OSyt@`(YHLR z=-48}7cTWbK^>X%g)Spw^2Ng7NEU;%vHnfK&3syWK}ZtATnr&Z5K0luFiV{B#LgCB>KZGmlHe^c!`GJ)whIn zqhtnIG|r699_v%6luXI7PLAxMJ^=^JaP}TDl*@5L!=uCFpK1n;&AfFNICAAyIb8#Y z6bZ~9l}5rY!H5<^P?3B2s0#@es$71KfeYECJje$PF z>$1&tOqymR5-J7^-`^AGJ@XlbG{4ASldoSbtJCS!vK~r>>_X}rk!KptBTBEy^y!TG zS=3-bRlI%&2f27m=CJ^D4;!!Q+NwV)KwCm>i=3ihJ6v>W0!PERa^{AYJ1nao`yZb# zZbMWSJ@hN}6Tt6K*<<8_{(;qaP&A9jJFw#}8krYu> z-HF1*4xANNKGRvSqh%1a82b<;=>9+NZ8XUq+nHqhfY`XR;7u7ke2F{I9>4A#*jgZr zXAZ#yO$7Hae#G!4LIi`4ishNBvk>JJfQ7R$F?K<}nWyZ~+{P0YFceRZmZ z+g;lZ#`Tdc!=s$YDsMoQyL?+o(#>hQAyISSnDMFPJd$5yxsB<@{MYuw-)s)7C_XNk zHyvnq6pb!xP6fP<8`Ve8y-IxlN`M#AF`3LSgt~&xiF-AlwINn{t&}2(F*PdXS$9WS zFZynj7zdXWut3Bhu@4aI9j^=_;$U(khe0pc!lPGVu@Zg~uy-N}t4um1z&BS^EytuQ zBGs*UDBnj}Pg-l#6{*_`Wll1g87bS@)Rke%H6rob#hNJGUY*8B%&2!6`e~)`8`rN` z2yN;r7Bg1$pK_zAaBrBZJ9R@Nhnxrj#!>%_`81s}(B8w%F{*MiEpYQ7z$Grca;#VL zj0?#kua}TGOW}Lp{?7d1!M(_#fH156kW7-Kw{> z)#SN#o14aD+YK4zzSrogd8jbRYHHH`>0#CH?9W(PvYDbbsId(SqWd-Sp`E&A+T1-p3Y!g*Ey zfZ$T{IiWtEbG$x_BCWP#ePo8Wp07{>njp!HxfDM=NdZc|DcX@S7I^rcxfao2&V1p~ zU#VWsQtgPdiz&{%q-o9wg**DDkIvor0QhzJO8TsMIYL* z;n;t*iT%m`_6;P002rA@xm7_kY&3-OA2@Q^)k^FBm)%u2&2fytwc)&nz0H_9l`P5Z zJ1Oq_a177kb(~l|#u8MY=D0?7qYb=lnp;*i z=hZe=Vb#9MzR#K3*$;as25Wo!kM6bqjkFQ}U0hzDPaSoqo<_za_^*EdtMT9HXxQSv zXQ4{`&3X7c{0G2C;@|K0%m4q^AB^z+f7oyDf1iaK_rHVc{qLXd`nPiXyX)m|d-wah z?tb%YpD}^Hq1q1HQcEqh)KW_=wbW8eEw$8AOD(n3QcEqh)KW_=wbW8eEw$8AOD(nZ O?DQYdHCjOcPyhfYN{Y7t diff --git a/third-party/ks-installer/README.md b/third-party/ks-installer/README.md deleted file mode 100644 index d84077e6c..000000000 --- a/third-party/ks-installer/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# ks-installer - -https://github.com/beclab/ks-installer-ext \ No newline at end of file diff --git a/third-party/notification-manager/README.md b/third-party/notification-manager/README.md deleted file mode 100644 index a07b231df..000000000 --- a/third-party/notification-manager/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# notification-manager - -https://github.com/beclab/notification-manager-ext \ No newline at end of file diff --git a/third-party/seafile-server/README.md b/third-party/seafile-server/README.md deleted file mode 100644 index 532ca471f..000000000 --- a/third-party/seafile-server/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# Seafile Server Core - -https://github.com/beclab/seafile-server \ No newline at end of file diff --git a/third-party/seahub/config/user/helm-charts/seafile/.helmignore b/third-party/seahub/config/user/helm-charts/seafile/.helmignore deleted file mode 100644 index 0e8a0eb36..000000000 --- a/third-party/seahub/config/user/helm-charts/seafile/.helmignore +++ /dev/null @@ -1,23 +0,0 @@ -# Patterns to ignore when building packages. -# This supports shell glob matching, relative path matching, and -# negation (prefixed with !). Only one pattern per line. -.DS_Store -# Common VCS dirs -.git/ -.gitignore -.bzr/ -.bzrignore -.hg/ -.hgignore -.svn/ -# Common backup files -*.swp -*.bak -*.tmp -*.orig -*~ -# Various IDEs -.project -.idea/ -*.tmproj -.vscode/ diff --git a/third-party/tailscale/README.md b/third-party/tailscale/README.md deleted file mode 100644 index ec44c950a..000000000 --- a/third-party/tailscale/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# tailscale - -https://github.com/beclab/tailscale \ No newline at end of file diff --git a/vendor/olares-one/.gitkeep b/vendor/olares-one/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/vendor/olares-zero/.gitkeep b/vendor/olares-zero/.gitkeep new file mode 100644 index 000000000..e69de29bb