...

Package values

import "github.com/linkerd/linkerd2/multicluster/values"
Overview
Index

Overview ▾

type Gateway

Gateway contains all options related to the Gateway Service

type Gateway struct {
    Enabled            bool              `json:"enabled"`
    Replicas           uint32            `json:"replicas"`
    Name               string            `json:"name"`
    Port               uint32            `json:"port"`
    NodePort           uint32            `json:"nodePort"`
    ServiceType        string            `json:"serviceType"`
    Probe              *Probe            `json:"probe"`
    ServiceAnnotations map[string]string `json:"serviceAnnotations"`
    LoadBalancerIP     string            `json:"loadBalancerIP"`
    PauseImage         string            `json:"pauseImage"`
    UID                int64             `json:"UID"`
    GID                int64             `json:"GID"`
}

type Probe

Probe contains all options for the Probe Service

type Probe struct {
    Path     string `json:"path"`
    Port     uint32 `json:"port"`
    NodePort uint32 `json:"nodePort"`
    Seconds  uint32 `json:"seconds"`
}

type Values

Values contains the top-level elements in the Helm charts

type Values struct {
    CliVersion                     string   `json:"cliVersion"`
    ControllerImage                string   `json:"controllerImage"`
    ControllerImageVersion         string   `json:"controllerImageVersion"`
    Gateway                        *Gateway `json:"gateway"`
    IdentityTrustDomain            string   `json:"identityTrustDomain"`
    LinkerdNamespace               string   `json:"linkerdNamespace"`
    LinkerdVersion                 string   `json:"linkerdVersion"`
    ProxyOutboundPort              uint32   `json:"proxyOutboundPort"`
    ServiceMirror                  bool     `json:"serviceMirror"`
    LogLevel                       string   `json:"logLevel"`
    LogFormat                      string   `json:"logFormat"`
    ServiceMirrorRetryLimit        uint32   `json:"serviceMirrorRetryLimit"`
    ServiceMirrorUID               int64    `json:"serviceMirrorUID"`
    ServiceMirrorGID               int64    `json:"serviceMirrorGID"`
    Replicas                       uint32   `json:"replicas"`
    RemoteMirrorServiceAccount     bool     `json:"remoteMirrorServiceAccount"`
    RemoteMirrorServiceAccountName string   `json:"remoteMirrorServiceAccountName"`
    TargetClusterName              string   `json:"targetClusterName"`
    EnablePodAntiAffinity          bool     `json:"enablePodAntiAffinity"`
    RevisionHistoryLimit           uint32   `json:"revisionHistoryLimit"`

    ServiceMirrorAdditionalEnv   []corev1.EnvVar `json:"serviceMirrorAdditionalEnv"`
    ServiceMirrorExperimentalEnv []corev1.EnvVar `json:"serviceMirrorExperimentalEnv"`
}

func NewInstallValues

func NewInstallValues() (*Values, error)

NewInstallValues returns a new instance of the Values type.

func NewLinkValues

func NewLinkValues() (*Values, error)

NewLinkValues returns a new instance of the Values type.