A DeployKey is a managed resource that represents a Gitlab Deploy Key.
Type
CRD
Group
projects.gitlab.crossplane.io
Version
v1alpha1
apiVersion: projects.gitlab.crossplane.io/v1alpha1
kind: DeployKey
DeployKeySpec defines desired state of Gitlab Deploy Key.
DeployKeyParameters define desired state of Gitlab Deploy Key. https://docs.gitlab.com/ee/api/deploy_keys.html At least 1 of [ProjectID, ProjectIDRef, ProjectIDSelector] required.
ProjectIDRef is a reference to a project to retrieve its ProjectID.
Policies for referencing.
ProjectIDSelector selects reference to a project to retrieve its ProjectID.
Policies for selection.
ProviderConfigReference specifies how the provider that will be used to create, observe, update, and delete this managed resource should be configured.
Policies for referencing.
ProviderReference specifies the provider that will be used to create, observe, update, and delete this managed resource. Deprecated: Please use ProviderConfigReference, i.e. providerConfigRef
Policies for referencing.
PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret store config to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource.
WriteConnectionSecretToReference specifies the namespace and name of a Secret to which any connection details for this managed resource should be written. Connection details frequently include the endpoint, username, and password required to connect to the managed resource. This field is planned to be replaced in a future release in favor of PublishConnectionDetailsTo. Currently, both could be set independently and connection details would be published to both without affecting each other.
DeployKeyStatus represents observed state of Gitlab Deploy Key.
DeployKeyObservation represents observed stated of Deploy Key. https://docs.gitlab.com/ee/api/deploy_keys.html
Conditions of the resource.
example-deploy-key
apiVersion: projects.gitlab.crossplane.io/v1alpha1
kind: DeployKey
metadata:
annotations: null
name: example-deploy-key
spec:
forProvider:
canPush: <true or false>
keySecretRef:
key: <example-key>
name: <example-name>
namespace: <example-name-space>
projectId: <example-project-id>
title: <example-title>
providerConfigRef:
name: <example-provider-config>
writeConnectionSecretToRef:
name: gitlab-example-deploy-key
namespace: crossplane-system
© 2022 Upbound, Inc.
Discover the building blocksfor your internal cloud platform.