Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
0d7b270
feat(security): transition from static policies.yaml to dynamic relat…
aojea Jul 23, 2026
63fe69d
feat(deploy): introduce sam-mesh Helm chart and migrate local kind in…
aojea Jul 23, 2026
eba7026
fix(policy): address PR 224 review comments and fix key rotation, log…
aojea Jul 23, 2026
b1716b1
fix(policy): resolve node e2e enrollment failures by passing resolved…
aojea Jul 23, 2026
8f5bfed
fix(policy): add pg_advisory_lock to prevent concurrent db migrations…
aojea Jul 24, 2026
de76a0b
test(e2e): migrate E2E tests to deploy via Helm chart and remove obso…
aojea Jul 24, 2026
ac97ed0
fix(identity): translate mesh policy roles to Datalog facts during Bi…
aojea Jul 24, 2026
25ce2e1
fix(e2e): add sam:role:node role to default-policy.yaml fixture
aojea Jul 24, 2026
cbf4b9b
fix(review): address PR review comments for roles resolution, OIDC sh…
aojea Jul 24, 2026
e3c6fa7
fix(mobile): update mobile_e2e.sh to use REST API policy seeding
aojea Jul 24, 2026
9e24c9a
fix(storage, node): address PR review comments for database teardown,…
aojea Jul 24, 2026
12ec0c6
fix(controlplane, storage): add policy validation and rows.Err checks
aojea Jul 25, 2026
3f9e5b8
fix(identity): handle all errors from addFact, FromStringFact, and au…
aojea Jul 25, 2026
45d6b5d
fix(controlplane, helm): resolve PR review comments for validation, s…
aojea Jul 25, 2026
f6d7818
fix(helm): make postgres database port and sslmode configurable
aojea Jul 25, 2026
51a14be
feat(controlplane): add MeshAdapter abstraction and GossipSub MeshEve…
aojea Jul 25, 2026
6b785d6
fix(controlplane): address review comments, security checks, helm hoo…
aojea Jul 26, 2026
ed1dafa
address comments reviw
aojea Jul 26, 2026
088ade7
fix(controlplane,identity,router): fix multi-key extraction, user rev…
aojea Jul 26, 2026
2445a8e
fix(api): configure explicit datalog evaluation timeout in datalog_te…
aojea Jul 26, 2026
20d6c39
fix(sec): prevent OIDC role impersonation and use deterministic proto…
aojea Jul 26, 2026
b808bed
fix(sec): prevent banned peers from re-authenticating with routers vi…
aojea Jul 27, 2026
75b075e
fix
aojea Jul 27, 2026
e0ae088
fix test
aojea Jul 27, 2026
b708903
fix(deploy,storage,controlplane): add PostgreSQL ping retries, fail-f…
aojea Jul 28, 2026
a689752
fix(python-sdk): unpack first two elements from streamable_http_clien…
aojea Jul 28, 2026
4577446
fix(identity,controlplane,python): pass configurable BiscuitTimeout t…
aojea Jul 28, 2026
cda9b36
fix(ci): pin action references to SHAs and eliminate inline template …
aojea Jul 28, 2026
ba23b88
fix(ci): update azure/setup-helm to valid commit SHA b7246d128d975101…
aojea Jul 28, 2026
7fd2ebb
fix(ci,node): update azure/setup-helm SHA and speed up static service…
aojea Jul 30, 2026
d875703
fix(e2e): pin mcp to <2.0.0 in calc-mcp docker requirements.txt
aojea Jul 30, 2026
0703f90
fix(helm): remove redundant wait-for-db init container in control-pla…
aojea Jul 30, 2026
8f108d4
fix(ci): pin all action references in test_python, release, and deplo…
aojea Jul 30, 2026
3a50b4f
fix(ci): increase inotify watches and instances limits for multi-node…
aojea Jul 30, 2026
52f3af2
fix github actions references
aojea Jul 31, 2026
af1c94d
odic issues
aojea Jul 31, 2026
1dab5ef
fix zizmor permissions for github pages
aojea Jul 31, 2026
20f14af
fix zizmor
aojea Jul 31, 2026
ccb82ed
ping python mcp deps
aojea Jul 31, 2026
6faf54f
fix(router): deflake TestRouterGossipSubBannedEvent
aojea Jul 31, 2026
e936e20
make charts more resilients
aojea Jul 31, 2026
1d7acb2
log biscuit datalog errors
aojea Jul 31, 2026
3581892
refactor(node): reduce complexity of Enroll and add unit tests
aojea Jul 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 0 additions & 48 deletions .github/k8s/sam-control-plane-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ spec:
- "--db-dsn=postgres://sam:sam-secret-password@sam-db-${ENV_NAME}:5432/sam_mesh?sslmode=disable"
- "--issuer=https://auth.sam-mesh.dev,https://container.googleapis.com/v1/projects/${GCP_PROJECT_ID}/locations/${CLUSTER_REGION}/clusters/${CLUSTER_NAME}"
- "--allowed-audiences=sam-mesh-audience,sam-hub-audience"
- "--policy-file=/etc/sam/policies/policies.yaml"
- "--admin-token=$(ADMIN_TOKEN)"
- "--auto-approve-enrollment"
resources:
Expand All @@ -133,53 +132,6 @@ spec:
limits:
cpu: 500m
memory: 512Mi
volumeMounts:
- name: policies-volume
mountPath: /etc/sam/policies
readOnly: true
volumes:
- name: policies-volume
configMap:
name: sam-control-plane-policies-${ENV_NAME}
---
apiVersion: v1
kind: ConfigMap
metadata:
name: sam-control-plane-policies-${ENV_NAME}
namespace: ${NAMESPACE}
data:
policies.yaml: |
version: "v1alpha1"
bindings:
- members: ["user:system:serviceaccount:sam-canary-${ENV_NAME}:sam-node-sa"]
role: "sam-canary"
- members: ["user:system:serviceaccount:sam-canary-${ENV_NAME}:sam-box-sa"]
role: "sam:role:sambox"
- members: ["group:routers", "user:system:serviceaccount:${NAMESPACE}:sam-router-sa"]
role: "sam:role:router"
- members: ["sam:system:authenticated"]
role: "public-mesh"
roles:
sam-canary:
allowed_services:
- "*"
allowed_targets:
- "*"
"sam:role:sambox":
allowed_services:
- "*"
allowed_targets:
- "*"
"sam:role:router":
allowed_services:
- "*"
allowed_targets:
- "*"
public-mesh:
allowed_services:
- "*"
allowed_targets:
- "*"
---
apiVersion: networking.gke.io/v1
kind: HealthCheckPolicy
Expand Down
17 changes: 10 additions & 7 deletions .github/workflows/deploy-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ on:

permissions:
contents: read
pages: write
id-token: write

env:
REPO_NAME: ${{ github.event.repository.name }}
Expand All @@ -28,18 +26,19 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
with:
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
submodules: recursive # Fetch any git submodules if configured
persist-credentials: false

- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0
with:
hugo-version: '0.136.5' # Matching local Hugo version
extended: true

- uses: actions/setup-node@v7
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0
with:
node-version: '20'
check-latest: true
Expand All @@ -58,13 +57,17 @@ jobs:
run: echo "sam-mesh.dev" > ./site/public/CNAME

- name: Upload artifact
uses: actions/upload-pages-artifact@v5
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
with:
path: ./site/public

deploy:
needs: build
if: ${{ github.ref == 'refs/heads/main' && github.event_name != 'pull_request' }}
permissions:
contents: read
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand All @@ -74,4 +77,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5
Loading
Loading