configmap

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package configmap contains the internal representation of configMap volumes.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakePayload

func MakePayload(mappings []corev1.KeyToPath, configMap *corev1.ConfigMap, defaultMode *int32, optional bool) (map[string]util.FileProjection, error)

MakePayload function is exported so that it can be called from the projection volume driver

Types

type VolumeMounter

type VolumeMounter struct {
	Volume corev1.Volume
	Pod    corev1.Pod

	Logger logr.Logger
}

VolumeMounter handles retrieving secrets from the API server and placing them into the volume on the host.

func (*VolumeMounter) SetUpAt

func (b *VolumeMounter) SetUpAt(ctx context.Context, dir string) error

Jump to

Keyboard shortcuts

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