Some Crossplane provider features are only available to customers on select plans

The Crossplane provider is available to all customers, but some features are only available to customers on select plans. To learn more, read about our pricing. To upgrade your plan, contact Sales.

Overview

This topic explains what the LaunchDarkly Crossplane provider is, how you can use it, and where to find additional documentation for it.

The LaunchDarkly Crossplane provider manages LaunchDarkly resources as Kubernetes custom resources. This provider enables you to use Kubernetes-style YAML configurations to configure and control feature flags, environments, projects, teams, and more.

The provider exposes managed resources for the LaunchDarkly API.

You do not need to choose between the LaunchDarkly user interface (UI) and the Crossplane provider. You can use a hybrid approach that meets your needs. For example, you might manage one set of LaunchDarkly resources through the Crossplane provider and another set through the UI.

The Crossplane provider and custom roles

A common scenario is using custom roles to define the LaunchDarkly entities managed by Crossplane. For example, you can tag Crossplane-managed resources with a crossplane tag and use custom roles to prevent team members from modifying those resources with the LaunchDarkly UI.

To learn more about custom roles, read Custom roles.

Install the Crossplane provider

For installation instructions, refer to the Getting Started section of the GitHub repository.

Create resources

This example shows how to create a boolean feature flag using the Crossplane provider:

Create a boolean feature flag
1apiVersion: flag.launchdarkly.com/v1alpha1
2kind: FeatureFlag
3metadata:
4 name: boolean-flag
5spec:
6 forProvider:
7 clientSideAvailability:
8 - usingEnvironmentId: false
9 usingMobileKey: true
10 defaults:
11 - offVariation: 0
12 onVariation: 1
13 description: This is a boolean flag.
14 key: boolean-flag
15 name: Boolean Flag
16 projectKey: crossplane-project
17 tags:
18 - example
19 - crossplane
20 variationType: boolean
21 variations:
22 - value: "false"
23 - value: "true"

To learn more about using the Crossplane provider, read about the LaunchDarkly Crossplane provider on the Upbound marketplace, and the API reference documentation.

Built with