init_container

command
v1.7.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README

Init Container Plugin

The rigdev.init_container plugin adds an init container to the Capsule's deployment.

The config can be templated with standard Go templating and has

.capsule

as its templating context.

Example

Config:

container:
  name: my-initcontainer
  image: my-container-image:v1.1

The resulting Deployment resource of the Capsule

kind: Deployment
...
spec:
  template:
    spec:
      initContainers:
        - name: my-initcontainer
          image: my-container-image:v1.1
      ...

Config

Configuration for the init_container plugin

Field Description
container Container Container holds the configuration for the init container

Documentation

Overview

+groupName=plugins.rig.dev -- Only used for config doc generation

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL