diff --git a/clustertool/pkg/helper/vars.go b/clustertool/pkg/helper/vars.go index 8022a5e0842f6..db5cc19ab151e 100644 --- a/clustertool/pkg/helper/vars.go +++ b/clustertool/pkg/helper/vars.go @@ -26,7 +26,7 @@ var ( ControlPlaneIPs = []string{} WorkerIPs = []string{} ManifestPaths = []string{ - filepath.Join("flux-system", "flux", "sopskey.secret.yaml"), + filepath.Join("flux-system", "flux", "sopssecret.secret.yaml"), filepath.Join("flux-system", "flux", "deploykey.secret.yaml"), filepath.Join("flux-system", "flux", "clustersettings.secret.yaml"), } diff --git a/clustertool/pkg/initfiles/initfiles.go b/clustertool/pkg/initfiles/initfiles.go index e09caec3373c2..392984eeb5d5d 100644 --- a/clustertool/pkg/initfiles/initfiles.go +++ b/clustertool/pkg/initfiles/initfiles.go @@ -435,7 +435,7 @@ func GetSecKey() (string, error) { } func GenSopsSecret() error { - secretPath := filepath.Join(helper.ClusterPath, "kubernetes", "flux-system", "flux", "sopsscret.secret.yaml") + secretPath := filepath.Join(helper.ClusterPath, "kubernetes", "flux-system", "flux", "sopssecret.secret.yaml") ageSecKey, err := GetSecKey() // Generate Kubernetes secret YAML content secret := map[string]interface{}{