๐ง Google GKE Cluster Node Pool Auto-Repair is disabled - prod.logic.yaml๐ข
- Contextual name: ๐ง prod.logic.yaml๐ข
- ID:
/ce/ca/google/gke/node-pool-auto-repair/prod.logic.yaml - Tags:
- ๐ข Logic test success
- ๐ข Logic with extracts
- ๐ข Logic with test data
Usesโ
- ๐ Google GKE Cluster Node Pool
- ๐ Google GKE Cluster Node Pool - object.extracts.yaml
- ๐งช test-data.json
Test Results ๐ขโ
Generated at: 2025-10-25T12:02:45.878900213Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| ๐ข | 001 | โ๏ธ 199 | โ๏ธ extract('CA10G1__nodeManagementAutoRepair__c') != 'Enabled' | โ๏ธ null |
| ๐ข | 002 | โ๏ธ 200 | โ๏ธ otherwise | โ๏ธ null |
| ๐ข | 003 | โ๏ธ 199 | โ๏ธ extract('CA10G1__nodeManagementAutoRepair__c') != 'Enabled' | โ๏ธ null |
Generation Bundleโ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/google/gke/node-pool-auto-repair/policy.yaml | 9271055661618B3210B5DA9F88B2A833 |
| Open | /ce/ca/google/gke/node-pool-auto-repair/prod.logic.yaml | 0F6FA7D30621E0944C1630D0CC125F4D |
| Open | /ce/ca/google/gke/node-pool-auto-repair/test-data.json | 5FA3C9495580ADEE41DCB0058C7CAEC9 |
| Open | /types/CA10G1__CaGoogleGkeClusterNodePool__c/object.extracts.yaml | 0A652ABADAA95854B5E133EB8B5BBD45 |
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โ
---
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."