command

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultKubeConfig           = "/.kube/config"
	DefaultNamespace            = "odysseia"
	DefaultHelmChartName        = "themistokles"
	DefaultAdmin                = "admin"
	DefaultSecretName           = "elastic-root-secret"
	DefaultDockerRegistrySecret = "harbor-images"
	DefaultHarbor               = "core.harbor.domain"
	DefaultHarborUrl            = "https://core.harbor.domain:30003/"
	DefaultHarborCertSecretName = "harbor-certs"
	DefaultPerikles             = "perikles"
	DefaultPeriklesSecretName   = "perikles-certs"
	ConfigFilePath              = ".odysseia"
	NginxRepoPath               = "https://github.com/kubernetes/ingress-nginx/releases/download/helm-chart-4.0.19/ingress-nginx-4.0.19.tgz"
	NginxNamespace              = "ingress-nginx"
	QueueName                   = "queue"
	DefaultVaultServiceName     = "vault"
	DefaultProjectName          = "odysseia-greek"
	DefaultExamplePath          = "go/src/github.com/odysseia-greek"
	SettingsName                = "odysseia.yaml"
	GitPath                     = "https://github.com/odysseia-greek"
	Olympos                     = "olympos"
	Delphi                      = "delphi"
	Ploutarchos                 = "ploutarchos"
	Docs                        = "docs"
	DefaultAppProfile           = "full"
	ElasticOperatorName         = "aristoteles"
	DefaultImageFile            = "images.yaml"
	HelmValuesFile              = "values.yaml"
	HelmChartFile               = "Chart.yaml"
	OdysseiaImageRepo           = "ghcr.io/odysseia-greek/"
)

Variables

This section is empty.

Functions

func CreateBaseConfig

func CreateBaseConfig()

func GetBaseConfig

func GetBaseConfig(path string)

Types

type BaseConfig

type BaseConfig struct {
	HelmChartPath  string `yaml:"helm-path"`
	SourceCodePath string `yaml:"source-path"`
}

type CurrentInstallConfig

type CurrentInstallConfig struct {
	ElasticPassword string `yaml:"elastic-password"`
	HarborPassword  string `yaml:"harbor-password"`
	VaultRootToken  string `yaml:"vault-root-token"`
	VaultUnsealKey  string `yaml:"vault-unseal-key"`
}

func GetClusterKeys

func GetClusterKeys() (*CurrentInstallConfig, error)

Jump to

Keyboard shortcuts

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