Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New typing doesn't support different solvers #26

Closed
gvangool opened this issue Oct 27, 2023 · 2 comments
Closed

New typing doesn't support different solvers #26

gvangool opened this issue Oct 27, 2023 · 2 comments

Comments

@gvangool
Copy link

The typing introduced in #25, broke the solvers configuration we have (that's working in 2.6.0)

The given value is not suitable for module.cert_manager.var.solvers declared at .terraform/modules/cert_manager/variables.tf:58,1-19: all list elements must have the same type.

Our configured solvers:

  solvers = [
    {
      dns01 = {
        cloudflare = {
          apiTokenSecretRef = {
            name = "cloudflare-api-key-secret"
            key  = "DNS_KEY"
          }
        },
      },
      selector = {
        matchLabels = {
          "use-dns01" = "cloudflare"
        }
      }
    },
    {
      http01 = {
        ingress = {
          class = "nginx"
        }
      }
    }
  ]
@bohdantverdyi
Copy link
Member

That's stange

bohdantverdyi added a commit that referenced this issue Oct 30, 2023
@bohdantverdyi
Copy link
Member

v2.6.2 Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants