Open yenoromm opened 3 months ago
@yenoromm and for anyone else who might be in a similar situation... As a temporary workaround, it's possible to use a Helm Release.
cert_manager_release = k8s.helm.v3.Release("cert-manager-release", k8s.helm.v3.ReleaseArgs(
chart="cert-manager",
version="v1.15.2",
repository_opts=k8s.helm.v3.RepositoryOptsArgs(
repo="https://charts.jetstack.io",
),
namespace=cert_manager_namespace.metadata.name,
values={
"installCRDs": True,
"image": {
"repository": "123456789.dkr.ecr.ap-southeast-2.amazonaws.com/cert-manager/controller",
"tag": "1.15.2"
},
"cainjector": {
"image": {
"repository": "123456789.dkr.ecr.ap-southeast-2.amazonaws.com/cert-manager/cainjector",
"tag": "1.15.2"
},
},
"startupapicheck": {
"image": {
"repository": "123456789.dkr.ecr.ap-southeast-2.amazonaws.com/cert-manager/startupapicheck",
"tag": "1.15.2"
},
},
"webhook": {
"image": {
"repository": "123456789.dkr.ecr.ap-southeast-2.amazonaws.com/cert-manager/webhook",
"tag": "1.15.2"
},
}
})
)
@aureq thanks for the report and the workaround.
What happened?
When creating the resource with pulumi outputs, it fails with the following:
"Exception: setting args: copying input "cainjector": expected destination type to implement pulumi.Input or pulumi.Output, got string"
It happens for any image args not just cainjector
Example
The example below is what it should look like but the repository in each image arg is a pulumi output and that causes a failure
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).