Skip to content

Conversation

@mathieu-benoit
Copy link
Owner

@mathieu-benoit mathieu-benoit commented Sep 14, 2024

Testing, not sure yet.

image size packages cves
noble-chiseled 32.9MB 9 5
azurelinux 42.9MB 11 0

docker images:

REPOSITORY                                          TAG       IMAGE ID       CREATED          SIZE
sail-sharp-my-sample-workload-my-sample-container   latest    200dfcd3321d   31 minutes ago   42.9MB
ghcr.io/mathieu-benoit/my-sample-workload           latest    8841581add41   6 days ago       32.9MB

syft ghcr.io/mathieu-benoit/my-sample-workload (based on noble-chiseled):

 ✔ Cataloged contents                                                                                                                                                                                                                37011dcb568f9f0ce1f08ea55d5783f31e4e2e37966ce90ccb44e342082fa1ea
   ├── ✔ Packages                        [9 packages]  
   ├── ✔ File digests                    [8 files]  
   ├── ✔ File metadata                   [8 locations]  
   └── ✔ Executables                     [29 executables]  
NAME             VERSION                TYPE   
base-files       13ubuntu10.1           deb     
ca-certificates  20240203               deb     
gcc-14           14.2.0-4ubuntu2~24.04  deb     
gcc-14-base      14.2.0-4ubuntu2~24.04  deb     
libc6            2.39-0ubuntu8.3        deb     
libgcc-s1        14.2.0-4ubuntu2~24.04  deb     
libssl3t64       3.0.13-0ubuntu3.4      deb     
libstdc++6       14.2.0-4ubuntu2~24.04  deb     
openssl          3.0.13-0ubuntu3.4      deb 

syft sail-sharp-my-sample-workload-my-sample-container (based on azure-linux, this PR):

   ├── ✔ Packages                        [11 packages]  
   ├── ✔ File digests                    [39 files]  
   ├── ✔ File metadata                   [39 locations]  
   └── ✔ Executables                     [43 executables]  
NAME                         VERSION               TYPE                 
azurelinux-release           3.0-23.azl3           rpm                   
distroless-packages-minimal  3.0-5.azl3            rpm                   
filesystem                   1.1-21.azl3           rpm                   
glibc                        2.38-8.azl3           rpm   (+1 duplicate)  
libgcc                       13.2.0-7.azl3         rpm                   
libstdc++                    13.2.0-7.azl3         rpm                   
openssl                      3.3.2-1.azl3          rpm                   
openssl-libs                 3.3.2-1.azl3          rpm                   
prebuilt-ca-certificates     2505019:3.0.0-8.azl3  rpm                   
tzdata                       2024a-1.azl3          rpm

trivy image ghcr.io/mathieu-benoit/my-sample-workload:

ghcr.io/mathieu-benoit/my-sample-workload (ubuntu 24.04)
========================================================
Total: 5 (UNKNOWN: 0, LOW: 3, MEDIUM: 2, HIGH: 0, CRITICAL: 0)

┌────────────┬────────────────┬──────────┬──────────┬───────────────────┬───────────────────┬─────────────────────────────────────────────────────────────┐
│  Library   │ Vulnerability  │ Severity │  Status  │ Installed Version │   Fixed Version   │                            Title                            │
├────────────┼────────────────┼──────────┼──────────┼───────────────────┼───────────────────┼─────────────────────────────────────────────────────────────┤
│ libc6      │ CVE-2016-20013 │ LOW      │ affected │ 2.39-0ubuntu8.2   │                   │ sha256crypt and sha512crypt through 0.6 allow attackers to  │
│            │                │          │          │                   │                   │ cause a denial of...                                        │
│            │                │          │          │                   │                   │ https://avd.aquasec.com/nvd/cve-2016-20013                  │
├────────────┼────────────────┼──────────┼──────────┼───────────────────┼───────────────────┼─────────────────────────────────────────────────────────────┤
│ libssl3t64 │ CVE-2024-6119  │ MEDIUM   │ fixed    │ 3.0.13-0ubuntu3.2 │ 3.0.13-0ubuntu3.4 │ openssl: Possible denial of service in X.509 name checks    │
│            │                │          │          │                   │                   │ https://avd.aquasec.com/nvd/cve-2024-6119                   │
│            ├────────────────┼──────────┼──────────┤                   ├───────────────────┼─────────────────────────────────────────────────────────────┤
│            │ CVE-2024-41996 │ LOW      │ affected │                   │                   │ openssl: remote attackers (from the client side) to trigger │
│            │                │          │          │                   │                   │ unnecessarily expensive server-side...                      │
│            │                │          │          │                   │                   │ https://avd.aquasec.com/nvd/cve-2024-41996                  │
├────────────┼────────────────┼──────────┼──────────┤                   ├───────────────────┼─────────────────────────────────────────────────────────────┤
│ openssl    │ CVE-2024-6119  │ MEDIUM   │ fixed    │                   │ 3.0.13-0ubuntu3.4 │ openssl: Possible denial of service in X.509 name checks    │
│            │                │          │          │                   │                   │ https://avd.aquasec.com/nvd/cve-2024-6119                   │
│            ├────────────────┼──────────┼──────────┤                   ├───────────────────┼─────────────────────────────────────────────────────────────┤
│            │ CVE-2024-41996 │ LOW      │ affected │                   │                   │ openssl: remote attackers (from the client side) to trigger │
│            │                │          │          │                   │                   │ unnecessarily expensive server-side...                      │
│            │                │          │          │                   │                   │ https://avd.aquasec.com/nvd/cve-2024-41996                  │
└────────────┴────────────────┴──────────┴──────────┴───────────────────┴───────────────────┴─────────────────────────────────────────────────────────────┘

trivy image sail-sharp-my-sample-workload-my-sample-container:

sail-sharp-my-sample-workload-my-sample-container (azurelinux 3.0)
==================================================================
Total: 0 (UNKNOWN: 0, LOW: 0, MEDIUM: 0, HIGH: 0, CRITICAL: 0)

@github-actions
Copy link

Deployment successfully completed for PR-155! 🎉

View in Humanitec

Deployment ID: 17f4fe385fd0e696

URLs:

my-sample-workload: helloworld-preview.endpoints.mathieu-benoit-gcp.cloud.goog

Deployment diff

Deployment diff:

{
  "modules": {
    "add": null,
    "remove": [],
    "update": {
      "my-sample-workload": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-container/image",
          "value": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-workload@sha256:acb59fa8b5ffdd593a59279ced36231c07aa17c1ea86f54ac6ee0abf62d2e8e5"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/mathieu-benoit/sail-sharp/blob/azure-linux/score/score.yaml"
        }
      ]
    }
  },
  "shared": null
}
Active Resources Usage

Active Resources Usage:


ResType            	Class  	ResID                                     	Usage         	Last referencing deployment	Last referencing deployment created ago
agent              	default	agent                                     	current deploy	17f4fe385fd0e696           	39.717571338s                          
base-env           	default	base-env                                  	current deploy	17f4fe385fd0e696           	39.717575005s                          
k8s-cluster        	default	k8s-cluster                               	current deploy	17f4fe385fd0e696           	39.717577419s                          
k8s-namespace      	default	k8s-namespace                             	current deploy	17f4fe385fd0e696           	39.717579593s                          
logging            	default	logging                                   	current deploy	17f4fe385fd0e696           	39.717581447s                          
k8s-service-account	default	modules.my-sample-workload                	current deploy	17f4fe385fd0e696           	39.717583s                             
workload           	default	modules.my-sample-workload                	current deploy	17f4fe385fd0e696           	39.717584512s                          
dns                	default	modules.my-sample-workload.externals.dns  	current deploy	17f4fe385fd0e696           	39.717585985s                          
ingress            	default	modules.my-sample-workload.externals.dns  	current deploy	17f4fe385fd0e696           	39.717586987s                          
tls-cert           	default	modules.my-sample-workload.externals.dns  	current deploy	17f4fe385fd0e696           	39.717587909s                          
route              	default	modules.my-sample-workload.externals.route	current deploy	17f4fe385fd0e696           	39.71758872s                           

Resources Graph

Resources Graph:

Use a Graphviz viewer for a visual representation.


strict digraph {

	label="Resource Graph
app: my-sample-app, env: pr-155

green: virtual nodes (environment, workloads), blue: active resources

";

	labelloc="t";

	overlap="false";

	splines="true";


	"c59327f8e001313b56a874001d8bc121464c6f2a" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.dns
type: dns
class: default
provision time: 8.418092s", style="filled", tooltip="guresid: c59327f8e001313b56a874001d8bc121464c6f2a",  weight=0 ];

	"b1ebfb8ad15fba3f2d3417f7fe767fc1af28e829" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload
type: workload
class: default
provision time: 158.532ms", style="filled", tooltip="guresid: b1ebfb8ad15fba3f2d3417f7fe767fc1af28e829",  weight=0 ];

	"b1ebfb8ad15fba3f2d3417f7fe767fc1af28e829" -> "8b4f30c06963f73aca04f86bdc20497f9d34b4ce" [  weight=0 ];

	"b1ebfb8ad15fba3f2d3417f7fe767fc1af28e829" -> "c59327f8e001313b56a874001d8bc121464c6f2a" [  weight=0 ];

	"b1ebfb8ad15fba3f2d3417f7fe767fc1af28e829" -> "2888a3af118281465760421248ae6dad5d84ddae" [  weight=0 ];

	"eea2c9b39516b845359ae69f4594dafbf68a55e0" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.dns
type: tls-cert
class: default
provision time: 465.393ms", style="filled", tooltip="guresid: eea2c9b39516b845359ae69f4594dafbf68a55e0",  weight=0 ];

	"eea2c9b39516b845359ae69f4594dafbf68a55e0" -> "c59327f8e001313b56a874001d8bc121464c6f2a" [  weight=0 ];

	"8b4f30c06963f73aca04f86bdc20497f9d34b4ce" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.route
type: route
class: default
provision time: 11.511993s", style="filled", tooltip="guresid: 8b4f30c06963f73aca04f86bdc20497f9d34b4ce",  weight=0 ];

	"2888a3af118281465760421248ae6dad5d84ddae" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload
type: k8s-service-account
class: default
provision time: 7.44103s", style="filled", tooltip="guresid: 2888a3af118281465760421248ae6dad5d84ddae",  weight=0 ];

	"65a1ea89c1f867ad4d3b0a75b334349e049f04c3" [ color="2", colorscheme="blues3", fillcolor="1", label="id: base-env
type: base-env
class: default
provision time: 15.434542s", style="filled", tooltip="guresid: 65a1ea89c1f867ad4d3b0a75b334349e049f04c3",  weight=0 ];

	"base" [ color="2", colorscheme="greens3", fillcolor="1", label="base", style="filled",  weight=0 ];

	"base" -> "65a1ea89c1f867ad4d3b0a75b334349e049f04c3" [  weight=0 ];

	"my-sample-workload" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.my-sample-workload", style="filled",  weight=0 ];

	"my-sample-workload" -> "base" [  weight=0 ];

	"my-sample-workload" -> "b1ebfb8ad15fba3f2d3417f7fe767fc1af28e829" [  weight=0 ];

	"6d59e208452024b3e93fbf5ff09a35300fd0ba0c" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.dns
type: ingress
class: default
provision time: 6.840599s", style="filled", tooltip="guresid: 6d59e208452024b3e93fbf5ff09a35300fd0ba0c",  weight=0 ];

	"6d59e208452024b3e93fbf5ff09a35300fd0ba0c" -> "c59327f8e001313b56a874001d8bc121464c6f2a" [  weight=0 ];

	"6d59e208452024b3e93fbf5ff09a35300fd0ba0c" -> "eea2c9b39516b845359ae69f4594dafbf68a55e0" [  weight=0 ];

}


@mathieu-benoit mathieu-benoit changed the title Update Dockerfile - azurelinux3.0-distroless-aot -azurelinux3.0-distroless-aot Sep 14, 2024
@mathieu-benoit mathieu-benoit marked this pull request as draft October 9, 2024 00:22
@github-actions
Copy link

Deployment successfully completed for PR-155! 🎉

View in Humanitec

Deployment ID: 1808919e3fbc9647

URLs:

my-sample-workload: mayertfritschauerstanton.mabenoit.newapp.io

Deployment diff

Deployment diff:

{
  "modules": {
    "add": null,
    "remove": [],
    "update": {
      "my-sample-workload": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-container/image",
          "value": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-workload@sha256:2bc922007cfa68d260b027bf28868a288bc29a00b9c28628c4dc4a001b186d31"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/mathieu-benoit/sail-sharp/blob/azure-linux/score/score.yaml"
        }
      ]
    }
  },
  "shared": null
}
Active Resources Usage

Active Resources Usage:


ResType            	Class  	ResID                                     	Usage         	Last referencing deployment	Last referencing deployment created ago
agent              	default	agent                                     	current deploy	1808919e3fbc9647           	1m17.027914937s                        
base-env           	default	base-env                                  	current deploy	1808919e3fbc9647           	1m17.027918373s                        
k8s-cluster        	default	k8s-cluster                               	current deploy	1808919e3fbc9647           	1m17.027920146s                        
k8s-namespace      	default	k8s-namespace                             	current deploy	1808919e3fbc9647           	1m17.027921589s                        
logging            	default	logging                                   	current deploy	1808919e3fbc9647           	1m17.027923032s                        
k8s-service-account	default	modules.my-sample-workload                	current deploy	1808919e3fbc9647           	1m17.027924003s                        
workload           	default	modules.my-sample-workload                	current deploy	1808919e3fbc9647           	1m17.027924996s                        
dns                	default	modules.my-sample-workload.externals.dns  	current deploy	1808919e3fbc9647           	1m17.027925927s                        
ingress            	default	modules.my-sample-workload.externals.dns  	current deploy	1808919e3fbc9647           	1m17.027927029s                        
tls-cert           	default	modules.my-sample-workload.externals.dns  	current deploy	1808919e3fbc9647           	1m17.027927971s                        
route              	default	modules.my-sample-workload.externals.route	current deploy	1808919e3fbc9647           	1m17.027928883s                        
config             	default	tf-runner                                 	current deploy	1808919e3fbc9647           	1m17.027929834s                        

Resources Graph

Resources Graph:

Use a Graphviz viewer for a visual representation.


strict digraph {

	label="Resource Graph
app: my-sample-app, env: pr-155

green: virtual nodes (environment, workloads), blue: active resources

";

	labelloc="t";

	overlap="false";

	splines="true";


	"889f0731c14cf906cf0a3a6ee358ee0510b8bfac" [ color="2", colorscheme="blues3", fillcolor="1", label="id: agent
type: agent
class: default
provision time: 1.497088s", style="filled", tooltip="guresid: 889f0731c14cf906cf0a3a6ee358ee0510b8bfac",  weight=0 ];

	"base" [ color="2", colorscheme="greens3", fillcolor="1", label="base", style="filled",  weight=0 ];

	"base" -> "65a1ea89c1f867ad4d3b0a75b334349e049f04c3" [  weight=0 ];

	"8b4f30c06963f73aca04f86bdc20497f9d34b4ce" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.route
type: route
class: default
provision time: 41.066147s", style="filled", tooltip="guresid: 8b4f30c06963f73aca04f86bdc20497f9d34b4ce",  weight=0 ];

	"c59327f8e001313b56a874001d8bc121464c6f2a" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.dns
type: dns
class: default
provision time: 40.891011s", style="filled", tooltip="guresid: c59327f8e001313b56a874001d8bc121464c6f2a",  weight=0 ];

	"6d59e208452024b3e93fbf5ff09a35300fd0ba0c" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.dns
type: ingress
class: default
provision time: 3.279297s", style="filled", tooltip="guresid: 6d59e208452024b3e93fbf5ff09a35300fd0ba0c",  weight=0 ];

	"6d59e208452024b3e93fbf5ff09a35300fd0ba0c" -> "eea2c9b39516b845359ae69f4594dafbf68a55e0" [  weight=0 ];

	"6d59e208452024b3e93fbf5ff09a35300fd0ba0c" -> "c59327f8e001313b56a874001d8bc121464c6f2a" [  weight=0 ];

	"b1ebfb8ad15fba3f2d3417f7fe767fc1af28e829" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload
type: workload
class: default
provision time: 3.245754s", style="filled", tooltip="guresid: b1ebfb8ad15fba3f2d3417f7fe767fc1af28e829",  weight=0 ];

	"b1ebfb8ad15fba3f2d3417f7fe767fc1af28e829" -> "2888a3af118281465760421248ae6dad5d84ddae" [  weight=0 ];

	"b1ebfb8ad15fba3f2d3417f7fe767fc1af28e829" -> "8b4f30c06963f73aca04f86bdc20497f9d34b4ce" [  weight=0 ];

	"b1ebfb8ad15fba3f2d3417f7fe767fc1af28e829" -> "c59327f8e001313b56a874001d8bc121464c6f2a" [  weight=0 ];

	"2888a3af118281465760421248ae6dad5d84ddae" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload
type: k8s-service-account
class: default
provision time: 7.144912s", style="filled", tooltip="guresid: 2888a3af118281465760421248ae6dad5d84ddae",  weight=0 ];

	"65a1ea89c1f867ad4d3b0a75b334349e049f04c3" [ color="2", colorscheme="blues3", fillcolor="1", label="id: base-env
type: base-env
class: default
provision time: 10.587742s", style="filled", tooltip="guresid: 65a1ea89c1f867ad4d3b0a75b334349e049f04c3",  weight=0 ];

	"65a1ea89c1f867ad4d3b0a75b334349e049f04c3" -> "3dda8f3fc25fbdea1c31c0f46c9ce5aec0d06d36" [  weight=0 ];

	"eea2c9b39516b845359ae69f4594dafbf68a55e0" [ color="2", colorscheme="blues3", fillcolor="1", label="id: modules.my-sample-workload.externals.dns
type: tls-cert
class: default
provision time: 10.730361s", style="filled", tooltip="guresid: eea2c9b39516b845359ae69f4594dafbf68a55e0",  weight=0 ];

	"3dda8f3fc25fbdea1c31c0f46c9ce5aec0d06d36" [ color="2", colorscheme="blues3", fillcolor="1", label="id: tf-runner
type: config
class: default
provision time: 9.536083s", style="filled", tooltip="guresid: 3dda8f3fc25fbdea1c31c0f46c9ce5aec0d06d36",  weight=0 ];

	"3dda8f3fc25fbdea1c31c0f46c9ce5aec0d06d36" -> "889f0731c14cf906cf0a3a6ee358ee0510b8bfac" [  weight=0 ];

	"my-sample-workload" [ color="2", colorscheme="greens3", fillcolor="1", label="workload.my-sample-workload", style="filled",  weight=0 ];

	"my-sample-workload" -> "base" [  weight=0 ];

	"my-sample-workload" -> "b1ebfb8ad15fba3f2d3417f7fe767fc1af28e829" [  weight=0 ];

}


@github-actions
Copy link

✅ Successfully deployed with score-compose

✅ Successfully deployed with score-k8s

Deployment successfully completed for PR-155! 🎉

✅ Successfully deployed with humctl

➡️ Open Resource Graph

🔍 View Deployment in Humanitec

🔗 my-sample-workload: ziemannrohanzieme.mabenoit.newapp.io

Deployment diff

Deployment diff:

{
  "modules": {
    "add": null,
    "remove": [],
    "update": {
      "my-sample-workload": [
        {
          "from": "",
          "op": "add",
          "path": "/spec/containers/my-sample-container/variables/POD_NAME",
          "value": "${pod.metadata.name}"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/containers/my-sample-container/variables/NAMESPACE_NAME",
          "value": "${pod.metadata.namespace}"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-container/image",
          "value": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-workload@sha256:f347d56a40cc324fdb341f48e546a6387bea8b182af08181e3a5e7e260cf7e76"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/mathieu-benoit/sail-sharp/blob/azure-linux/score/score.yaml"
        },
        {
          "from": "",
          "op": "remove",
          "path": "/externals/my-bucket",
          "value": null
        },
        {
          "from": "",
          "op": "remove",
          "path": "/externals/hpa",
          "value": null
        }
      ]
    }
  },
  "shared": null
}
Active Resources Usage

Active Resources Usage:


ResType            	Class  	ResID                                     	Usage         	Last referencing deployment	Last referencing deployment created ago
agent              	default	agent                                     	current deploy	181fe9af49f4ebb3           	1m13.904017956s                        
config             	default	app                                       	current deploy	181fe9af49f4ebb3           	1m13.90401983s                         
base-env           	default	base-env                                  	current deploy	181fe9af49f4ebb3           	1m13.904021032s                        
config             	default	gke                                       	current deploy	181fe9af49f4ebb3           	1m13.904021914s                        
k8s-cluster        	default	k8s-cluster                               	current deploy	181fe9af49f4ebb3           	1m13.904022795s                        
k8s-namespace      	default	k8s-namespace                             	current deploy	181fe9af49f4ebb3           	1m13.904023567s                        
logging            	default	logging                                   	current deploy	181fe9af49f4ebb3           	1m13.904024448s                        
k8s-service-account	default	modules.my-sample-workload                	current deploy	181fe9af49f4ebb3           	1m13.90402522s                         
workload           	default	modules.my-sample-workload                	current deploy	181fe9af49f4ebb3           	1m13.904026202s                        
dns                	default	modules.my-sample-workload.externals.dns  	current deploy	181fe9af49f4ebb3           	1m13.904027053s                        
ingress            	default	modules.my-sample-workload.externals.dns  	current deploy	181fe9af49f4ebb3           	1m13.904027834s                        
route              	default	modules.my-sample-workload.externals.route	current deploy	181fe9af49f4ebb3           	1m13.904028576s                        

Active Resources diff

Active Resources diff:

69c69
<     "namespace": "my-sample-app-development"
---
>     "namespace": "my-sample-app-pr-155"
92c92
<     "principal": "principal://iam.googleapis.com/projects/300727843360/locations/global/workloadIdentityPools/mathieu-benoit-gcp.svc.id.goog/subject/ns/my-sample-app-development/sa/my-sample-workload"
---
>     "principal": "principal://iam.googleapis.com/projects/300727843360/locations/global/workloadIdentityPools/mathieu-benoit-gcp.svc.id.goog/subject/ns/my-sample-app-pr-155/sa/my-sample-workload"
114c114
<     "host": "ebertfritschritchie.mabenoit.newapp.io"
---
>     "host": "ziemannrohanzieme.mabenoit.newapp.io"
125c125
<     "id": "7bdb1397b2374c3d8fc251b8bc3c0e221de2a2cc-ingress",
---
>     "id": "6d59e208452024b3e93fbf5ff09a35300fd0ba0c-ingress",
130,169d129
<   "tls-cert",
<   "modules.my-sample-workload.externals.dns",
<   "default",
<   "humanitec/newapp-io-tls",
<   "default-humanitec-tls-cert",
<   "98da1e0b-4b3c-444d-ab45-9879f3f8df83",
<   {
<     "tls_secret_name": "8da26d868e5349f401c0df7095ef3e01f84a53e1-tls"
<   }
< ]
< [
<   "horizontal-pod-autoscaler",
<   "modules.my-sample-workload.externals.hpa",
<   "default",
<   "humanitec/template",
<   "hpa",
<   "f6fda386-bc0a-4b84-b07e-8823c4efcfc3",
<   {}
< ]
< [
<   "gcp-iam-policy-binding",
<   "modules.my-sample-workload.externals.my-bucket",
<   "gcs-default",
<   "humanitec/container",
<   "htc-ref-arch-gcs-iam-member-default",
<   "9284b45c-a2d9-48a3-a73a-8ef69ed87f2f",
<   {}
< ]
< [
<   "gcs",
<   "modules.my-sample-workload.externals.my-bucket",
<   "default",
<   "humanitec/container",
<   "htc-ref-arch-gcs-default",
<   "ec22c9a0-d783-42b5-828f-96a1d62a8e6f",
<   {
<     "name": "ykeqomqcej"
<   }
< ]
< [
177c137
<     "host": "ebertfritschritchie.mabenoit.newapp.io",
---
>     "host": "ziemannrohanzieme.mabenoit.newapp.io",
181,210d140
<   }
< ]
< [
<   "gcp-vertex-ai",
<   "modules.my-sample-workload.externals.vertexai",
<   "default",
<   "humanitec/container",
<   "htc-ref-arch-vertex-ai-default",
<   "638d8d4c-1e50-4b90-87da-8456b30d1fbc",
<   {
<     "location": "northamerica-northeast1",
<     "project": "mathieu-benoit-gcp"
<   }
< ]
< [
<   "config",
<   "tf-runner",
<   "default",
<   "humanitec/template",
<   "terraform-runner",
<   "1e5c8fb8-3796-4c36-8684-5e76c2f5c2c7",
<   {
<     "runner.account": "mabenoit/htc-ref-arch-cluster",
<     "runner.cluster.name": "htc-ref-arch-cluster",
<     "runner.cluster.project_id": "mathieu-benoit-gcp",
<     "runner.cluster.zone": "northamerica-northeast1",
<     "runner.cluster_type": "gke",
<     "runner.namespace": "humanitec-terraform-runner",
<     "runner.service_account": "humanitec-terraform-runner",
<     "use_default_backend": "true"

@github-actions
Copy link

✅ Successfully deployed with score-compose

✅ Successfully deployed with score-k8s

Deployment successfully completed for PR-155! 🎉

✅ Successfully deployed with humctl

➡️ Open Resource Graph

🔍 View Deployment in Humanitec

🔗 my-sample-workload: murraygreenholtlegroscrist.mabenoit.newapp.io

Deployment diff

Deployment diff:

{
  "modules": {
    "add": null,
    "remove": [],
    "update": {
      "my-sample-workload": [
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/mathieu-benoit/sail-sharp/blob/azure-linux/score/score.yaml"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-container/image",
          "value": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-workload@sha256:e45356c045851cedb59d5692aaf9e4b2cbcd95e2d4ba93498ed511225dde14e3"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/containers/my-sample-container/variables/NAMESPACE_NAME",
          "value": "${pod.metadata.namespace}"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/containers/my-sample-container/variables/POD_NAME",
          "value": "${pod.metadata.name}"
        },
        {
          "from": "",
          "op": "remove",
          "path": "/externals/hpa",
          "value": null
        },
        {
          "from": "",
          "op": "remove",
          "path": "/externals/my-bucket",
          "value": null
        }
      ]
    }
  },
  "shared": null
}
Active Resources Usage

Active Resources Usage:


ResType            	Class  	ResID                                     	Usage         	Last referencing deployment	Last referencing deployment created ago
agent              	default	agent                                     	current deploy	181fea13cc8d7d96           	1m13.815304458s                        
config             	default	app                                       	current deploy	181fea13cc8d7d96           	1m13.815306282s                        
base-env           	default	base-env                                  	current deploy	181fea13cc8d7d96           	1m13.815307484s                        
config             	default	gke                                       	current deploy	181fea13cc8d7d96           	1m13.815308616s                        
k8s-cluster        	default	k8s-cluster                               	current deploy	181fea13cc8d7d96           	1m13.815309788s                        
k8s-namespace      	default	k8s-namespace                             	current deploy	181fea13cc8d7d96           	1m13.81531074s                         
logging            	default	logging                                   	current deploy	181fea13cc8d7d96           	1m13.815311742s                        
k8s-service-account	default	modules.my-sample-workload                	current deploy	181fea13cc8d7d96           	1m13.815312693s                        
workload           	default	modules.my-sample-workload                	current deploy	181fea13cc8d7d96           	1m13.815313726s                        
dns                	default	modules.my-sample-workload.externals.dns  	current deploy	181fea13cc8d7d96           	1m13.815314667s                        
ingress            	default	modules.my-sample-workload.externals.dns  	current deploy	181fea13cc8d7d96           	1m13.815315599s                        
route              	default	modules.my-sample-workload.externals.route	current deploy	181fea13cc8d7d96           	1m13.815316541s                        

Active Resources diff

Active Resources diff:

69c69
<     "namespace": "my-sample-app-development"
---
>     "namespace": "my-sample-app-pr-155"
92c92
<     "principal": "principal://iam.googleapis.com/projects/300727843360/locations/global/workloadIdentityPools/mathieu-benoit-gcp.svc.id.goog/subject/ns/my-sample-app-development/sa/my-sample-workload"
---
>     "principal": "principal://iam.googleapis.com/projects/300727843360/locations/global/workloadIdentityPools/mathieu-benoit-gcp.svc.id.goog/subject/ns/my-sample-app-pr-155/sa/my-sample-workload"
114c114
<     "host": "ebertfritschritchie.mabenoit.newapp.io"
---
>     "host": "murraygreenholtlegroscrist.mabenoit.newapp.io"
125c125
<     "id": "7bdb1397b2374c3d8fc251b8bc3c0e221de2a2cc-ingress",
---
>     "id": "6d59e208452024b3e93fbf5ff09a35300fd0ba0c-ingress",
130,169d129
<   "tls-cert",
<   "modules.my-sample-workload.externals.dns",
<   "default",
<   "humanitec/newapp-io-tls",
<   "default-humanitec-tls-cert",
<   "98da1e0b-4b3c-444d-ab45-9879f3f8df83",
<   {
<     "tls_secret_name": "8da26d868e5349f401c0df7095ef3e01f84a53e1-tls"
<   }
< ]
< [
<   "horizontal-pod-autoscaler",
<   "modules.my-sample-workload.externals.hpa",
<   "default",
<   "humanitec/template",
<   "hpa",
<   "f6fda386-bc0a-4b84-b07e-8823c4efcfc3",
<   {}
< ]
< [
<   "gcp-iam-policy-binding",
<   "modules.my-sample-workload.externals.my-bucket",
<   "gcs-default",
<   "humanitec/container",
<   "htc-ref-arch-gcs-iam-member-default",
<   "9284b45c-a2d9-48a3-a73a-8ef69ed87f2f",
<   {}
< ]
< [
<   "gcs",
<   "modules.my-sample-workload.externals.my-bucket",
<   "default",
<   "humanitec/container",
<   "htc-ref-arch-gcs-default",
<   "ec22c9a0-d783-42b5-828f-96a1d62a8e6f",
<   {
<     "name": "ykeqomqcej"
<   }
< ]
< [
177c137
<     "host": "ebertfritschritchie.mabenoit.newapp.io",
---
>     "host": "murraygreenholtlegroscrist.mabenoit.newapp.io",
181,210d140
<   }
< ]
< [
<   "gcp-vertex-ai",
<   "modules.my-sample-workload.externals.vertexai",
<   "default",
<   "humanitec/container",
<   "htc-ref-arch-vertex-ai-default",
<   "638d8d4c-1e50-4b90-87da-8456b30d1fbc",
<   {
<     "location": "northamerica-northeast1",
<     "project": "mathieu-benoit-gcp"
<   }
< ]
< [
<   "config",
<   "tf-runner",
<   "default",
<   "humanitec/template",
<   "terraform-runner",
<   "1e5c8fb8-3796-4c36-8684-5e76c2f5c2c7",
<   {
<     "runner.account": "mabenoit/htc-ref-arch-cluster",
<     "runner.cluster.name": "htc-ref-arch-cluster",
<     "runner.cluster.project_id": "mathieu-benoit-gcp",
<     "runner.cluster.zone": "northamerica-northeast1",
<     "runner.cluster_type": "gke",
<     "runner.namespace": "humanitec-terraform-runner",
<     "runner.service_account": "humanitec-terraform-runner",
<     "use_default_backend": "true"

@mathieu-benoit mathieu-benoit changed the title -azurelinux3.0-distroless-aot -azurelinux3.0-distroless Feb 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants