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

Document how to use with Self-Hosted Pulumi Service #105

Closed
clstokes opened this issue Nov 18, 2020 · 2 comments
Closed

Document how to use with Self-Hosted Pulumi Service #105

clstokes opened this issue Nov 18, 2020 · 2 comments

Comments

@clstokes
Copy link

Problem description

Should document how to use the operator with a Self-Hosted Pulumi Service - e.g. pulumi login https://api.pulumi.example.com.

@pgavlin
Copy link
Member

pgavlin commented Dec 8, 2020

@clstokes how important/urgent is this?

@clstokes
Copy link
Author

clstokes commented Dec 8, 2020

This is solved with #106.

backend:
description: (optional) Backend is an optional backend URL to use for all Pulumi operations.
type: string

For example:

apiVersion: v1
kind: Secret
metadata:
  name: pulumi-api-secret
type: Opaque
stringData:
  accessToken: "<REDACTED: PULUMI_ACCESS_TOKEN>"
---
apiVersion: pulumi.com/v1alpha1
kind: Stack
metadata:
  name: nginx-k8s-stack
spec:
  accessTokenSecret: pulumi-api-secret
  backend: https://api.pulumi.example.com                           # <- this line
  stack: joeduffy/nginx/dev
  projectRepo: https://github.com/metral/pulumi-nginx
  commit: 2b0889718d3e63feeb6079ccd5e4488d8601e353
  destroyOnFinalize: true

@clstokes clstokes closed this as completed Dec 8, 2020
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

No branches or pull requests

2 participants