azure_secret.go 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. Licensed under the Apache License, Version 2.0 (the "License");
  3. you may not use this file except in compliance with the License.
  4. You may obtain a copy of the License at
  5. http://www.apache.org/licenses/LICENSE-2.0
  6. Unless required by applicable law or agreed to in writing, software
  7. distributed under the License is distributed on an "AS IS" BASIS,
  8. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  9. limitations under the License.
  10. */
  11. package azure
  12. import (
  13. // nolint
  14. . "github.com/onsi/ginkgo/v2"
  15. "github.com/external-secrets/external-secrets/e2e/framework"
  16. "github.com/external-secrets/external-secrets/e2e/suite/common"
  17. )
  18. // keyvault type=secret should behave just like any other secret store.
  19. var _ = Describe("[azure]", Label("azure", "keyvault", "secret"), func() {
  20. f := framework.New("eso-azure")
  21. prov := newFromEnv(f)
  22. DescribeTable("sync secrets", framework.TableFunc(f, prov),
  23. Entry(common.SimpleDataSync(f)),
  24. Entry(common.NestedJSONWithGJSON(f)),
  25. Entry(common.JSONDataFromSync(f)),
  26. Entry(common.JSONDataWithProperty(f)),
  27. Entry(common.JSONDataWithTemplate(f)),
  28. Entry(common.DockerJSONConfig(f)),
  29. Entry(common.DataPropertyDockerconfigJSON(f)),
  30. Entry(common.SSHKeySync(f)),
  31. Entry(common.SSHKeySyncDataProperty(f)),
  32. Entry(common.SyncWithoutTargetName(f)),
  33. Entry(common.JSONDataWithoutTargetName(f)),
  34. Entry(common.SyncV1Alpha1(f)),
  35. )
  36. })