diff --git a/playbooks/roles/gerrit/templates/secure.config b/playbooks/roles/gerrit/templates/secure.config index b2e5be9f72..1e97c050c7 100644 --- a/playbooks/roles/gerrit/templates/secure.config +++ b/playbooks/roles/gerrit/templates/secure.config @@ -6,5 +6,8 @@ {% endif %} [auth] registerEmailPrivateKey = {{ gerrit_email_private_key }} +{% if gerrit_rest_token_private_key is defined %} + restTokenPrivateKey = {{ gerrit_rest_token_private_key }} +{% endif %} [its-storyboard] password = {{ gerrit_storyboard_token }} diff --git a/playbooks/zuul/templates/group_vars/review.yaml.j2 b/playbooks/zuul/templates/group_vars/review.yaml.j2 index afdcd151d6..0ebabb928d 100644 --- a/playbooks/zuul/templates/group_vars/review.yaml.j2 +++ b/playbooks/zuul/templates/group_vars/review.yaml.j2 @@ -90,3 +90,4 @@ gerrit_run_compose_up: true gerrit_run_init: true gerrit_storyboard_token: 52514e74-4b8f-4d6d-a29a-a6262f97578a gerrit_email_private_key: wjpkxebohgbid6rpuwpfrYsouxpgseluqir6yupppBczoezj +gerrit_rest_token_private_key: A83fAC8x72wxcu