Skip to content

@kubricate/core / types / AnnotationInjectionStrategy

Interface: AnnotationInjectionStrategy

Annotation injection strategy. Injects secrets as pod/resource annotations.

Example

typescript
const strategy: AnnotationInjectionStrategy = {
  kind: 'annotation'
};

Extends

Properties

kind

ts
kind: "annotation";

Injection strategy type: annotation injection


targetPath?

ts
optional targetPath: string;

Override the default target path for the secret injection.

Moreover, each provider has a default target path for the secret injection. By using BaseProvider.getTargetPath()

Inherited from

BaseSecretInjectionStrategy.targetPath