-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Summary
Given a namespace have a secret newrelic-credentials I want to be able to use this secret but pull the ingestion key from the property ingest-key inside the secret.
This is useful for multi-tenant environments where each namespace has a set of Secrets they can use provided by a platform engineering team.
Desired Behavior
apiVersion: newrelic.com/v1alpha2
kind: Instrumentation
metadata:
labels:
app.kubernetes.io/name: newrelic-instrumentation-nodejs
name: newrelic-instrumentation-nodejs
spec:
agent:
language: nodejs
image: newrelic/newrelic-node-init:12
podLabelSelector:
matchExpressions:
- key: app.newrelic.instrumentation
operator: In
values: [nodejs]
licenseKeySecret:
name: newrelic-creds
key: ingest-key
Possible Solution
Support name and key in the CRD, but make key optional.
runesl
Metadata
Metadata
Assignees
Labels
No labels