๐ง Google GKE Cluster Node Pool Auto-Upgrade is disabled - prod.logic.yaml๐ข
- Contextual name: ๐ง prod.logic.yaml๐ข
- ID:
/ce/ca/google/gke/node-pool-auto-upgrade/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.738008818Z Open
| Result | Id | Condition Index | Condition Text | Runtime Error |
|---|---|---|---|---|
| ๐ข | 001 | โ๏ธ 199 | โ๏ธ extract('CA10G1__nodeManagementAutoUpgrade__c') != 'Enabled' | โ๏ธ null |
| ๐ข | 002 | โ๏ธ 200 | โ๏ธ otherwise | โ๏ธ null |
| ๐ข | 003 | โ๏ธ 199 | โ๏ธ extract('CA10G1__nodeManagementAutoUpgrade__c') != 'Enabled' | โ๏ธ null |
Generation Bundleโ
| File | MD5 | |
|---|---|---|
| Open | /ce/ca/google/gke/node-pool-auto-upgrade/policy.yaml | 602F3534D4464EBDB3225F9E4A01AA63 |
| Open | /ce/ca/google/gke/node-pool-auto-upgrade/prod.logic.yaml | 53D58EA64A8E5C63EFB274FAEC68343D |
| Open | /ce/ca/google/gke/node-pool-auto-upgrade/test-data.json | D5DBE68EE617EB22E2F967B2B2E025BE |
| Open | /types/CA10G1__CaGoogleGkeClusterNodePool__c/object.extracts.yaml | 0A652ABADAA95854B5E133EB8B5BBD45 |
Available Commandsโ
repo-manager policies generate FULL /ce/ca/google/gke/node-pool-auto-upgrade/prod.logic.yaml
repo-manager policies generate DEBUG /ce/ca/google/gke/node-pool-auto-upgrade/prod.logic.yaml
repo-manager policies generate CAPTURE_TEST_DATA /ce/ca/google/gke/node-pool-auto-upgrade/prod.logic.yaml
repo-manager policies generate TESTS /ce/ca/google/gke/node-pool-auto-upgrade/prod.logic.yaml
# Execute tests
repo-manager policies test /ce/ca/google/gke/node-pool-auto-upgrade/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 upgrade feature is disabled."
remediationMessage: "Enable auto upgrade feature for the Cluster."
check:
NOT_EQUAL:
left:
EXTRACT: "CA10G1__nodeManagementAutoUpgrade__c"
right:
TEXT: "Enabled"
otherwise:
status: "COMPLIANT"
currentStateMessage: "Cluster's auto upgrade feature is enabled."