move cert-manager and ingress-nginx from kubespray to separate modules, remove reset action and update observability template
This commit is contained in:
@@ -8,6 +8,6 @@ func UpgradeCluster(tags string) {
|
||||
runPlaybook("kubespray/project/upgrade_cluster.yml", tags)
|
||||
}
|
||||
|
||||
func ResetCluster() {
|
||||
runPlaybook("kubespray/project/reset.yml", "reset")
|
||||
func ScaleCluster() {
|
||||
runPlaybook("kubespray/project/scale.yml", "")
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ func getPlaybookParameters(tags string) playbook.AnsiblePlaybookOptions {
|
||||
cfg := config.GetConfig()
|
||||
|
||||
ansiblePlaybookOptions := playbook.AnsiblePlaybookOptions{
|
||||
Inventory: "kubespray/inventory/hosts",
|
||||
Inventory: filepath.Join(cfg.DataDir, "kubespray/inventory/hosts"),
|
||||
Tags: tags,
|
||||
User: cfg.Credentials.User,
|
||||
Become: true,
|
||||
|
||||
Reference in New Issue
Block a user