Skip to main content

๐Ÿง  Google GKE Cluster Alias IP is disabled - prod.logic.yaml๐ŸŸข

Usesโ€‹

Test Results ๐ŸŸขโ€‹

Generated at: 2025-10-25T12:02:45.105843906Z Open

ResultIdCondition IndexCondition TextRuntime Error
๐ŸŸข001โœ”๏ธ 199โœ”๏ธ extract('CA10G1__useIpAliases__c') == 'ENABLED'โœ”๏ธ null
๐ŸŸข002โœ”๏ธ 200โœ”๏ธ otherwiseโœ”๏ธ null

Generation Bundleโ€‹

FileMD5
Open/ce/ca/google/gke/cluster-ip-alias/policy.yaml7756AE785843F48A3622F5DF6051C7ED
Open/ce/ca/google/gke/cluster-ip-alias/prod.logic.yaml1CC26199E160BFFB2BE89E6DC9428B17
Open/ce/ca/google/gke/cluster-ip-alias/test-data.json217E8658BBAF9C276D52F178E94757CA
Open/types/CA10G1__CaGoogleGkeCluster__c/object.extracts.yaml27F9CD44BA08A855B08C82AB034505CA

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โ€‹

Open File

---

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."