helm

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 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 Collectors

type Collectors struct {
	Certificatesigningrequests bool `yaml:"certificatesigningrequests"`
	Configmaps                 bool `yaml:"configmaps"`
	Cronjobs                   bool `yaml:"cronjobs"`
	Daemonsets                 bool `yaml:"daemonsets"`
	Deployments                bool `yaml:"deployments"`
	Endpoints                  bool `yaml:"endpoints"`
	Horizontalpodautoscalers   bool `yaml:"horizontalpodautoscalers"`
	Ingresses                  bool `yaml:"ingresses"`
	Jobs                       bool `yaml:"jobs"`
	Limitranges                bool `yaml:"limitranges"`
	Namespaces                 bool `yaml:"namespaces"`
	Nodes                      bool `yaml:"nodes"`
	Persistentvolumeclaims     bool `yaml:"persistentvolumeclaims"`
	Persistentvolumes          bool `yaml:"persistentvolumes"`
	Poddisruptionbudgets       bool `yaml:"poddisruptionbudgets"`
	Pods                       bool `yaml:"pods"`
	Replicasets                bool `yaml:"replicasets"`
	Replicationcontrollers     bool `yaml:"replicationcontrollers"`
	Resourcequotas             bool `yaml:"resourcequotas"`
	Secrets                    bool `yaml:"secrets"`
	Services                   bool `yaml:"services"`
	Statefulsets               bool `yaml:"statefulsets"`
	Storageclasses             bool `yaml:"storageclasses"`
	Verticalpodautoscalers     bool `yaml:"verticalpodautoscalers"`
}

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"`
	HonorLabels      bool              `yaml:"honorLabels"`
}

type PodDisruptionBudget added in v0.33.0

type PodDisruptionBudget struct {
	MaxUnavailable int       `yaml:"maxUnavailable,omitempty"`
	Selector       *Selector `yaml:"selector,omitempty"`
}

type PodSecurityPolicy

type PodSecurityPolicy struct {
	Enabled     bool              `yaml:"enabled"`
	Annotations map[string]string `yaml:"annotations"`
}

type Prometheus

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

type Rbac

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

type SecurityContext

type SecurityContext struct {
	Enabled   bool `yaml:"enabled"`
	RunAsUser int  `yaml:"runAsUser"`
	FsGroup   int  `yaml:"fsGroup"`
}

type Selector added in v0.33.0

type Selector struct {
	MatchLabels map[string]string `yaml:"matchLabels,omitempty"`
}

type Service

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

type ServiceAccount

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

type Values

type Values struct {
	FullnameOverride    string               `yaml:"fullnameOverride,omitempty"`
	PrometheusScrape    bool                 `yaml:"prometheusScrape"`
	Image               *Image               `yaml:"image"`
	Replicas            int                  `yaml:"replicas"`
	Service             *Service             `yaml:"service"`
	CustomLabels        map[string]string    `yaml:"customLabels"`
	HostNetwork         bool                 `yaml:"hostNetwork"`
	Rbac                *Rbac                `yaml:"rbac"`
	ServiceAccount      *ServiceAccount      `yaml:"serviceAccount"`
	Prometheus          *Prometheus          `yaml:"prometheus"`
	PodSecurityPolicy   *PodSecurityPolicy   `yaml:"podSecurityPolicy"`
	SecurityContext     *SecurityContext     `yaml:"securityContext"`
	NodeSelector        map[string]string    `yaml:"nodeSelector"`
	Affinity            *k8s.Affinity        `yaml:"affinity"`
	Tolerations         k8s.Tolerations      `yaml:"tolerations"`
	PodAnnotations      map[string]string    `yaml:"podAnnotations"`
	Collectors          *Collectors          `yaml:"collectors"`
	PodDisruptionBudget *PodDisruptionBudget `yaml:"podDisruptionBudget"`
	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