Commit Graph

122 Commits

Author SHA1 Message Date
6915079e5c Fix K8s deployment with init container and proper security context
Some checks failed
Build and Deploy to K3s / test (push) Successful in 2m5s
Build and Deploy to K3s / lint (push) Successful in 1m33s
Build and Deploy to K3s / build-and-push (push) Successful in 48s
Build and Deploy to K3s / deploy (push) Failing after 5m42s
- Add init container to set up config files with correct ownership
- Run main container as socktop user (UID 100, GID 101) from the start
- Use fsGroup to ensure proper volume permissions
- Add emptyDir volume for /var/lib/socktop to avoid permission issues
- Create docker-entrypoint.sh wrapper to detect root vs non-root execution
  - Root mode: uses init-config.sh for Docker/docker-compose
  - Non-root mode: directly runs entrypoint.sh for K8s
- Update deployment command format to work with new entrypoint

This resolves 'Operation not permitted' errors when running in K8s
with security contexts that restrict user switching and ownership changes.
2025-11-30 04:22:43 -08:00
e870e2e4ec Upgrade to Rust 1.91 and migrate to pop-telemetry 0.12.1
Some checks failed
Build and Deploy to K3s / test (push) Successful in 2m6s
Build and Deploy to K3s / lint (push) Successful in 1m33s
Build and Deploy to K3s / build-and-push (push) Successful in 5m24s
Build and Deploy to K3s / deploy (push) Failing after 10m8s
- Updated Rust toolchain from 1.90 to 1.91 (required by pop-telemetry)
- Migrated analytics to use pop-telemetry crate for privacy-focused telemetry
- Added dirs dependency for cross-platform config directory handling
- Refactored init-config.sh to handle permission restrictions in K8s
  - Gracefully handles chown failures in restricted security contexts
  - Uses alternative copy methods (cat > file) when cp fails
  - Continues operation with warnings instead of failing
- Updated Dockerfile to use rust:1.91-slim-bookworm base image
- Changed telemetry configuration from endpoint/website_id to config file path

This addresses permission denied errors when deploying to K3s with
security contexts that prevent ownership changes on pre-existing directories.
2025-11-30 04:01:43 -08:00
39e0f55fc4 permission issue hotfix
Some checks failed
Build and Deploy to K3s / test (push) Successful in 2m6s
Build and Deploy to K3s / lint (push) Successful in 1m33s
Build and Deploy to K3s / build-and-push (push) Successful in 53s
Build and Deploy to K3s / deploy (push) Failing after 8s
2025-11-30 03:49:09 -08:00
e0535a033b hotfix for telemetry hotfix for profiles config
Some checks failed
Build and Deploy to K3s / test (push) Successful in 2m6s
Build and Deploy to K3s / lint (push) Successful in 1m33s
Build and Deploy to K3s / build-and-push (push) Successful in 5m35s
Build and Deploy to K3s / deploy (push) Failing after 8s
2025-11-30 03:34:08 -08:00
d3f95b8c52 patch for missing profiles file
Some checks failed
Build and Deploy to K3s / test (push) Successful in 2m3s
Build and Deploy to K3s / lint (push) Successful in 1m31s
Build and Deploy to K3s / build-and-push (push) Successful in 5m17s
Build and Deploy to K3s / deploy (push) Failing after 10m8s
2025-11-30 02:33:43 -08:00
d554574e30 fix certs path, increment cargo version.
All checks were successful
Build and Deploy to K3s / test (push) Successful in 2m5s
Build and Deploy to K3s / lint (push) Successful in 1m33s
Build and Deploy to K3s / build-and-push (push) Successful in 5m21s
Build and Deploy to K3s / deploy (push) Successful in 1m50s
2025-11-30 01:57:56 -08:00
850cf32b50 - add cargo fmt / clippy to actions build. - add common unit tests. -
All checks were successful
Build and Deploy to K3s / test (push) Successful in 2m40s
Build and Deploy to K3s / lint (push) Successful in 1m33s
Build and Deploy to K3s / build-and-push (push) Successful in 5m17s
Build and Deploy to K3s / deploy (push) Successful in 9s
improved security sanitization - security spcecific unit tests - add
unit tests to workflow build - add unami analytics.
2025-11-30 01:37:07 -08:00
9fb9d9ab50 --no-install-recommends to trim image size
All checks were successful
Build and Deploy to K3s / build-and-push (push) Successful in 5m30s
Build and Deploy to K3s / deploy (push) Successful in 8s
2025-11-28 16:22:08 -08:00
2012504616 - trim container image size - sanitize socktop inputs 2025-11-28 16:20:18 -08:00
e224989702 - remove random ass copypasta in deployment yaml - fix gitea link
All checks were successful
Build and Deploy to K3s / build-and-push (push) Successful in 4m24s
Build and Deploy to K3s / deploy (push) Successful in 10m12s
2025-11-28 14:59:42 -08:00
29a97a43a9 update README and CARGO VERSION
Some checks failed
Build and Deploy to K3s / build-and-push (push) Successful in 4m22s
Build and Deploy to K3s / deploy (push) Failing after 9s
2025-11-28 14:45:14 -08:00
12f2d6e6af - modernize packages and rust edition. - increase timeout for rollout -
Some checks failed
Build and Deploy to K3s / deploy (push) Blocked by required conditions
Build and Deploy to K3s / build-and-push (push) Has been cancelled
increment cargo version
2025-11-28 14:43:49 -08:00
b365ac38e3 add screenshot 2025-11-28 14:12:14 -08:00
b1030154ea use https container path
Some checks failed
Build and Deploy to K3s / build-and-push (push) Successful in 36s
Build and Deploy to K3s / deploy (push) Failing after 5m9s
2025-11-28 13:05:11 -08:00
61297c66dd specify coprret kube namespace
Some checks failed
Build and Deploy to K3s / build-and-push (push) Successful in 37s
Build and Deploy to K3s / deploy (push) Failing after 5s
2025-11-28 12:58:59 -08:00
b50cb50f14 set host networking to false 2025-11-28 12:49:54 -08:00
01c85cbb7a Add deployment creation if it doesn't exist
Some checks failed
Build and Deploy to K3s / build-and-push (push) Successful in 34s
Build and Deploy to K3s / deploy (push) Failing after 5m9s
2025-11-28 12:41:34 -08:00
58fd99b760 Verify deployment access instead of node access
Some checks failed
Build and Deploy to K3s / build-and-push (push) Successful in 35s
Build and Deploy to K3s / deploy (push) Failing after 6s
2025-11-28 12:36:09 -08:00
77e4c1a530 Remove cluster-info check
Some checks failed
Build and Deploy to K3s / build-and-push (push) Successful in 34s
Build and Deploy to K3s / deploy (push) Failing after 6s
2025-11-28 12:34:21 -08:00
eeb8c7f334 fix kubectl arch so can build on ARM.
Some checks failed
Build and Deploy to K3s / build-and-push (push) Successful in 34s
Build and Deploy to K3s / deploy (push) Failing after 6s
2025-11-28 12:32:21 -08:00
e2ddc721f2 remove port from registry location, connect over port 443 (default)
Some checks failed
Build and Deploy to K3s / build-and-push (push) Successful in 10m3s
Build and Deploy to K3s / deploy (push) Has been cancelled
2025-11-28 12:10:26 -08:00
1257912c08 switch to https domain name for image registry.
Some checks failed
Build and Deploy to K3s / build-and-push (push) Failing after 36s
Build and Deploy to K3s / deploy (push) Has been skipped
2025-11-28 12:08:24 -08:00
95e1212256 add network diagram 2025-11-28 11:48:46 -08:00
46b74b64c6 add CICD workflow.
Some checks failed
Build and Deploy to K3s / build-and-push (push) Failing after 29s
Build and Deploy to K3s / deploy (push) Has been skipped
2025-11-28 11:46:29 -08:00
7e596fd980 initial checking CICD and remove heart 2025-11-28 11:43:38 -08:00
a81568f907 - generally file cleanup and organize. - remove incorrect prompt text. 2025-11-28 10:23:53 -08:00
6e48c095ab Initial commit: Socktop WebTerm with k3s deployment
- Multi-architecture Docker image (ARM64 + AMD64)
- Kubernetes manifests for 3-replica deployment
- Traefik ingress configuration
- NGINX Proxy Manager integration
- ConfigMap-based configuration
- Automated build and deployment scripts
- Session monitoring tools
2025-11-28 01:31:33 -08:00
jackson-sandland
627073ef2d Update readme with instructions for run, build, and browser live on 8080 2022-07-26 12:23:46 +02:00
dependabot-preview[bot]
e1b031d220 chore(deps): bump serde_json from 1.0.41 to 1.0.44
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.41 to 1.0.44.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.41...v1.0.44)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-10 07:02:16 +01:00
dependabot-preview[bot]
37638d200b chore(deps): bump serde from 1.0.102 to 1.0.104
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.102 to 1.0.104.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.102...v1.0.104)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-10 05:15:02 +01:00
dependabot-preview[bot]
d8775f9022 chore(deps): bump libc from 0.2.65 to 0.2.66
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.65 to 0.2.66.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.65...0.2.66)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-10 04:29:52 +01:00
dependabot-preview[bot]
8504816dd9 chore(deps): bump structopt from 0.3.4 to 0.3.7
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.4 to 0.3.7.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.4...v0.3.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-10 04:29:00 +01:00
dependabot-preview[bot]
f96d22e661 chore(deps): [security] bump http from 0.1.17 to 0.1.21
Bumps [http](https://github.com/hyperium/http) from 0.1.17 to 0.1.21. **This update includes security fixes.**
- [Release notes](https://github.com/hyperium/http/releases)
- [Changelog](https://github.com/hyperium/http/blob/v0.1.21/CHANGELOG.md)
- [Commits](https://github.com/hyperium/http/compare/v0.1.17...v0.1.21)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-01-10 04:27:37 +01:00
dependabot-preview[bot]
b610ef5944 chore(deps): bump structopt from 0.3.3 to 0.3.4
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.3...v0.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-11-11 12:57:36 +01:00
dependabot-preview[bot]
85b92a64c8 chore(deps): bump serde from 1.0.101 to 1.0.102
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.101 to 1.0.102.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.101...v1.0.102)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-31 10:55:54 +01:00
dependabot-preview[bot]
6056760c42 chore(deps): bump libc from 0.2.64 to 0.2.65
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.64 to 0.2.65.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.64...0.2.65)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-21 16:33:51 +02:00
dependabot-preview[bot]
74894d39ea chore(deps): bump libc from 0.2.62 to 0.2.64
Bumps [libc](https://github.com/rust-lang/libc) from 0.2.62 to 0.2.64.
- [Release notes](https://github.com/rust-lang/libc/releases)
- [Commits](https://github.com/rust-lang/libc/compare/0.2.62...0.2.64)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-16 09:06:10 +02:00
dependabot-preview[bot]
6039be7e8c chore(deps): bump actix-files from 0.1.4 to 0.1.6
Bumps [actix-files](https://github.com/actix/actix-web) from 0.1.4 to 0.1.6.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/http-v0.1.4...files-v0.1.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-16 01:08:49 +02:00
dependabot-preview[bot]
e355535964 chore(deps): bump structopt from 0.3.2 to 0.3.3
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.2...v0.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-16 01:08:24 +02:00
dependabot-preview[bot]
38535f2037 chore(deps): bump serde_json from 1.0.40 to 1.0.41
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.40 to 1.0.41.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.40...v1.0.41)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-05 11:11:19 +02:00
Fabian Freyer
5a2095f403 release: 0.2.0 2019-09-29 04:51:25 +02:00
dependabot-preview[bot]
c19801b7c7 chore(deps): bump lazy_static from 1.3.0 to 1.4.0
Bumps [lazy_static](https://github.com/rust-lang-nursery/lazy-static.rs) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/rust-lang-nursery/lazy-static.rs/releases)
- [Commits](https://github.com/rust-lang-nursery/lazy-static.rs/compare/1.3.0...1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-29 04:48:10 +02:00
Fabian Freyer
ebadd2bc10 chore: remove extra extern crates 2019-09-29 04:46:26 +02:00
Fabian Freyer
e74a974d51 Update to actix-web 1.0 and use handlebars 2019-09-29 04:46:26 +02:00
dependabot-preview[bot]
d71b42665f chore(deps): bump actix from 0.7.9 to 0.8.3
Bumps [actix](https://github.com/actix/actix) from 0.7.9 to 0.8.3.
- [Release notes](https://github.com/actix/actix/releases)
- [Changelog](https://github.com/actix/actix/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix/compare/0.7.9...v0.8.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-29 04:46:26 +02:00
dependabot-preview[bot]
2b552d010d chore(deps): bump actix-web from 0.7.19 to 1.0.8
Bumps [actix-web](https://github.com/actix/actix-web) from 0.7.19 to 1.0.8.
- [Release notes](https://github.com/actix/actix-web/releases)
- [Changelog](https://github.com/actix/actix-web/blob/master/CHANGES.md)
- [Commits](https://github.com/actix/actix-web/compare/v0.7.19...web-v1.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-29 04:46:26 +02:00
dependabot-preview[bot]
6d63642fa4 chore(deps): bump structopt from 0.3.0 to 0.3.2
Bumps [structopt](https://github.com/TeXitoi/structopt) from 0.3.0 to 0.3.2.
- [Release notes](https://github.com/TeXitoi/structopt/releases)
- [Changelog](https://github.com/TeXitoi/structopt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TeXitoi/structopt/compare/v0.3.0...v0.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-29 01:08:20 +02:00
dependabot-preview[bot]
4257aa4a81 chore(deps): bump serde from 1.0.100 to 1.0.101
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.100 to 1.0.101.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.100...v1.0.101)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-29 01:08:04 +02:00
dependabot-preview[bot]
019d43510e chore(deps): bump futures from 0.1.28 to 0.1.29
Bumps [futures](https://github.com/rust-lang-nursery/futures-rs) from 0.1.28 to 0.1.29.
- [Release notes](https://github.com/rust-lang-nursery/futures-rs/releases)
- [Changelog](https://github.com/rust-lang-nursery/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang-nursery/futures-rs/compare/0.1.28...0.1.29)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-29 01:07:52 +02:00
dependabot-preview[bot]
2228ca6119 chore(deps): bump serde from 1.0.99 to 1.0.100
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.99 to 1.0.100.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.99...v1.0.100)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-14 11:59:06 +02:00