sidecar

command
v1.7.4 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: 8 Imported by: 0

README

Sidecar Plugin

The rigdev.sidecar plugin adds a sidecar to the Capsule's deployment. Specifically, it appends the configured container to the Deployment's initcontainers with a restartPolicy of Always.

The config can be templated with standard Go templating and has

.capsule

as its templating context.

Example

Config:

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

The resulting Deployment resource of the Capsule

kind: Deployment
...
spec:
  template:
    spec:
      initContainers:
        - name: my-sidecar
          image: my-container-image:v1.1
          restartPolicy: Always
      ...

Config

Configuration for the sidecar plugin

Field Description
container Container Container is the configuration of the sidecar injected into the deployment

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