Skip to content

security(PS-1634): remove T-Mobile customer name references from work…#97

Open
brathina-spectro wants to merge 2 commits into
mainfrom
security/PS-1634-remove-customer-references
Open

security(PS-1634): remove T-Mobile customer name references from work…#97
brathina-spectro wants to merge 2 commits into
mainfrom
security/PS-1634-remove-customer-references

Conversation

@brathina-spectro

Copy link
Copy Markdown
Contributor

…ing tree

Removes all hardcoded T-Mobile references from live configuration files as required by PS-1634 (bug bounty report - customer attribution exposure).

Files remediated:

  • discovery/modules/tke-cluster/cluster.tf
  • discovery/config/namespace-labeler.yaml
  • discovery/config-stg/namespace-labeler.yaml
  • discovery-airgap/config/namespace-labeler.yaml
  • discovery-airgap/config-stg/namespace-labeler.yaml

Git history purge (all branches) to follow as a separate step.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Removes hardcoded customer-identifying T‑Mobile label references from Terraform and namespace-labeler job configs to address PS-1634 (customer attribution exposure).

Changes:

  • Removed commented/inline k8s.t-mobile.com/* labels from the vSphere cluster module (Terraform).
  • Removed k8s.t-mobile.com/* namespace labels from namespace-labeler Job manifests across live/staging and airgap variants.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
discovery/modules/tke-cluster/cluster.tf Removes hardcoded k8s.t-mobile.com/* worker/master pool labels.
discovery/config/namespace-labeler.yaml Removes k8s.t-mobile.com/* label entries from the namespace labeler.
discovery/config-stg/namespace-labeler.yaml Same removal for staging.
discovery-airgap/config/namespace-labeler.yaml Same removal for airgap.
discovery-airgap/config-stg/namespace-labeler.yaml Same removal for airgap staging.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread discovery-airgap/config-stg/namespace-labeler.yaml
Comment thread discovery/config/namespace-labeler.yaml
Comment thread discovery/config-stg/namespace-labeler.yaml
Comment thread discovery-airgap/config/namespace-labeler.yaml
brathina-spectro added a commit that referenced this pull request Mar 24, 2026
…labeler jobs

Addresses Copilot review feedback on PR #97. When labels_arr is empty
(after removing customer-specific labels), the Job would still run as a
privileged no-op with wildcard RBAC on namespaces. Adding an early-exit
prevents unnecessary execution of the privileged components.

Affected files:
- discovery/config/namespace-labeler.yaml
- discovery/config-stg/namespace-labeler.yaml
- discovery-airgap/config/namespace-labeler.yaml
- discovery-airgap/config-stg/namespace-labeler.yaml

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mrmohamedkasim05

Copy link
Copy Markdown

@brathina-spectro , The following files, which contain T-mobile references, are not included in this PR. Please do check.

discovery-maas/main.tf
discovery-maas/config-stg/os_ubuntu.yaml
discovery-maas/config/os_ubuntu.yaml
discovery-maas/config-stg/cred-provider.yaml
discovery-maas/config/cred-provider.yaml
discovery-maas/config-stg/namespace-labeler.yaml
discovery-maas/config/namespace-labeler.yaml
tmo-qa/config-stg/namespace-labeler.yaml
tmo-qa/config/namespace-labeler.yaml
airgap/config-stg/namespace-labeler.yaml
airgap/config/namespace-labeler.yaml
discovery/modules/tke-cluster/globals.tf
discovery/cp_vmware_new.tf

brathina-spectro and others added 2 commits June 29, 2026 12:08
…ing tree

Removes all hardcoded T-Mobile references from live configuration files
as required by PS-1634 (bug bounty report - customer attribution exposure).

Files remediated:
- discovery/modules/tke-cluster/cluster.tf
- discovery/config/namespace-labeler.yaml
- discovery/config-stg/namespace-labeler.yaml
- discovery-airgap/config/namespace-labeler.yaml
- discovery-airgap/config-stg/namespace-labeler.yaml

Git history purge (all branches) to follow as a separate step.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…labeler jobs

Addresses Copilot review feedback on PR #97. When labels_arr is empty
(after removing customer-specific labels), the Job would still run as a
privileged no-op with wildcard RBAC on namespaces. Adding an early-exit
prevents unnecessary execution of the privileged components.

Affected files:
- discovery/config/namespace-labeler.yaml
- discovery/config-stg/namespace-labeler.yaml
- discovery-airgap/config/namespace-labeler.yaml
- discovery-airgap/config-stg/namespace-labeler.yaml

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@brathina-spectro brathina-spectro force-pushed the security/PS-1634-remove-customer-references branch from c1436dc to ae731bc Compare June 29, 2026 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants