cloud-native-toolkit / terraform-tools-gitops

Module to create a GitOps repository
6 stars 6 forks source link

sealed-secrets cannot be added to bom #97

Open deleeuwblue opened 2 years ago

deleeuwblue commented 2 years ago

Adding the sealed-secrets module to the initial BOM, then using iascable to create the extended BOM results in error:

Error: More than one module resolves dependency for module: module=sealed-secrets, dependency=namespace, refs=[{"source":"github.com/cloud-native-toolkit/terraform-k8s-namespace","version":">= 2.1.0"}], matchingModules=openshift-gitops,sealed-secret

If the sealed-secrets module is removed from the initial BOM, then other modules have dependencies which will add the following to the extended BOM:

- name: sealed-secret-cert
  version: v1.0.1

- name: namespace
  alias: sealed-secret
  version: v3.2.3

However, unless I am misunderstanding, this will not result in the installation of the sealed secrets controller.