Unverified Commit 8494cf8c authored by Michelle Nguyen's avatar Michelle Nguyen Committed by Copybara
Browse files

Add LD SDK key to configmanager service


Summary:
When specified, the configmanager service reaches out to LaunchDarkly to fetch feature flag values.
This diff updates the YAML so that the configmanager reads the SDK key if present in a configmap.

Test Plan: testing cluster

Reviewers: nserrino, vihang

Reviewed By: vihang
Signed-off-by: default avatarMichelle Nguyen <michellenguyen@pixielabs.ai>

Differential Revision: https://phab.corp.pixielabs.ai/D11663

GitOrigin-RevId: 0ee39fd82f236abb8becf3c2db7467fe1fbade52
Showing with 7 additions and 0 deletions
+7 -0
......@@ -61,6 +61,12 @@ spec:
configMapKeyRef:
name: pl-sentry-dsn-config
key: PL_DEV_SENTRY
- name: PL_LD_SDK_KEY
valueFrom:
configMapKeyRef:
name: pl-ld-config
key: PL_LD_SDK_KEY
optional: true
volumeMounts:
- name: certs
mountPath: /certs
......
......@@ -16,6 +16,7 @@ metadata:
data:
# Set this key to enable launchdarkly to gate development features.
PL_LD_CLIENT_ID: ""
PL_LD_SDK_KEY: ""
---
apiVersion: v1
kind: ConfigMap
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment