Skip to content

Commit 14ecc6e

Browse files
authored
Add ontap specific contents to storage-encryption-secret (#609)
1 parent b14ce36 commit 14ecc6e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

controllers/postgres_controller.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1799,7 +1799,11 @@ func (r *PostgresReconciler) ensureStorageEncryptionSecret(log logr.Logger, ctx
17991799
Finalizers: []string{storageEncryptionKeyFinalizerName},
18001800
},
18011801
StringData: map[string]string{
1802+
// lighbits storage key name
18021803
"host-encryption-passphrase": k,
1804+
// ontap storage key name
1805+
"luks-passphrase": k,
1806+
"luks-passphrase-name": "postgreslet",
18031807
},
18041808
}
18051809

0 commit comments

Comments
 (0)