jlandowner / helm-chartsnap

Snapshot testing tool for Helm charts
MIT License
44 stars 7 forks source link

Feature: Allow defining common snapshot behavior in the `.chartsnap.yaml` file within a test values directory #40

Closed jlandowner closed 9 months ago

jlandowner commented 9 months ago

Close #30

Support to configure all snapshot behavior as a .chartsnap.yaml file within a test values file directory.

It allows you to remove redundant setting in your test value files.

dynamicFields:
  - apiVersion: v1
    kind: Secret
    name: cosmo-auth-env
    jsonPath:
      - /data/COOKIE_HASHKEY
      - /data/COOKIE_BLOCKKEY
      - /data/COOKIE_HASHKEY
      - /data/COOKIE_SESSION_NAME