You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
• The 'latest' tag used in 'nginx' image of Pod 'default/nginx' container 'nginx' should be avoided.`
62
61
63
-
expectedHtml:=`<b>✅ SUCCESS Kubernetes Created</b><br/><code>Pod/nginx</code> in <code>default@David-Test</code><br/>🕐 <i>2025-07-11T07:24:02Z</i><br/><b>💡 Recommendations:</b><ul><li>The 'latest' tag used in 'nginx' image of Pod 'default/nginx' container 'nginx' should be avoided.</li></ul>`
62
+
expectedHtml:=`<b>✅ SUCCESS Kubernetes Created</b><br/>📦 <b>Pod/nginx</b> in <b>default</b>@<code>David-Test</code><br/><b>💡 Recommendations:</b><ul><li>The 'latest' tag used in 'nginx' image of Pod 'default/nginx' container 'nginx' should be avoided.</li></ul>`
// Expected message with the improved schema for error events
77
76
expectedPlain:=`🔴 ERROR Kubernetes Error
78
-
📦 Pod/error-pod in default@development
79
-
🕐 2025-07-26T18:40:25Z
77
+
📦 **Pod/error-pod** in **default**@development
80
78
81
79
📋 Messages:
82
80
• Failed to pull image "nonexistentimage:latest": failed to pull and unpack image "docker.io/library/nonexistentimage:latest": failed to resolve reference "docker.io/library/nonexistentimage:latest": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed`
83
81
84
-
expectedHtml:=`<b>🔴 ERROR Kubernetes Error</b><br/><code>Pod/error-pod</code> in <code>default@development</code><br/>🕐 <i>2025-07-26T18:40:25Z</i><br/><br/><b>📋 Messages:</b><ul><li>Failed to pull image "nonexistentimage:latest": failed to pull and unpack image "docker.io/library/nonexistentimage:latest": failed to resolve reference "docker.io/library/nonexistentimage:latest": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed</li></ul>`
82
+
expectedHtml:=`<b>🔴 ERROR Kubernetes Error</b><br/>📦 <b>Pod/error-pod</b> in <b>default</b>@<code>development</code><br/><br/><b>📋 Messages:</b><ul><li>Failed to pull image "nonexistentimage:latest": failed to pull and unpack image "docker.io/library/nonexistentimage:latest": failed to resolve reference "docker.io/library/nonexistentimage:latest": pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed</li></ul>`
0 commit comments