kubecore

package
v0.0.0-...-0d649eb Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2018 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

View Source
const (
	// Kind is the TypeMeta.Kind for the OperatorConfig.
	Kind = "KubeCoreOperatorConfig"
	// APIVersion is the TypeMeta.APIVersion for the OperatorConfig.
	APIVersion = "v1"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthConfig

type AuthConfig struct {
	OIDCClientID      string `json:"oidc_client_id"`
	OIDCIssuerURL     string `json:"oidc_issuer_url"`
	OIDCGroupsClaim   string `json:"oidc_groups_claim"`
	OIDCUsernameClaim string `json:"oidc_username_claim"`
}

AuthConfig holds Authentication related config values.

type CloudProviderConfig

type CloudProviderConfig struct {
	CloudConfigPath      string `json:"cloud_config_path"`
	CloudProviderProfile string `json:"cloud_provider_profile"`
}

CloudProviderConfig holds information on the cloud provider this cluster is operating in.

type ClusterConfig

type ClusterConfig struct {
	APIServerURL string `json:"apiserver_url"`
}

ClusterConfig holds global/general information about the cluster.

type DNSConfig

type DNSConfig struct {
	// ClusterIP ip address of the cluster
	ClusterIP string `json:"clusterIP"`
}

DNSConfig options for the dns configuration

type NetworkConfig

type NetworkConfig struct {
	AdvertiseAddress string `json:"advertise_address"`
	ClusterCIDR      string `json:"cluster_cidr"`
	EtcdServers      string `json:"etcd_servers"`
	ServiceCIDR      string `json:"service_cidr"`
}

NetworkConfig holds information on cluster networking.

type OperatorConfig

type OperatorConfig struct {
	metav1.TypeMeta     `json:",inline"`
	ClusterConfig       `json:"clusterConfig,omitempty"`
	DNSConfig           `json:"dnsConfig,omitempty"`
	AuthConfig          `json:"authConfig,omitempty"`
	RoutingConfig       `json:"routingConfig,omitempty"`
	CloudProviderConfig `json:"cloudProviderConfig,omitempty"`
	NetworkConfig       `json:"networkConfig,omitempty"`
}

OperatorConfig holds all configuration needed for the operator to make any install / upgrade time decisions.

type RoutingConfig

type RoutingConfig struct {
	// Subdomain is the suffix appended to $service.$namespace. to form the default route hostname
	// if empty, router.tectonic-ingress.cluster.local
	Subdomain string `json:"subdomain"`
}

RoutingConfig holds options for routes.

Jump to

Keyboard shortcuts

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