This commit is contained in:
2023-11-11 14:44:16 -06:00
parent 851e2337e6
commit c49dc9a0ae

View File

@@ -36,3 +36,23 @@ spec:
namespace: crossplane namespace: crossplane
name: gitlab-secret name: gitlab-secret
key: accesstoken key: accesstoken
---
apiVersion: projects.gitlab.crossplane.io/v1alpha1
kind: Project
metadata:
name: example-project
spec:
forProvider:
# If not set, metadata.name will be used instead.
name: "Example Project"
namespaceIdRef:
name: example-group
description: "example project description"
providerConfigRef:
name: gitlab-provider
# a reference to a Kubernetes secret to which the controller will write the runnersToken
writeConnectionSecretToRef:
name: gitlab-project-example-project
namespace: crossplane-system