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

Adding in a golang example #286

Merged
merged 1 commit into from
Jan 7, 2025
Merged

Adding in a golang example #286

merged 1 commit into from
Jan 7, 2025

Conversation

rshade
Copy link
Contributor

@rshade rshade commented Jan 7, 2025

Golang Example:

Previewing update (dev):
     Type                                          Name                        Plan
 +   pulumi:pulumi:Stack                           simple-cert-manager-go-dev  create
 +   ├─ kubernetes:core/v1:Namespace               sandbox-ns                  create
 +   ├─ kubernetes-cert-manager:index:CertManager  cert-manager                create
 +   │  └─ kubernetes:helm.sh/v3:Release           cert-manager-helm           create
 +   └─ kubernetes:cert-manager.io/v1:Issuer       issuer                      create

Outputs:
    certManagerStatus: output<string>

Resources:
    + 5 to create

Updating (dev):
     Type                                          Name                        Status
 +   pulumi:pulumi:Stack                           simple-cert-manager-go-dev  created (32s)
 +   ├─ kubernetes:core/v1:Namespace               sandbox-ns                  created (0.03s)
 +   ├─ kubernetes-cert-manager:index:CertManager  cert-manager                created (31s)
 +   │  └─ kubernetes:helm.sh/v3:Release           cert-manager-helm           created (31s)
 +   └─ kubernetes:cert-manager.io/v1:Issuer       issuer                      created (0.01s)

Outputs:
    certManagerStatus: {
        appVersion: "v1.15.3"
        chart     : "cert-manager"
        name      : "cert-manager-helm-fe2f0069"
        namespace : "sandbox-ns-8ac9bb51"
        revision  : 1
        status    : "deployed"
        version   : "v1.15.3"
    }

Resources:
    + 5 created

Duration: 39s

Copy link

github-actions bot commented Jan 7, 2025

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.

Copy link
Member

@danielrbradley danielrbradley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a good start. Would be good to get this wired up with the example tests so it's run in CI too. I think for that to work we'll need to get rid of the committed replace in the go.mod file.

examples/simple-cert-manager-go/out.txt Outdated Show resolved Hide resolved
@rshade
Copy link
Contributor Author

rshade commented Jan 7, 2025

@danielrbradley thank you I added in the automatic testing of it. I think its ready.

@rshade rshade merged commit a3b9576 into master Jan 7, 2025
17 checks passed
@rshade rshade deleted the go-example branch January 7, 2025 16:02
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

Successfully merging this pull request may close these issues.

2 participants