• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

redhat-performance / cloud-governance / 30555696561
73%

Build:
DEFAULT BRANCH: main
Ran 30 Jul 2026 03:27PM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
30555696561

push

travis-pro

web-flow
Add Hypershift support and unify CLUSTER_PREFIX across all policies (#1018)

* Add Hypershift support and unify CLUSTER_PREFIX across all policies

Extends cluster prefix recognition from IPI-only to IPI, CAPA, and
self-managed Hypershift across all policies by reading CLUSTER_PREFIX
from the environment variable instead of hardcoding kubernetes.io/cluster.

Changes:
- Read CLUSTER_PREFIX from env var in tag_cluster, remove_cluster_tags,
  NonClusterZombiePolicy, validate_zombies, aws/azure_policy_operations,
  tag_iam_user, remove_user_tags, CRO monitors (AWS + Azure), and
  run_tag_cluster_resouces. Removes dead code _zombie_cluster instantiation.
- Add hypershift.openshift.io/cluster to the default CLUSTER_PREFIX list
  and update Jenkins scripts to include the new prefix.
- Add _is_hypershift_managed() to ZombieClusterResources; resources tagged
  Policy=hypershift-managed are skipped at all 8 zombie detection intercepts
  including the VPC-expansion fallback path.
- Fix remove_cluster_tags.py to handle list-typed cluster_prefix at all
  13 usage sites; add _resolve_full_name() helper for dict lookups.
- Add unit tests for CAPA/Hypershift prefix recognition in cleanup policies,
  user tagging, and zombie detection.

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

* Address code review: consistent CLUSTER_PREFIX defaults and boundary-safe prefix matching

- Use the complete three-prefix default list at every CLUSTER_PREFIX fallback
  site so CAPA and Hypershift resources are never misclassified when the
  environment key is absent
- Add validation in environment_variables.py to reject null, non-list, or
  empty-string prefix values and fall back to the default
- Replace substring-based cluster tag detection (prefix in key) with
  boundary-aware startswith(f'{prefix}/') to prevent false matches on tags
  such as example.com/kubernetes.io/cluster/foo

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

* Apply boundary-safe prefix m... (continued)
Source Files on build 30555696561
Detailed source file information is not available for this build.
  • Back to Repo
  • 2c6c49a0 on github
  • Prev Build on main (#30443404284)
  • Next Build on main (#30993875745)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc