helm

package
v1.5.13 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2020 License: Apache-2.0 Imports: 5 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 AdminService

type AdminService struct {
	Annotations map[string]string `yaml:"annotations"`
	Create      bool              `yaml:"create"`
	Port        int               `yaml:"port"`
	Type        string            `yaml:"type"`
}

type AmbassadorDiagnosticst added in v0.32.0

type AmbassadorDiagnosticst struct {
	Enabled bool `yaml:"enabled"`
}

type AmbassadorModuleAnnotation added in v0.32.0

type AmbassadorModuleAnnotation struct {
	ApiVersion string                  `yaml:"apiVersion"`
	Kind       string                  `yaml:"kind"`
	Name       string                  `yaml:"name"`
	Config     *AmbassadorModuleConfig `yaml:"config"`
}

func (*AmbassadorModuleAnnotation) MarshalYAML added in v0.32.0

func (m *AmbassadorModuleAnnotation) MarshalYAML() (interface{}, error)

type AmbassadorModuleConfig added in v0.32.0

type AmbassadorModuleConfig struct {
	UseProxyProto bool `yaml:"use_proxy_proto"`
	EnableGRPCWeb bool `yaml:"enable_grpc_web"`
	Diagnostics   *AmbassadorDiagnosticst
}

type AuthService

type AuthService struct {
	Create                 bool        `yaml:"create"`
	OptionalConfigurations interface{} `yaml:"optional_configurations"`
}

type Autoscaling

type Autoscaling struct {
	Enabled     bool     `yaml:"enabled"`
	MaxReplicas int      `yaml:"maxReplicas"`
	Metrics     *Metrics `yaml:"metrics"`
	MinReplicas int      `yaml:"minReplicas"`
}

type ContainerSecurityContext added in v0.28.7

type ContainerSecurityContext struct {
	AllowPrivilegeEscalation bool `yaml:"allowPrivilegeEscalation"`
}

type Crds

type Crds struct {
	Create  bool `yaml:"create"`
	Enabled bool `yaml:"enabled"`
	Keep    bool `yaml:"keep"`
}

type DeploymentStrategy

type DeploymentStrategy struct {
	Type string `yaml:"type"`
}

type Image

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

type LicenseKey

type LicenseKey struct {
	CreateSecret bool        `yaml:"createSecret"`
	Value        interface{} `yaml:"value"`
}

type LivenessProbe

type LivenessProbe struct {
	FailureThreshold    int `yaml:"failureThreshold"`
	InitialDelaySeconds int `yaml:"initialDelaySeconds"`
	PeriodSeconds       int `yaml:"periodSeconds"`
}

type Metrics

type Metrics []struct {
	Resource *Resource `yaml:"resource"`
	Type     string    `yaml:"type"`
}

type ModuleAnnotation added in v0.32.0

type ModuleAnnotation struct {
	Module *AmbassadorModuleAnnotation `yaml:"getambassador.io/config"`
}

type PodSecurityContext added in v0.28.7

type PodSecurityContext struct {
	RunAsUser int `yaml:"runAsUser"`
}

type Port

type Port struct {
	Name       string `yaml:"name"`
	Port       uint16 `yaml:"port,omitempty"`
	TargetPort uint16 `yaml:"targetPort,omitempty"`
	NodePort   uint16 `yaml:"nodePort,omitempty"`
}

type PrometheusExporter

type PrometheusExporter struct {
	Enabled    bool           `yaml:"enabled"`
	PullPolicy string         `yaml:"pullPolicy"`
	Repository string         `yaml:"repository"`
	Resources  *k8s.Resources `yaml:"resources"`
	Tag        string         `yaml:"tag"`
}

type RateLimit

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

type Rbac

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

type ReadinessProbe

type ReadinessProbe struct {
	FailureThreshold    int `yaml:"failureThreshold"`
	InitialDelaySeconds int `yaml:"initialDelaySeconds"`
	PeriodSeconds       int `yaml:"periodSeconds"`
}

type Redis

type Redis struct {
	Annotations  *RedisAnnotations `yaml:"annotations"`
	Create       bool              `yaml:"create"`
	Resources    *k8s.Resources    `yaml:"resources"`
	NodeSelector map[string]string `yaml:"nodeSelector"`
}

type RedisAnnotations

type RedisAnnotations struct {
	Deployment map[string]string `yaml:"deployment"`
	Service    map[string]string `yaml:"service"`
}

type Resource

type Resource struct {
	Name                     string `yaml:"name"`
	TargetAverageUtilization int    `yaml:"targetAverageUtilization"`
}

type Scope

type Scope struct {
	SingleNamespace bool `yaml:"singleNamespace"`
}

type Security added in v0.28.7

type Security struct {
	PodSecurityContext       *PodSecurityContext       `yaml:"podSecurityContext"`
	ContainerSecurityContext *ContainerSecurityContext `yaml:"containerSecurityContext"`
}

type Service

type Service struct {
	Annotations    *ModuleAnnotation `yaml:"annotations,omitempty"`
	Ports          []*Port           `yaml:"ports"`
	Type           string            `yaml:"type"`
	LoadBalancerIP string            `yaml:"loadBalancerIP,omitempty"`
}

type ServiceAccount

type ServiceAccount struct {
	Create bool        `yaml:"create"`
	Name   interface{} `yaml:"name"`
}

type Values

type Values struct {
	AdminService           *AdminService       `yaml:"adminService"`
	Affinity               *k8s.Affinity       `yaml:"affinity"`
	AmbassadorConfig       string              `yaml:"ambassadorConfig"`
	AuthService            *AuthService        `yaml:"authService"`
	Autoscaling            *Autoscaling        `yaml:"autoscaling"`
	Crds                   *Crds               `yaml:"crds"`
	CreateDevPortalMapping bool                `yaml:"createDevPortalMappings"`
	DaemonSet              bool                `yaml:"daemonSet"`
	DeploymentAnnotations  map[string]string   `yaml:"deploymentAnnotations"`
	DeploymentStrategy     *DeploymentStrategy `yaml:"deploymentStrategy"`
	DNSPolicy              string              `yaml:"dnsPolicy"`
	Env                    map[string]string   `yaml:"env"`
	FullnameOverride       string              `yaml:"fullnameOverride"`
	HostNetwork            bool                `yaml:"hostNetwork"`
	Image                  *Image              `yaml:"image"`
	ImagePullSecrets       []interface{}       `yaml:"imagePullSecrets"`
	InitContainers         []interface{}       `yaml:"initContainers"`
	LicenseKey             *LicenseKey         `yaml:"licenseKey"`
	LivenessProbe          *LivenessProbe      `yaml:"livenessProbe"`
	NameOverride           string              `yaml:"nameOverride"`
	NodeSelector           map[string]string   `yaml:"nodeSelector"`
	PodAnnotations         map[string]string   `yaml:"podAnnotations"`
	PodDisruptionBudget    struct{}            `yaml:"podDisruptionBudget"`
	PodLabels              map[string]string   `yaml:"podLabels"`
	PriorityClassName      string              `yaml:"priorityClassName"`
	PrometheusExporter     *PrometheusExporter `yaml:"prometheusExporter"`
	RateLimit              *RateLimit          `yaml:"rateLimit"`
	Rbac                   *Rbac               `yaml:"rbac"`
	ReadinessProbe         *ReadinessProbe     `yaml:"readinessProbe"`
	Redis                  *Redis              `yaml:"redis"`
	RedisURL               interface{}         `yaml:"redisURL"`
	ReplicaCount           int                 `yaml:"replicaCount"`
	Resources              *k8s.Resources      `yaml:"resources"`
	Scope                  *Scope              `yaml:"scope"`
	Security               *Security           `yaml:"security"`
	Service                *Service            `yaml:"service"`
	ServiceAccount         *ServiceAccount     `yaml:"serviceAccount"`
	SidecarContainers      []interface{}       `yaml:"sidecarContainers"`
	Tolerations            k8s.Tolerations     `yaml:"tolerations"`
	VolumeMounts           []interface{}       `yaml:"volumeMounts"`
	Volumes                []interface{}       `yaml:"volumes"`
}

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