Skip to main content

๐Ÿง  Google GKE Cluster Node Pool Auto-Repair is disabled - prod.logic.yaml๐ŸŸข

Usesโ€‹

Test Results ๐ŸŸขโ€‹

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

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

Generation Bundleโ€‹

FileMD5
Open/ce/ca/google/gke/node-pool-auto-repair/policy.yaml9271055661618B3210B5DA9F88B2A833
Open/ce/ca/google/gke/node-pool-auto-repair/prod.logic.yaml0F6FA7D30621E0944C1630D0CC125F4D
Open/ce/ca/google/gke/node-pool-auto-repair/test-data.json5FA3C9495580ADEE41DCB0058C7CAEC9
Open/types/CA10G1__CaGoogleGkeClusterNodePool__c/object.extracts.yaml0A652ABADAA95854B5E133EB8B5BBD45

Available Commandsโ€‹

repo-manager policies generate FULL /ce/ca/google/gke/node-pool-auto-repair/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/google/gke/node-pool-auto-repair/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/google/gke/node-pool-auto-repair/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/google/gke/node-pool-auto-repair/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/google/gke/node-pool-auto-repair/prod.logic.yaml

Contentโ€‹

Open File

---

inputType: "CA10G1__CaGoogleGkeClusterNodePool__c"
testData:
- file: "test-data.json"
importExtracts:
- file: "/types/CA10G1__CaGoogleGkeClusterNodePool__c/object.extracts.yaml"
conditions:
- status: "INCOMPLIANT"
currentStateMessage: "Node Pool auto repair feature is disabled."
remediationMessage: "Enable auto repair feature for the Cluster."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10G1__nodeManagementAutoRepair__c"
right:
TEXT: "Enabled"
otherwise:
status: "COMPLIANT"
currentStateMessage: "Cluster's auto repair feature is enabled."