From e51e289425be84323c88ea14bc62bfc6e3211d53 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 19 Mar 2020 21:20:19 -0500 Subject: [PATCH] Add restTokenPrivateKey We don't have this on review-dev, so it was missed. Change-Id: I459266ac6766c204891152c161e80f3cdfc9a295 --- playbooks/roles/gerrit/templates/secure.config | 3 +++ playbooks/zuul/templates/group_vars/review.yaml.j2 | 1 + 2 files changed, 4 insertions(+) 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