brave-spoon-13929
11/30/2023, 2:12 PMapiVersion: <http://pulumi.com/v1|pulumi.com/v1>
kind: Program
metadata:
name: harbor-pulumi-program
namespace: pulumi-operator
program:
resources:
project:
type: pulumiverse:harbor:Project
properties:
providerName: docker-hub
endpointUrl: <https://hub.docker.com>
name: pulumi-harbor
---
apiVersion: <http://pulumi.com/v1|pulumi.com/v1>
kind: Stack
metadata:
name: harbor-pulumi-stack
namespace: pulumi-operator
spec:
stack: harbor-pulumi-stack
backend: file://./state-file # This does not work. The operator throws an error, that the file does not exist.
programRef:
name: harbor-pulumi-program
destroyOnFinalize: true
config:
harbor:url: <https://harbor.harbor>
harbor:username: admin
harbor:password: Harbor12345
I expected the local backend config to create a state if it does not exist, and as I could not find any documentation on how to work with the local backend when using the Pulumi Kubernetes Operator, I am left quite confused figuring out what is required to make this setup work. Is there anyone here that can help me?No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by