fix: gpg encrypt permission warning message, update Kubernetes deployment example

This commit is contained in:
Jonas Kaninda
2024-08-30 13:47:50 +02:00
parent 13237ad634
commit 3d7f1cdd3b
8 changed files with 150 additions and 63 deletions

View File

@@ -149,3 +149,21 @@ func CheckEnvVars(vars []string) error {
return nil
}
// MakeDir create directory
func MakeDir(dirPath string) error {
err := os.Mkdir(dirPath, 0700)
if err != nil {
return err
}
return nil
}
// MakeDirAll create directory
func MakeDirAll(dirPath string) error {
err := os.MkdirAll(dirPath, 0700)
if err != nil {
return err
}
return nil
}