Skip to content

v0.3.0

Compare
Choose a tag to compare
@github-actions github-actions released this 09 Apr 14:07
· 53 commits to main since this release

⚠️ Breaking Change

  • Change snapshot format as YAML. You can use the snapshot file as standard Kubernetes manifests.
  • Previous legacy TOML-based snapshot format marked as deprecated.
  • Remove sorting in snapshot. If helm output order is changed, it bring you the diffs.

Legacy snapshot:

[test-values]
SnapShot = """
- object:
    apiVersion: v1
    kind: Pod
...
- object:
    apiVersion: v1
    kind: Service
...
"""

New YAML format (standard helm output):

apiVersion: v1
kind: Pod
...
---
apiVersion: v1
kind: Service
...

If existing snapshot is legacy format, you can stil match and diff snapshots but show warnings.
Updating snapshots, new format is used for new snapshots.
If you want to keep legacy snapshot format when update, update snapshot with --legacy-snapshot flag.

Changelog

  • #85 Change snapshot format as YAML
  • 34e6594 Refactoring unstructured package imports
  • 119f07c Update integration tests
  • d8c6926 Refactoring logging
  • 6c0a2c6 Change "gopkg.in/yaml.v3" to "sigs.k8s.io/yaml/goyaml.v3"
  • fcba122 Bump Go and packages