@@ -9,7 +9,7 @@ This app helps in displaying image details available in an azure container regis
9
9
that belongs to other teams.
10
10
11
11
* As an example there is a platform engineering team that maintains docker imagges which are widely used and frequeently built,
12
- and if teams wont have access to the registry they won't be able to list out the differnt versions of images available.
12
+ and if teams won't have access to the registry they won't be able to list out the differnt versions of images available.
13
13
14
14
➦ This application can resolve above mentioned problem.
15
15
@@ -28,6 +28,32 @@ This app helps in displaying image details available in an azure container regis
28
28
* Microsoft Azure Container Registry Client Library for Python is used to list all images and tags in a ACR.
29
29
[ azure-containerregistry] ( https://learn.microsoft.com/en-us/python/api/overview/azure/containerregistry-readme?view=azure-python )
30
30
31
+ * Microsoft Azure Resource Graph Client Library [ azure-mgmt-resourcegraph] ( https://learn.microsoft.com/en-us/python/api/azure-mgmt-resourcegraph/azure.mgmt.resourcegraph?view=azure-python )
32
+ used to list the containers to verify and validate the user input container name.
33
+
34
+ # Architecture diagram
35
+ ![ app-to-get-image-details-from-acr.jpg] ( app-to-get-image-details-from-acr.jpg )
36
+
37
+ * User access the streamlit app. inputs an acr name
38
+
39
+ * The user input is passed from streamlit ui to python program as an input.
40
+
41
+ * Python program lists all containers available in azure using resource graph query and checks if the input is valid
42
+
43
+ ``` mermaid
44
+ flowchart TD
45
+ A[User Input] -->B[Submit]
46
+ B --> C{Python program}
47
+ C -->|Valid user input| D[proceeds to retrieve image details]
48
+ C -->|Invalid user input| E[Throws error]
49
+ ```
50
+
51
+ * If the user input which is a acr name is wrong, gets the below error
52
+
53
+ ![ wrong-acr-name-error.jpeg] ( wrong-acr-name-error.jpeg )
54
+
55
+
56
+
31
57
32
58
33
59
0 commit comments