Skip to content

@kubricate/core / types / ImagePullSecretInjectionStrategy

Interface: ImagePullSecretInjectionStrategy ​

Image pull secret injection strategy. Injects Docker registry credentials for pulling private container images.

Example ​

typescript
const strategy: ImagePullSecretInjectionStrategy = {
  kind: 'imagePullSecret'
};

Extends ​

Properties ​

kind ​

ts
kind: "imagePullSecret";

Injection strategy type: image pull secret injection for private registry authentication


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