Closed StackScribe closed 9 months ago
The secrets for the providers should look the following:
apiVersion: v1
kind: Secret
metadata:
name: prometheus
data:
password: password
user: user
type: Opaque
---
apiVersion: v1
kind: Secret
metadata:
name: datadog
data:
DD_CLIENT_API_KEY: api-key
DD_CLIENT_APP_KEY: app-key
type: Opaque
---
apiVersion: v1
kind: Secret
metadata:
name: dynatrace
data:
myCustomKey: my-token
type: Opaque
Goal
Document how to use secrets to access each supported data source (Prometheus, Dynatrace, Datadog)
Problem
Dynatrace and Datadog have worked with secrets for some time; https://github.com/keptn/lifecycle-toolkit/issues/2128 adds support for using secrets to access a Prometheus data source. The KeptnMetricsProvider CRD reference page shows the syntax for using secrets but we do not document how to implement the secrets.
The process is different for each data provider and we will need to add this information for other data providers we may support in the future.
Options:
DoD
KeptnMetricProvider
page to these documents, both in the discussion of calling secrets and in the "See also" section