From 621c158a0d56c4e4084f9a05f9d34de860123918 Mon Sep 17 00:00:00 2001
From: Davlet Panech <davlet.panech@windriver.com>
Date: Fri, 28 Apr 2023 12:38:50 -0400
Subject: [PATCH] Fix github mirroring for this repo

Updating the rsa ssh host key based on:
https://github.blog/2023-03-23-we-updated-our-rsa-ssh-host-key/

Note: In the future, StarlingX should have a zuul job and
secret setup for all repos so we do not need to do this
for every repo.

Needed to rename the secret, because zuul fails if like-named
secrets have diffent values in different branches of the same
repo.

Partial-Bug: #2015246
Change-Id: Ic4c29da7646fea621002d5c152b8e4dce5a35c68
Signed-off-by: Davlet Panech <davlet.panech@windriver.com>
---
 .zuul.yaml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.zuul.yaml b/.zuul.yaml
index 2ad42e5496..050bee0875 100644
--- a/.zuul.yaml
+++ b/.zuul.yaml
@@ -216,16 +216,16 @@
       git_mirror_repository: starlingx/config
     secrets:
       - name: git_mirror_credentials
-        secret: stx-config-github-secret
+        secret: stx-config-github-secret2
         pass-to-parent: true
 
 - secret:
-    name: stx-config-github-secret
+    name: stx-config-github-secret2
     data:
       user: git
       host: github.com
       # yamllint disable-line rule:line-length
-      host_key: github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
+      host_key: github.com ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQ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