Skip to content

Commit

Permalink
fix(clustertool): correct sopssecret yaml filename
Browse files Browse the repository at this point in the history
  • Loading branch information
PrivatePuffin committed Oct 24, 2024
1 parent 83f874f commit 6828356
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion clustertool/pkg/helper/vars.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
}
Expand Down
2 changes: 1 addition & 1 deletion clustertool/pkg/initfiles/initfiles.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{}{
Expand Down

0 comments on commit 6828356

Please sign in to comment.