Skip to content

Commit

Permalink
fix: set encryption config paths to the root instead of relative (#1821)
Browse files Browse the repository at this point in the history
Signed-off-by: Grant Linville <[email protected]>
  • Loading branch information
g-linville authored Feb 21, 2025
1 parent 4493794 commit 7ecd3c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/credstores/credstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ func (o *Options) Validate() error {
if o.AWSKMSKeyARN == "" {
return fmt.Errorf("missing AWS KMS key ARN")
}
o.EncryptionConfigFile = "./aws-encryption.yaml"
o.EncryptionConfigFile = "/aws-encryption.yaml"
case "gcp":
if o.GCPKMSKeyURI == "" {
return fmt.Errorf("missing GCP KMS key URI")
}
o.EncryptionConfigFile = "./gcp-encryption.yaml"
o.EncryptionConfigFile = "/gcp-encryption.yaml"
case "custom":
if o.EncryptionConfigFile == "" {
return fmt.Errorf("missing custom encryption config file")
Expand Down

0 comments on commit 7ecd3c6

Please sign in to comment.