helm

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetChartInfo

func GetChartInfo() *chart.Chart

func GetImageTags

func GetImageTags() map[string]string

Types

type Image

type Image struct {
	Repository string `yaml:"repository"`
	Tag        string `yaml:"tag"`
	PullPolicy string `yaml:"pullPolicy"`
}

type Monitor

type Monitor struct {
	Enabled          bool              `yaml:"enabled"`
	AdditionalLabels map[string]string `yaml:"additionalLabels"`
	Namespace        string            `yaml:"namespace"`
	ScrapeTimeout    string            `yaml:"scrapeTimeout"`
}

type Prometheus

type Prometheus struct {
	Monitor *Monitor `yaml:"monitor"`
}

type Rbac

type Rbac struct {
	Create     bool `yaml:"create"`
	PspEnabled bool `yaml:"pspEnabled"`
}

type SecurityContext

type SecurityContext struct {
	RunAsNonRoot bool `yaml:"runAsNonRoot"`
	RunAsUser    int  `yaml:"runAsUser"`
}

type Service

type Service struct {
	Type        string            `yaml:"type"`
	Port        int               `yaml:"port"`
	TargetPort  int               `yaml:"targetPort"`
	NodePort    interface{}       `yaml:"nodePort"`
	Annotations map[string]string `yaml:"annotations"`
}

type ServiceAccount

type ServiceAccount struct {
	Create           bool          `yaml:"create"`
	Name             interface{}   `yaml:"name"`
	ImagePullSecrets []interface{} `yaml:"imagePullSecrets"`
}

type Toleration

type Toleration struct {
	Effect   string `yaml:"effect"`
	Operator string `yaml:"operator"`
}

type Values

type Values struct {
	FullnameOverride      string            `yaml:"fullnameOverride,omitempty"`
	Image                 *Image            `yaml:"image"`
	Service               *Service          `yaml:"service"`
	Prometheus            *Prometheus       `yaml:"prometheus"`
	ServiceAccount        *ServiceAccount   `yaml:"serviceAccount"`
	SecurityContext       *SecurityContext  `yaml:"securityContext"`
	Rbac                  *Rbac             `yaml:"rbac"`
	Endpoints             []interface{}     `yaml:"endpoints"`
	HostNetwork           bool              `yaml:"hostNetwork"`
	Affinity              interface{}       `yaml:"affinity"`
	NodeSelector          map[string]string `yaml:"nodeSelector"`
	Tolerations           []*Toleration     `yaml:"tolerations"`
	ExtraArgs             []string          `yaml:"extraArgs"`
	ExtraHostVolumeMounts interface{}       `yaml:"extraHostVolumeMounts"`
	Configmaps            interface{}       `yaml:"configmaps"`
	PodLabels             map[string]string `yaml:"podLabels"`
	Resources             *k8s.Resources    `yaml:"resources"`
}

func DefaultValues

func DefaultValues(imageTags map[string]string) *Values

Jump to

Keyboard shortcuts

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