Skip to content

Commit

Permalink
Adding in fix, for repository to take output, fixes #133
Browse files Browse the repository at this point in the history
  • Loading branch information
rshade committed Dec 20, 2024
1 parent 839a147 commit c90a9ef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions examples/simple-cert-manager-ts/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import * as k8s from "@pulumi/kubernetes";
import * as certmanager from "@pulumi/kubernetes-cert-manager";
import * as pulumi from "@pulumi/pulumi";

// Create a sandbox namespace.
const ns = new k8s.core.v1.Namespace("sandbox-ns");
Expand All @@ -12,18 +13,18 @@ const manager = new certmanager.CertManager("cert-manager", {
version: "v1.15.3",
},
image: {
repository: "public.ecr.aws/eks-anywhere-dev/cert-manager/cert-manager-controller",
repository: pulumi.output("public.ecr.aws/eks-anywhere-dev/cert-manager/cert-manager-controller"),
tag: "v1.15.3-eks-a-v0.21.3-dev-build.0"
},
cainjector: {
"image": {
repository: "public.ecr.aws/eks-anywhere-dev/cert-manager/cert-manager-cainjector",
repository: pulumi.output("public.ecr.aws/eks-anywhere-dev/cert-manager/cert-manager-cainjector"),
tag: "v1.15.3-eks-a-v0.21.3-dev-build.0",
},
},
startupapicheck: {
"image": {
repository: "public.ecr.aws/eks-anywhere-dev/cert-manager/cert-manager-startupapicheck",
repository: pulumi.output("public.ecr.aws/eks-anywhere-dev/cert-manager/cert-manager-startupapicheck"),
tag: "v1.15.3-eks-a-v0.21.3-dev-build.0",
}
},
Expand Down
2 changes: 1 addition & 1 deletion provider/pkg/provider/chart.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ type CertManagerImage struct {
// You can manage a registry with `registry: quay.io`.
Registry *string `pulumi:"registry"`
// You can manage a registry with `repository: jetstack/cert-manager-controller`.
Repository *string `pulumi:"repository"`
Repository pulumi.StringPtrInput `pulumi:"repository"`
// Override the image tag to deploy by setting this variable.
// If no value is set, the chart's appVersion will be used.
Tag *string `pulumi:"tag"`
Expand Down

0 comments on commit c90a9ef

Please sign in to comment.