Skip to main content
Version: v1.1.x

Prometheus-remote-write-auth.ext

TypeComponent

Parameters

No parameters available

Template

The following tabs display the definition's Cue template and the rendered YAML. The rendered YAML is the output of the Cue template when the definition is applied to a cluster.

  contextExtensionRefs:
- contextKey: prometheusAgentNamespace
apiVersion: v1
kind: Secret
labels:
spectrocloud.com/prometheus-agent: "true"
path: .metadata.namespace
- contextKey: prometheusEndpoint
apiVersion: v1
kind: Secret
name: prometheus-remote-write-credentials
namespace: $context:prometheusAgentNamespace
path: .data.endpoint
- contextKey: prometheusUsername
apiVersion: v1
kind: Secret
name: prometheus-remote-write-credentials
namespace: $context:prometheusAgentNamespace
path: .data.username
- contextKey: prometheusPassword
apiVersion: v1
kind: Secret
name: prometheus-remote-write-credentials
namespace: $context:prometheusAgentNamespace
path: .data.password