Skip to content

Fake

The Fake generator provides hard-coded key/value pairs. The intended use is just for debugging and testing. The key/value pairs defined in spec.data is returned as-is.

Example Manifest

apiVersion: generators.external-secrets.io/v1alpha1
kind: Fake
metadata:
  name: fake-key
spec:
  data:
    foo: bar
    baz: bang

Example ExternalSecret that references the Fake generator:

apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
  name: "fake"
spec:
  refreshInterval: "30m"
  target:
    name: fake
  dataFrom:
  - sourceRef:
      generatorRef:
        apiVersion: generators.external-secrets.io/v1alpha1
        kind: Fake
        name: "fake-key"