helm/testdata/releases.yaml
Marc Khouzam 7f3339cb4e feat(tests): Allow to provision memory driver
The memory driver is used for go tests. It can also be used from the
command-line by setting the environment variable HELM_DRIVER=memory.
In the latter case however, there was no way to pre-provision some
releases.

This commit introduces the HELM_MEMORY_DRIVER_DATA variable which
can be used to provide a colon-separated list of yaml files specifying
releases to provision automatically.

For example:
   HELM_DRIVER=memory \
   HELM_MEMORY_DRIVER_DATA=./testdata/releases.yaml \
   helm list --all-namespaces

Signed-off-by: Marc Khouzam <marc.khouzam@montreal.ca>
2020-02-21 08:44:38 -05:00

43 lines
846 B
YAML

# This file can be used as input to create test releases:
# HELM_MEMORY_DRIVER_DATA=./testdata/releases.yaml HELM_DRIVER=memory helm list --all-namespaces
- name: athos
version: 1
namespace: default
info:
status: deployed
chart:
metadata:
name: athos-chart
version: 1.0.0
appversion: 1.1.0
- name: porthos
version: 2
namespace: default
info:
status: deployed
chart:
metadata:
name: prothos-chart
version: 0.2.0
appversion: 0.2.2
- name: aramis
version: 3
namespace: default
info:
status: deployed
chart:
metadata:
name: aramis-chart
version: 0.0.3
appversion: 3.0.3
- name: dartagnan
version: 4
namespace: gascony
info:
status: deployed
chart:
metadata:
name: dartagnan-chart
version: 0.4.4
appversion: 4.4.4