Skip to content

Commit b606d6a

Browse files
committed
HACKING: update for azure-managed-identity
1 parent 97aafc4 commit b606d6a

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

HACKING.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,19 @@ oc annotate secret/azure-kola-tests-config \
212212
jenkins.io/credentials-description="Azure kola tests credentials config"
213213
```
214214

215+
If you want to establish an authorized identity to pre-emptively grant access
216+
to other Azure resources, enabling the startup process to leverage Azure's default
217+
credentials, use the azure-kola-managed-identity:
218+
219+
```
220+
oc create secret generic azure-kola-managed-identity \
221+
--from-file=text="${MANAGED_IDENTITY_ID}"
222+
oc label secret/azure-kola-managed-identity \
223+
jenkins.io/credentials-type=secretText
224+
oc annotate secret/azure-kola-managed-identity \
225+
jenkins.io/credentials-description="Azure managed identity credentials"
226+
```
227+
215228
NOTE: For the prod pipeline these secrets can be found in BitWarden
216229

217230
### [OPTIONAL] Creating OpenStack credentials configs

0 commit comments

Comments
 (0)