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