You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 680f70c
Browse filesBrowse the repository at this point in the historyBrowse files
[platform] Separate assets server into dedicated deployment (#1705)
## What this PR does
Separates the assets server from the main cozystack installer into a
dedicated StatefulSet deployment. This improves separation of concerns
and allows the assets server to run independently from the installer.
Changes:
- Created new `cozystack-assets` StatefulSet in the platform package
- Added dedicated Dockerfile for assets server image
(`packages/core/platform/images/cozystack-assets/Dockerfile`)
- Removed assets server container and Service from installer deployment
- Updated HelmRepository URLs to point to new `cozystack-assets` service
- Updated dashboard URLs in monitoring package to use new service
- Added image build target to platform Makefile
- Configured assets server with hostNetwork and proper RBAC permissions
### Release note
```release-note
[platform] Separate assets server into dedicated StatefulSet deployment
```
Copy file name to clipboardExpand all lines: packages/core/installer/images/cozystack/Dockerfile
-7Lines changed: 0 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -26,10 +26,6 @@ WORKDIR /src
26
26
27
27
RUN go mod download
28
28
29
-
RUN go build -o /cozystack-assets-server -ldflags '-extldflags "-static" -w -s' ./cmd/cozystack-assets-server
30
-
31
-
RUN make repos
32
-
33
29
FROM alpine:3.22
34
30
35
31
RUN wget -O- https://github.com/cozystack/cozypkg/raw/refs/heads/main/hack/install.sh | sh -s -- -v 1.2.0
@@ -39,10 +35,7 @@ RUN apk add --no-cache make kubectl helm coreutils git jq
0 commit comments