Skip to content

Commit

Permalink
Updating go-helmbase, fixes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
rshade committed May 16, 2022
1 parent de286d9 commit a6e7b06
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 44 deletions.
9 changes: 3 additions & 6 deletions examples/simple-cert-manager-ts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@ import * as k8s from "@pulumi/kubernetes";
import * as certmanager from "@pulumi/kubernetes-cert-manager";

// Create a sandbox namespace.
const nsName = "sandbox";
const ns = new k8s.core.v1.Namespace("sandbox-ns", {
metadata: { name: nsName },
});
const ns = new k8s.core.v1.Namespace("sandbox-ns");

// Install a cert manager into our cluster.
const manager = new certmanager.CertManager("cert-manager", {
installCRDs: true,
helmOptions: {
namespace: nsName,
namespace: ns.metadata.name,
},
});

Expand All @@ -25,7 +22,7 @@ const issuer = new k8s.apiextensions.CustomResource("issuer", {
kind: "Issuer",
metadata: {
name: "selfsigned-issuer",
namespace: nsName,
namespace: ns.metadata.name,
},
spec: {
selfSigned: {},
Expand Down
5 changes: 1 addition & 4 deletions provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,9 @@ module github.com/pulumi/pulumi-kubernetes-cert-manager
go 1.16

require (
github.com/StackExchange/wmi v1.2.1 // indirect
github.com/joeduffy/pulumi-go-helmbase v0.0.12
github.com/pkg/errors v0.9.1
github.com/pulumi/pulumi-go-helmbase v0.0.14
github.com/pulumi/pulumi-kubernetes/sdk/v3 v3.18.3
github.com/pulumi/pulumi/pkg/v3 v3.31.1
github.com/pulumi/pulumi/sdk/v3 v3.31.1
github.com/shirou/gopsutil v3.21.7+incompatible // indirect
gocloud.dev v0.23.0 // indirect
)
Loading

0 comments on commit a6e7b06

Please sign in to comment.