|
1 | | -# Added Comprehensive Testing Suite and Enhanced State Module Functionality |
2 | | - |
3 | | -Renamed the state module kubernetesmod to kubernetes due to a conflict with the salt core state module kubernetes |
4 | | - |
5 | | -## Testing Infrastructure |
6 | | -Implemented pytest-based testing framework with pytest-kind |
7 | | -Added pytest fixtures for handling Kubernetes resources: |
8 | | - - Template management |
9 | | - - Configurable Kubernetes version testing |
10 | | - |
11 | | -## Resource Management Tests |
12 | | -Added functional and integration tests covering: |
13 | | - - Namespace management (creation, deletion, templating) |
14 | | - - Pod lifecycle (creation, deletion, template support) |
15 | | - - Deployment operations (creation, updates, deletion) |
16 | | - - Secret handling (creation, updates, base64 encoding) |
17 | | - - Service configuration (ports, selectors, types) |
18 | | - - ConfigMap management (data handling, updates) |
19 | | - - Node label operations (single labels and folder-based management) |
20 | | - |
21 | | -## Template Support |
22 | | -Added Jinja2 template support for all resource types |
23 | | -Implemented context-based resource creation: |
24 | | - - Namespace templates with label support |
25 | | - - Pod templates with container configuration |
26 | | - - Deployment templates with replica and selector support |
27 | | - - Service templates with flexible port configuration |
28 | | - - ConfigMap templates with multi-line data support |
29 | | - - Secret templates with data encoding support |
30 | | - |
31 | | -## Spec Validation Enhancements |
32 | | - - Base64 encoding validation for secrets |
33 | | - - Service port configuration validation |
34 | | - - ConfigMap data consistency checks |
35 | | - - Namespace state validation |
36 | | - - Deployment spec verification |
37 | | - - Container configuration validation |
38 | | - |
39 | | -## Documentation |
40 | | -Added detailed docstrings for all test functions |
41 | | - - Included usage examples in test cases |
42 | | - - Documented template structures and context usage |
43 | | - - Added comments explaining complex operations |
| 1 | +Added support for specifying template context variables and improved spec validation. |
0 commit comments