Skip to content

Commit c79c08f

Browse files
author
Jonathan S. Katz
committed
Update create by resource example to generate ED25519 key pair
As Operator 4.3 moved to using ED25519 ssh keypairs, so too did this example need to be updated. Fixes CrunchyData#1550 Issue: CrunchyData#1550
1 parent 85743ab commit c79c08f

File tree

1 file changed

+1
-1
lines changed
  • examples/create-by-resource

1 file changed

+1
-1
lines changed

examples/create-by-resource/run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ rm $DIR/fromcrd-key $DIR/fromcrd-key.pub
4242
###############
4343

4444
# generate a SSH public/private keypair for use by pgBackRest
45-
ssh-keygen -N '' -f $DIR/fromcrd-key
45+
ssh-keygen -t ed25519 -N '' -f $DIR/fromcrd-key
4646

4747
# base64 encoded the keys for the generation of the Kube secret, and place
4848
# them into variables temporarily

0 commit comments

Comments
 (0)