Hi, I'm struggling with a k8s.yaml.ConfigFile (a c...
# kubernetes
m
Hi, I'm struggling with a k8s.yaml.ConfigFile (a certManager's ClusterIssuer) which won't get created but i don't see any errors in the provisioning. I already tried to refresh this resource but that din't helped. Any hints on how to troubleshoot this?
This is how the definition looks like:
Copy code
const certManagerClusterIssuerLetsEncrypt = new k8s.yaml.ConfigFile(
  'cert-manager-clusterissuer-letsencrypt',
  {
    file: path.resolve(
      './templates/cert-manager-clusterissuer-letsencrypt.yaml'
    ),
    transformations: [
      (obj: any) => {
        if (obj.metadata) {
          obj.spec.acme.email = config.letsEncryptEmail
        }
      }
    ]
  },
  {
    provider: cluster.provider,
    dependsOn: [certmanagerChart]
  }
)
Especially hints on how to interpret the verbose (which level) output would be helpfull.