fix: writesecret with --gitops doesn't need a kubeconfig (#2078)

* fix: writesecret with --gitops doesn't need a kubeconfig

* fix: writesecret with --gitops doesn't need a kubeconfig

* fix: don't print error if writing secret succeeded
This commit is contained in:
Elio Bischof 2021-09-23 10:13:24 +02:00 committed by GitHub
parent 7e3d12c73a
commit 63231540a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,6 +60,7 @@ cat ~/googlecloudstoragesa.json | zitadelctl writesecret database.bucket.service
if err != nil && !rv.Gitops {
return err
}
err = nil
return secret.Write(
monitor,