fix(clustertool): correct sopssecret yaml filename
This commit is contained in:
@@ -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"),
|
||||
}
|
||||
|
||||
@@ -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{}{
|
||||
|
||||
Reference in New Issue
Block a user