File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ func NewCmdSecrets() *cobra.Command {
5353 if flags .updateKeys {
5454 globalSecretsPath := filepath .Join (k .String ("dir" ), ".smallweb" , "secrets.enc.env" )
5555 if stat , err := os .Stat (globalSecretsPath ); err == nil && ! stat .IsDir () {
56- c := exec .Command ("sops" , "updatekeys" , globalSecretsPath )
56+ c := exec .Command ("sops" , "updatekeys" , "--yes" , globalSecretsPath )
5757 c .Dir = k .String ("dir" )
5858
5959 if err := c .Run (); err != nil {
@@ -69,7 +69,7 @@ func NewCmdSecrets() *cobra.Command {
6969 for _ , a := range apps {
7070 secretsPath := filepath .Join (k .String ("dir" ), a , "secrets.enc.env" )
7171 if stat , err := os .Stat (secretsPath ); err == nil && ! stat .IsDir () {
72- c := exec .Command ("sops" , "updatekeys" , secretsPath )
72+ c := exec .Command ("sops" , "updatekeys" , "--yes" , secretsPath )
7373 c .Dir = k .String ("dir" )
7474
7575 if err := c .Run (); err != nil {
You can’t perform that action at this time.
0 commit comments