Post

Add Revoked Permissions for Retired Octelium Namespace and Extend Offline Checks

Add Revoked Permissions for Retired Octelium Namespace and Extend Offline Checks

I updated the CI pipelines to revoke permissions for a retired Octelium namespace and added new checks that verify no workloads reference those namespaces, tightening security for the homelab.

Extended Offline Checks for Retired Namespaces

The scripts/ci/offline-checks.sh file now contains a yq‑based block that validates Argo CD projects and other resources. It ensures that any AppProject only targets the approved namespaces octelium-public, public-tunnel, and cordium-runners, and that no conditions reference the retired namespaces octelium-*, octelium-client, or octelium-storage. Additionally, the script checks that ClusterRole and ClusterRoleBinding whitelists do not grant access to those namespaces, preventing accidental privilege creep after the service was decommissioned.

Revoked Permissions for Octelium Namespace

The commit chore(security): revoke retired private Octelium namespace permissions (#2359) removed RBAC rights for the private Octelium namespace. This API‑level revocation guarantees that no new workload can obtain permissions to that namespace, complementing the offline checks that merely detect references.

Updated Static Checks Denylist

Three new secret paths were added to scripts/ci/static-checks.sh and one obsolete entry was removed, expanding the denylist to cover credentials from the decommissioned Octelium and Cordium workloads. The CI run now fails if any workload attempts to read those retired secrets, closing a potential leakage vector.

This post is licensed under CC BY 4.0 by the author.