๐ง Google GKE Cluster Alpha cluster features are enabled - prod.logic.yaml๐ข
- Contextual name: ๐ง prod.logic.yaml๐ข
- ID:
/ce/ca/google/gke/alpha-cluster/prod.logic.yaml - Tags:
- ๐ข Logic test success
- ๐ข Logic with extracts
- ๐ข Logic with test data
Usesโ
Test Results ๐ขโ
Generated at: 2025-10-25T12:02:44.663004589Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| ๐ข | 001 | โ๏ธ 200 | โ๏ธ otherwise | โ๏ธ null |
| ๐ข | 002 | โ๏ธ 199 | โ๏ธ extract('CA10G1__kubernetesAlpha__c') == 'ENABLED' | โ๏ธ null |
Generation Bundleโ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/google/gke/alpha-cluster/policy.yaml | DF7685682192F7EE319B2D8DE56A0077 |
| Open | /ce/ca/google/gke/alpha-cluster/prod.logic.yaml | 03AFD2C125CA916F24C17C4FB650306E |
| Open | /ce/ca/google/gke/alpha-cluster/test-data.json | C0F06F8620F5463BA9F9295D62B1F75B |
| Open | /types/CA10G1__CaGoogleGkeCluster__c/object.extracts.yaml | 27F9CD44BA08A855B08C82AB034505CA |
Available Commandsโ
repo-manager policies generate FULL /ce/ca/google/gke/alpha-cluster/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/google/gke/alpha-cluster/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/google/gke/alpha-cluster/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/google/gke/alpha-cluster/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/google/gke/alpha-cluster/prod.logic.yaml
Contentโ
---
inputType: "CA10G1__CaGoogleGkeCluster__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10G1__CaGoogleGkeCluster__c/object.extracts.yaml"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "Alpha cluster features are enabled for this GKE cluster."
remediationMessage: "Create a new cluster with alpha features disabled."
check:
IS_EQUAL:
left:
EXTRACT: "CA10G1__kubernetesAlpha__c"
right:
TEXT: "ENABLED"
otherwise:
status: "COMPLIANT"
currentStateMessage: "Alpha cluster features are disabled for this GKE cluster."