big-window-69301
07/22/2024, 8:11 PMdefault namespace, and I made it past the git authorization step using an AccessToken in the gitAuth section of the spec for the Stack and created a Kubernetes Secret for a private Gitlab repository. I made it past all of the authorization errors I was getting in the logs.
However, the Pulumi.yaml file for the project is not in the root of the project repository. I am trying to figure out the correct way to set the file path using the repoDir in combination with using a branch for the git repository.
The test Pulumi project deploy a cURL pod successfully, and it is in the following location in the repository relative to the root of the projectRepo of iac/util/curl-pod.
I set the repoDir to 'iac/util/curl-pod' which is also the name of the project in the Pulumi.yaml file.
I get the following error in the logs for the Pulumi Operator:
failed to create local workspace: failed to create workspace, unable to enlist in git repo: unable to clone repo: reference not found
I have searched for parts of this error message in the public GitHub repository, but I have not been able to find where any of these strings would be logged.
I am running version v3.124.0 of Pulumi.
I have these values set in the project for the Pulumi Operator:
const defaultCRDVersion = 'v1.15.0';
const defaultOperatorVersion = 'v1.15.0';
It seems to me to be related to the repoDir , and I am not sure exactly what I am missing, but any help would be greatly appreciated.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