| "github.com/goccy/go-yaml" |
| "github.com/stretchr/testify/require" |
| "github.com/vexxhost/atmosphere/internal/openstack_helm" |
| "github.com/vexxhost/atmosphere/internal/testutils" |
| openstack_helm.HelmValues `yaml:"_manila_helm_values"` |
| func TestMain(m *testing.M) { |
| err := yaml.UnmarshalWithOptions(varsFile, &vars) |
| func TestHelmValues(t *testing.T) { |
| vals, err := openstack_helm.CoalescedHelmValues("../../charts/manila", &vars.HelmValues) |
| testutils.TestDatabaseConf(t, vals.Conf.Manila.Database) |
| testutils.TestAllPodsHaveRuntimeClass(t, vals) |
| testutils.TestAllPodsHavePriorityClass(t, vals) |