helm

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckIfFederationOperatorExists

func CheckIfFederationOperatorExists(federationOperator connectionhubv1alpha1.FederationOperator, config *rest.Config) (bool, error)

func CheckIfSubmarinerBrokerExists

func CheckIfSubmarinerBrokerExists(submarinerBroker connectionhubv1alpha1.SubmarinerBroker, config *rest.Config) (bool, error)

func CheckIfSubmarinerOperatorExists

func CheckIfSubmarinerOperatorExists(submarinerOperator connectionhubv1alpha1.SubmarinerOperator, config *rest.Config) (bool, error)

func InstallFederationOperatorChart

func InstallFederationOperatorChart(federationOperator connectionhubv1alpha1.FederationOperator, config *rest.Config) error

func InstallSubmarinerBrokerChart

func InstallSubmarinerBrokerChart(submarinerBroker connectionhubv1alpha1.SubmarinerBroker, config *rest.Config) error

func InstallSubmarinerOperatorChart

func InstallSubmarinerOperatorChart(submarinerOperator connectionhubv1alpha1.SubmarinerOperator, config *rest.Config) error

func UninstallFederationOperatorChart

func UninstallFederationOperatorChart(federationOperator connectionhubv1alpha1.FederationOperator, config *rest.Config) error

func UninstallSubmarinerBrokerChart

func UninstallSubmarinerBrokerChart(submarinerBroker connectionhubv1alpha1.SubmarinerBroker, config *rest.Config) error

func UninstallSubmarinerOperatorChart

func UninstallSubmarinerOperatorChart(submarinerOperator connectionhubv1alpha1.SubmarinerOperator, config *rest.Config) error

Types

type Broker

type Broker struct {
	Server    string `yaml:"server"`
	Token     string `yaml:"token"`
	Namespace string `yaml:"namespace"`
	// Insecure  bool   `yaml:"insecure"`
	Ca string `yaml:"ca"`
}

type ControllerManager added in v0.1.3

type ControllerManager struct {
	CommonNodeSelector map[string]string `yaml:"commonNodeSelector"`
}

type CoreDNSCustomConfig

type CoreDNSCustomConfig struct{}

type FederationOperatorValues added in v0.1.3

type FederationOperatorValues struct {
	ControllerManager ControllerManager `yaml:"controllermanager"`
}

func GetFederationOperatorValues added in v0.1.3

func GetFederationOperatorValues(federationOperator connectionhubv1alpha1.FederationOperator) FederationOperatorValues

type Gateway

type Gateway struct {
	Image Images `yaml:"image"`
}

type IPSEC

type IPSEC struct {
	PSK string `yaml:"psk"`
	// Debug           bool   `yaml:"debug"`
	// ForceUDPEncaps  bool   `yaml:"forceUDPEncaps"`
	IKEPort         int  `yaml:"ikePort"`
	NATPort         int  `yaml:"natPort"`
	NATDiscovery    int  `yaml:"natDiscovery"`
	PreferredServer bool `yaml:"preferredServer"`
}

type Images

type Images struct {
	Repository string `yaml:"repository"`
	Tag        string `yaml:"tag"`
}

type Operator

type Operator struct {
	Image OperatorImage `yaml:"image"`
}

type OperatorAffinity

type OperatorAffinity struct{}

type OperatorImage

type OperatorImage struct {
	Repository string `yaml:"repository"`
	Tag        string `yaml:"tag"`
}

type OperatorResources

type OperatorResources struct{}

type OperatorToleration

type OperatorToleration struct{}

type ServiceAccount

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

type ServiceAccounts

type ServiceAccounts struct {
	// Operator          ServiceAccount `yaml:"operator"`
	// Gateway           ServiceAccount `yaml:"gateway"`
	// RouteAgent        ServiceAccount `yaml:"routeAgent"`
	// GlobalNet         ServiceAccount `yaml:"globalnet"`
	LighthouseAgent   ServiceAccount `yaml:"lighthouseAgent"`
	LighthouseCoreDNS ServiceAccount `yaml:"lighthouseCoreDns"`
}

type Submariner

type Submariner struct {
	DeployCR  bool   `yaml:"deployCR"`
	ClusterID string `yaml:"clusterId"`
	// Token               string              `yaml:"token"`
	ClusterCIDR string `yaml:"clusterCidr"`
	ServiceCIDR string `yaml:"serviceCidr"`
	// GlobalCIDR          string              `yaml:"globalCidr"`
	NatEnabled bool `yaml:"natEnabled"`
	// ColorCodes          string              `yaml:"colorCodes"`
	// Debug               bool                `yaml:"debug"`
	ServiceDiscovery   bool   `yaml:"serviceDiscovery"`
	CableDriver        string `yaml:"cableDriver"`
	HealthCheckEnabled bool   `yaml:"healthcheckEnabled"`
	// CoreDNSCustomConfig CoreDNSCustomConfig `yaml:"coreDNSCustomConfig"`
	Images Images `yaml:"images"`
}

type SubmarinerOperatorValues

type SubmarinerOperatorValues struct {
	Submariner Submariner `yaml:"submariner"`
	Broker     Broker     `yaml:"broker"`
	// RBAC            RBAC            `yaml:"rbac"`
	IPSEC IPSEC `yaml:"ipsec"`
	// Leadership      Leadership      `yaml:"leadership"`
	Operator        Operator          `yaml:"operator"`
	Gateway         Gateway           `yaml:"gateway"`
	ServiceAccounts ServiceAccounts   `yaml:"serviceAccounts"`
	NodeSelector    map[string]string `yaml:"nodeSelector"`
}

func GetSubmarinerOperatorValues

func GetSubmarinerOperatorValues(submarinerOperator connectionhubv1alpha1.SubmarinerOperator) SubmarinerOperatorValues

Jump to

Keyboard shortcuts

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