Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve comment in PR (with new Graph URL) + token to install humctl #161

Merged
merged 10 commits into from
Dec 12, 2024

Conversation

mathieu-benoit
Copy link
Owner

No description provided.

Copy link

Deployment successfully completed for PR-161! 🎉

View in Humanitec

Deployment ID: 180fc5e20836dd38

URLs:

my-sample-workload: botsfordlubowitzdeckow.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:f4779e8334ba5e68c281f53f0e615510b197c2ebaa2905eab8f468b664d85c16"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-container/variables/MESSAGE",
          "value": "Hello, Test!"
        },
        {
          "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": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/mathieu-benoit/sail-sharp/blob/mathieu-benoit-patch-1/score/score.yaml"
        },
        {
          "from": "",
          "op": "add",
          "path": "/externals/my-redis",
          "value": {
            "class": "default",
            "type": "redis"
          }
        }
      ]
    }
  },
  "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	180fc5e20836dd38           	1m17.733113092s                        
base-env           	default	base-env                                     	current deploy	180fc5e20836dd38           	1m17.733116359s                        
k8s-cluster        	default	k8s-cluster                                  	current deploy	180fc5e20836dd38           	1m17.733118082s                        
k8s-namespace      	default	k8s-namespace                                	current deploy	180fc5e20836dd38           	1m17.733119705s                        
logging            	default	logging                                      	current deploy	180fc5e20836dd38           	1m17.733120656s                        
k8s-service-account	default	modules.my-sample-workload                   	current deploy	180fc5e20836dd38           	1m17.733121458s                        
workload           	default	modules.my-sample-workload                   	current deploy	180fc5e20836dd38           	1m17.73312225s                         
dns                	default	modules.my-sample-workload.externals.dns     	current deploy	180fc5e20836dd38           	1m17.733123141s                        
ingress            	default	modules.my-sample-workload.externals.dns     	current deploy	180fc5e20836dd38           	1m17.733124063s                        
tls-cert           	default	modules.my-sample-workload.externals.dns     	current deploy	180fc5e20836dd38           	1m17.733124844s                        
redis              	default	modules.my-sample-workload.externals.my-redis	current deploy	180fc5e20836dd38           	1m17.733125616s                        
route              	default	modules.my-sample-workload.externals.route   	current deploy	180fc5e20836dd38           	1m17.733126487s                        
config             	default	tf-runner                                    	current deploy	180fc5e20836dd38           	1m17.733127269s                        

Active Resources diff

Active Resources diff:

21,30d20
<   "config",
<   "dns-wildcard",
<   "default",
<   "humanitec/template",
<   "test-wilcard-dns-config",
<   {
<     "domain": "my-domain-for-dev"
<   }
< ]
< [
52c42
<     "namespace": "my-sample-app-development"
---
>     "namespace": "my-sample-app-pr-161"
92c82
<     "host": "murazikgreenholtgreenholt.mabenoit.newapp.io"
---
>     "host": "botsfordlubowitzdeckow.mabenoit.newapp.io"
102c92
<     "id": "7bdb1397b2374c3d8fc251b8bc3c0e221de2a2cc-ingress",
---
>     "id": "9b262eee88b3c78dd6391de956e1cd3eda251dea-ingress",
113c103
<     "tls_secret_name": "8da26d868e5349f401c0df7095ef3e01f84a53e1-tls"
---
>     "tls_secret_name": "65b8c7165024d226107b9a3ba550fd3911965b99-tls"
117,118c107,108
<   "horizontal-pod-autoscaler",
<   "modules.my-sample-workload.externals.hpa",
---
>   "redis",
>   "modules.my-sample-workload.externals.my-redis",
121,130c111,115
<   "hpa-template",
<   {}
< ]
< [
<   "horizontal-pod-autoscaler",
<   "modules.my-sample-workload.externals.hpa-driver",
<   "hpa-driver",
<   "humanitec/hpa",
<   "hpa",
<   {}
---
>   "redis-in-cluster",
>   {
>     "host": "redis",
>     "port": "6379"
>   }
139c124
<     "host": "murazikgreenholtgreenholt.mabenoit.newapp.io",
---
>     "host": "botsfordlubowitzdeckow.mabenoit.newapp.io",
Resources Graph

Resources Graph:

Use a Graphviz viewer for a visual representation.


strict digraph {

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

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

";

	labelloc="t";

	overlap="false";

	splines="true";


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

	"4953043d0c9cffe528f64dcad92512f2f551da1c" -> "58e69c1217c5e6b69ae4f68af3bc3c917d3c690c" [  weight=0 ];

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

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

	"791516ac633cf4b468ab07048b61dcd7c8b846f8" -> "4953043d0c9cffe528f64dcad92512f2f551da1c" [  weight=0 ];

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

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

	"9b262eee88b3c78dd6391de956e1cd3eda251dea" -> "65b8c7165024d226107b9a3ba550fd3911965b99" [  weight=0 ];

	"9b262eee88b3c78dd6391de956e1cd3eda251dea" -> "f63c78136bb31de268f7323eb0a378867cc6bd0b" [  weight=0 ];

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

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

	"fd97514fd0b2817ac564ce67e49926cc098f2734" -> "f63c78136bb31de268f7323eb0a378867cc6bd0b" [  weight=0 ];

	"fd97514fd0b2817ac564ce67e49926cc098f2734" -> "2f31fab7da595120a0b3dc696b930331d62d301d" [  weight=0 ];

	"fd97514fd0b2817ac564ce67e49926cc098f2734" -> "d3a8ae9017434ec43ab1a799f215c7aaaa667200" [  weight=0 ];

	"fd97514fd0b2817ac564ce67e49926cc098f2734" -> "ea205e3bb3f4df9d51bc358bb6748a51d8b471a7" [  weight=0 ];

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

	"base" -> "791516ac633cf4b468ab07048b61dcd7c8b846f8" [  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" -> "fd97514fd0b2817ac564ce67e49926cc098f2734" [  weight=0 ];

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

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

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

}


Copy link

Deployment successfully completed for PR-161! 🎉

View in Humanitec

Deployment ID: 18107cb0568e5fe4

URLs:

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

Deployment diff

Deployment diff:

{
  "modules": {
    "add": null,
    "remove": [],
    "update": {
      "my-sample-workload": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-container/variables/MESSAGE",
          "value": "Hello, Test!"
        },
        {
          "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:447640853cf58a8a7f983716e9d0231f7061eed11042dcde55eb8e786bbbda83"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/mathieu-benoit/sail-sharp/blob/mathieu-benoit-patch-1/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	18107cb0568e5fe4           	57.362847377s                          
base-env           	default	base-env                                     	current deploy	18107cb0568e5fe4           	57.3628492s                            
k8s-cluster        	default	k8s-cluster                                  	current deploy	18107cb0568e5fe4           	57.362850563s                          
k8s-namespace      	default	k8s-namespace                                	current deploy	18107cb0568e5fe4           	57.362851725s                          
logging            	default	logging                                      	current deploy	18107cb0568e5fe4           	57.362852857s                          
k8s-service-account	default	modules.my-sample-workload                   	current deploy	18107cb0568e5fe4           	57.362853869s                          
workload           	default	modules.my-sample-workload                   	current deploy	18107cb0568e5fe4           	57.36285488s                           
dns                	default	modules.my-sample-workload.externals.dns     	current deploy	18107cb0568e5fe4           	57.362855942s                          
ingress            	default	modules.my-sample-workload.externals.dns     	current deploy	18107cb0568e5fe4           	57.362857165s                          
tls-cert           	default	modules.my-sample-workload.externals.dns     	current deploy	18107cb0568e5fe4           	57.362858197s                          
redis              	default	modules.my-sample-workload.externals.my-redis	1 deploy ago  	180fc5e20836dd38           	55h50m54.556736199s                    
route              	default	modules.my-sample-workload.externals.route   	current deploy	18107cb0568e5fe4           	57.362860291s                          
config             	default	tf-runner                                    	current deploy	18107cb0568e5fe4           	57.362861303s                          

Active Resources diff

Active Resources diff:

23,33d22
<   "config",
<   "dns-wildcard",
<   "default",
<   "humanitec/template",
<   "test-wilcard-dns-config",
<   "69cce43c-3f9d-4b32-950e-1862e9638272",
<   {
<     "domain": "my-domain-for-dev"
<   }
< ]
< [
57c46
<     "namespace": "my-sample-app-development"
---
>     "namespace": "my-sample-app-pr-161"
88c77
<   "910e1a2c-00fa-476b-bbbe-477fbda49528",
---
>   "86dedf3b-bd6d-4815-943c-1f5c96a3f2c3",
90c79
<     "update": "[{\"op\":\"add\",\"path\":\"/spec/service/labels\",\"value\":{\"route\":8080}},{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/envFrom\",\"value\":[{\"name\":\"intercom-secret\",\"secretRef\":null}]},{\"op\":\"add\",\"path\":\"/spec/serviceAccountName\",\"value\":\"my-sample-workload\"},{\"op\":\"add\",\"path\":\"/spec/automountServiceAccountToken\",\"value\":false},{\"op\":\"add\",\"path\":\"/spec/securityContext\",\"value\":{\"fsGroup\":1000,\"runAsGroup\":1000,\"runAsNonRoot\":true,\"runAsUser\":1000,\"seccompProfile\":{\"type\":\"RuntimeDefault\"}}},{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/securityContext\",\"value\":{\"allowPrivilegeEscalation\":false,\"capabilities\":{\"drop\":[\"ALL\"]},\"privileged\":false,\"readOnlyRootFilesystem\":true}}]"
---
>     "update": "[{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/envFrom\",\"value\":[{\"name\":\"intercom-secret\",\"secretRef\":null}]},{\"op\":\"add\",\"path\":\"/spec/serviceAccountName\",\"value\":\"my-sample-workload\"},{\"op\":\"add\",\"path\":\"/spec/automountServiceAccountToken\",\"value\":false},{\"op\":\"add\",\"path\":\"/spec/securityContext\",\"value\":{\"fsGroup\":1000,\"runAsGroup\":1000,\"runAsNonRoot\":true,\"runAsUser\":1000,\"seccompProfile\":{\"type\":\"RuntimeDefault\"}}},{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/securityContext\",\"value\":{\"allowPrivilegeEscalation\":false,\"capabilities\":{\"drop\":[\"ALL\"]},\"privileged\":false,\"readOnlyRootFilesystem\":true}}]"
101c90
<     "host": "murazikgreenholtgreenholt.mabenoit.newapp.io"
---
>     "host": "botsfordlubowitzdeckow.mabenoit.newapp.io"
112c101
<     "id": "7bdb1397b2374c3d8fc251b8bc3c0e221de2a2cc-ingress",
---
>     "id": "9b262eee88b3c78dd6391de956e1cd3eda251dea-ingress",
124c113
<     "tls_secret_name": "8da26d868e5349f401c0df7095ef3e01f84a53e1-tls"
---
>     "tls_secret_name": "65b8c7165024d226107b9a3ba550fd3911965b99-tls"
128,129c117,118
<   "horizontal-pod-autoscaler",
<   "modules.my-sample-workload.externals.hpa",
---
>   "redis",
>   "modules.my-sample-workload.externals.my-redis",
132,143c121,126
<   "hpa-template",
<   "34d449a1-c34d-41c5-881a-5d8c950a7573",
<   {}
< ]
< [
<   "horizontal-pod-autoscaler",
<   "modules.my-sample-workload.externals.hpa-driver",
<   "hpa-driver",
<   "humanitec/hpa",
<   "hpa",
<   "4950d15d-7585-469d-b706-6975d246cdc8",
<   {}
---
>   "redis-in-cluster",
>   "1c3cd00c-0024-4419-a5cf-37c9af005af4",
>   {
>     "host": "redis",
>     "port": "6379"
>   }
153c136
<     "host": "murazikgreenholtgreenholt.mabenoit.newapp.io",
---
>     "host": "botsfordlubowitzdeckow.mabenoit.newapp.io",
Resources Graph

Resources Graph:

Use a Graphviz viewer for a visual representation.


strict digraph {

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

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

";

	labelloc="t";

	overlap="false";

	splines="true";


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

	"4953043d0c9cffe528f64dcad92512f2f551da1c" -> "58e69c1217c5e6b69ae4f68af3bc3c917d3c690c" [  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" -> "fd97514fd0b2817ac564ce67e49926cc098f2734" [  weight=0 ];

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

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

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

	"base" -> "791516ac633cf4b468ab07048b61dcd7c8b846f8" [  weight=0 ];

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

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

	"fd97514fd0b2817ac564ce67e49926cc098f2734" -> "2f31fab7da595120a0b3dc696b930331d62d301d" [  weight=0 ];

	"fd97514fd0b2817ac564ce67e49926cc098f2734" -> "d3a8ae9017434ec43ab1a799f215c7aaaa667200" [  weight=0 ];

	"fd97514fd0b2817ac564ce67e49926cc098f2734" -> "f63c78136bb31de268f7323eb0a378867cc6bd0b" [  weight=0 ];

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

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

	"9b262eee88b3c78dd6391de956e1cd3eda251dea" -> "65b8c7165024d226107b9a3ba550fd3911965b99" [  weight=0 ];

	"9b262eee88b3c78dd6391de956e1cd3eda251dea" -> "f63c78136bb31de268f7323eb0a378867cc6bd0b" [  weight=0 ];

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

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

	"791516ac633cf4b468ab07048b61dcd7c8b846f8" -> "4953043d0c9cffe528f64dcad92512f2f551da1c" [  weight=0 ];

}


Copy link

github-actions bot commented Dec 12, 2024

Deployment successfully completed for PR-161! 🎉

➡️ Open Resource Graph

🔍 View Deployment in Humanitec

Deployment ID: 18107f643150a081

🔗botsfordlubowitzdeckow.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:f74a55b59f20a534af6de99889857c979ac718141e3ea5026b5c0444bf78d5c7"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-container/variables/MESSAGE",
          "value": "Hello, Test!"
        },
        {
          "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": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/mathieu-benoit/sail-sharp/blob/mathieu-benoit-patch-1/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	18107f643150a081           	53.862397148s                          
base-env           	default	base-env                                     	current deploy	18107f643150a081           	53.862399251s                          
k8s-cluster        	default	k8s-cluster                                  	current deploy	18107f643150a081           	53.862400644s                          
k8s-namespace      	default	k8s-namespace                                	current deploy	18107f643150a081           	53.862401726s                          
logging            	default	logging                                      	current deploy	18107f643150a081           	53.862403028s                          
k8s-service-account	default	modules.my-sample-workload                   	current deploy	18107f643150a081           	53.86240401s                           
workload           	default	modules.my-sample-workload                   	current deploy	18107f643150a081           	53.862405052s                          
dns                	default	modules.my-sample-workload.externals.dns     	current deploy	18107f643150a081           	53.862406044s                          
ingress            	default	modules.my-sample-workload.externals.dns     	current deploy	18107f643150a081           	53.862407307s                          
tls-cert           	default	modules.my-sample-workload.externals.dns     	current deploy	18107f643150a081           	53.862408398s                          
redis              	default	modules.my-sample-workload.externals.my-redis	2 deploys ago 	180fc5e20836dd38           	56h40m22.54885142s                     
route              	default	modules.my-sample-workload.externals.route   	current deploy	18107f643150a081           	53.862410533s                          
config             	default	tf-runner                                    	current deploy	18107f643150a081           	53.862411574s                          

Active Resources diff

Active Resources diff:

23,33d22
<   "config",
<   "dns-wildcard",
<   "default",
<   "humanitec/template",
<   "test-wilcard-dns-config",
<   "69cce43c-3f9d-4b32-950e-1862e9638272",
<   {
<     "domain": "my-domain-for-dev"
<   }
< ]
< [
57c46
<     "namespace": "my-sample-app-development"
---
>     "namespace": "my-sample-app-pr-161"
88c77
<   "910e1a2c-00fa-476b-bbbe-477fbda49528",
---
>   "86dedf3b-bd6d-4815-943c-1f5c96a3f2c3",
90c79
<     "update": "[{\"op\":\"add\",\"path\":\"/spec/service/labels\",\"value\":{\"route\":8080}},{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/envFrom\",\"value\":[{\"name\":\"intercom-secret\",\"secretRef\":null}]},{\"op\":\"add\",\"path\":\"/spec/serviceAccountName\",\"value\":\"my-sample-workload\"},{\"op\":\"add\",\"path\":\"/spec/automountServiceAccountToken\",\"value\":false},{\"op\":\"add\",\"path\":\"/spec/securityContext\",\"value\":{\"fsGroup\":1000,\"runAsGroup\":1000,\"runAsNonRoot\":true,\"runAsUser\":1000,\"seccompProfile\":{\"type\":\"RuntimeDefault\"}}},{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/securityContext\",\"value\":{\"allowPrivilegeEscalation\":false,\"capabilities\":{\"drop\":[\"ALL\"]},\"privileged\":false,\"readOnlyRootFilesystem\":true}}]"
---
>     "update": "[{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/envFrom\",\"value\":[{\"name\":\"intercom-secret\",\"secretRef\":null}]},{\"op\":\"add\",\"path\":\"/spec/serviceAccountName\",\"value\":\"my-sample-workload\"},{\"op\":\"add\",\"path\":\"/spec/automountServiceAccountToken\",\"value\":false},{\"op\":\"add\",\"path\":\"/spec/securityContext\",\"value\":{\"fsGroup\":1000,\"runAsGroup\":1000,\"runAsNonRoot\":true,\"runAsUser\":1000,\"seccompProfile\":{\"type\":\"RuntimeDefault\"}}},{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/securityContext\",\"value\":{\"allowPrivilegeEscalation\":false,\"capabilities\":{\"drop\":[\"ALL\"]},\"privileged\":false,\"readOnlyRootFilesystem\":true}}]"
101c90
<     "host": "murazikgreenholtgreenholt.mabenoit.newapp.io"
---
>     "host": "botsfordlubowitzdeckow.mabenoit.newapp.io"
112c101
<     "id": "7bdb1397b2374c3d8fc251b8bc3c0e221de2a2cc-ingress",
---
>     "id": "9b262eee88b3c78dd6391de956e1cd3eda251dea-ingress",
124c113
<     "tls_secret_name": "8da26d868e5349f401c0df7095ef3e01f84a53e1-tls"
---
>     "tls_secret_name": "65b8c7165024d226107b9a3ba550fd3911965b99-tls"
128,129c117,118
<   "horizontal-pod-autoscaler",
<   "modules.my-sample-workload.externals.hpa",
---
>   "redis",
>   "modules.my-sample-workload.externals.my-redis",
132,143c121,126
<   "hpa-template",
<   "34d449a1-c34d-41c5-881a-5d8c950a7573",
<   {}
< ]
< [
<   "horizontal-pod-autoscaler",
<   "modules.my-sample-workload.externals.hpa-driver",
<   "hpa-driver",
<   "humanitec/hpa",
<   "hpa",
<   "4950d15d-7585-469d-b706-6975d246cdc8",
<   {}
---
>   "redis-in-cluster",
>   "1c3cd00c-0024-4419-a5cf-37c9af005af4",
>   {
>     "host": "redis",
>     "port": "6379"
>   }
153c136
<     "host": "murazikgreenholtgreenholt.mabenoit.newapp.io",
---
>     "host": "botsfordlubowitzdeckow.mabenoit.newapp.io",

Copy link

Deployment successfully completed for PR-161! 🎉

➡️ Open Resource Graph

🔍 View Deployment in Humanitec

🔗 my-sample-workload: botsfordlubowitzdeckow.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:9e17c2edd4073c0cb84dd934e3174d8db74b0416018933a174b069cce884dfa6"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-container/variables/MESSAGE",
          "value": "Hello, Test!"
        },
        {
          "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": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/mathieu-benoit/sail-sharp/blob/mathieu-benoit-patch-1/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	1810809256611fad           	57.802260514s                          
base-env           	default	base-env                                     	current deploy	1810809256611fad           	57.802262738s                          
k8s-cluster        	default	k8s-cluster                                  	current deploy	1810809256611fad           	57.80226392s                           
k8s-namespace      	default	k8s-namespace                                	current deploy	1810809256611fad           	57.802264952s                          
logging            	default	logging                                      	current deploy	1810809256611fad           	57.802265934s                          
k8s-service-account	default	modules.my-sample-workload                   	current deploy	1810809256611fad           	57.802266786s                          
workload           	default	modules.my-sample-workload                   	current deploy	1810809256611fad           	57.802267647s                          
dns                	default	modules.my-sample-workload.externals.dns     	current deploy	1810809256611fad           	57.802268479s                          
ingress            	default	modules.my-sample-workload.externals.dns     	current deploy	1810809256611fad           	57.802269511s                          
tls-cert           	default	modules.my-sample-workload.externals.dns     	current deploy	1810809256611fad           	57.802270353s                          
redis              	default	modules.my-sample-workload.externals.my-redis	3 deploys ago 	180fc5e20836dd38           	57h2m4.190674184s                      
route              	default	modules.my-sample-workload.externals.route   	current deploy	1810809256611fad           	57.802272216s                          
config             	default	tf-runner                                    	current deploy	1810809256611fad           	57.802273067s                          

Active Resources diff

Active Resources diff:

23,33d22
<   "config",
<   "dns-wildcard",
<   "default",
<   "humanitec/template",
<   "test-wilcard-dns-config",
<   "69cce43c-3f9d-4b32-950e-1862e9638272",
<   {
<     "domain": "my-domain-for-dev"
<   }
< ]
< [
57c46
<     "namespace": "my-sample-app-development"
---
>     "namespace": "my-sample-app-pr-161"
88c77
<   "910e1a2c-00fa-476b-bbbe-477fbda49528",
---
>   "86dedf3b-bd6d-4815-943c-1f5c96a3f2c3",
90c79
<     "update": "[{\"op\":\"add\",\"path\":\"/spec/service/labels\",\"value\":{\"route\":8080}},{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/envFrom\",\"value\":[{\"name\":\"intercom-secret\",\"secretRef\":null}]},{\"op\":\"add\",\"path\":\"/spec/serviceAccountName\",\"value\":\"my-sample-workload\"},{\"op\":\"add\",\"path\":\"/spec/automountServiceAccountToken\",\"value\":false},{\"op\":\"add\",\"path\":\"/spec/securityContext\",\"value\":{\"fsGroup\":1000,\"runAsGroup\":1000,\"runAsNonRoot\":true,\"runAsUser\":1000,\"seccompProfile\":{\"type\":\"RuntimeDefault\"}}},{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/securityContext\",\"value\":{\"allowPrivilegeEscalation\":false,\"capabilities\":{\"drop\":[\"ALL\"]},\"privileged\":false,\"readOnlyRootFilesystem\":true}}]"
---
>     "update": "[{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/envFrom\",\"value\":[{\"name\":\"intercom-secret\",\"secretRef\":null}]},{\"op\":\"add\",\"path\":\"/spec/serviceAccountName\",\"value\":\"my-sample-workload\"},{\"op\":\"add\",\"path\":\"/spec/automountServiceAccountToken\",\"value\":false},{\"op\":\"add\",\"path\":\"/spec/securityContext\",\"value\":{\"fsGroup\":1000,\"runAsGroup\":1000,\"runAsNonRoot\":true,\"runAsUser\":1000,\"seccompProfile\":{\"type\":\"RuntimeDefault\"}}},{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/securityContext\",\"value\":{\"allowPrivilegeEscalation\":false,\"capabilities\":{\"drop\":[\"ALL\"]},\"privileged\":false,\"readOnlyRootFilesystem\":true}}]"
101c90
<     "host": "murazikgreenholtgreenholt.mabenoit.newapp.io"
---
>     "host": "botsfordlubowitzdeckow.mabenoit.newapp.io"
112c101
<     "id": "7bdb1397b2374c3d8fc251b8bc3c0e221de2a2cc-ingress",
---
>     "id": "9b262eee88b3c78dd6391de956e1cd3eda251dea-ingress",
124c113
<     "tls_secret_name": "8da26d868e5349f401c0df7095ef3e01f84a53e1-tls"
---
>     "tls_secret_name": "65b8c7165024d226107b9a3ba550fd3911965b99-tls"
128,129c117,118
<   "horizontal-pod-autoscaler",
<   "modules.my-sample-workload.externals.hpa",
---
>   "redis",
>   "modules.my-sample-workload.externals.my-redis",
132,143c121,126
<   "hpa-template",
<   "34d449a1-c34d-41c5-881a-5d8c950a7573",
<   {}
< ]
< [
<   "horizontal-pod-autoscaler",
<   "modules.my-sample-workload.externals.hpa-driver",
<   "hpa-driver",
<   "humanitec/hpa",
<   "hpa",
<   "4950d15d-7585-469d-b706-6975d246cdc8",
<   {}
---
>   "redis-in-cluster",
>   "1c3cd00c-0024-4419-a5cf-37c9af005af4",
>   {
>     "host": "redis",
>     "port": "6379"
>   }
153c136
<     "host": "murazikgreenholtgreenholt.mabenoit.newapp.io",
---
>     "host": "botsfordlubowitzdeckow.mabenoit.newapp.io",

Copy link

Deployment successfully completed for PR-161! 🎉

➡️ Open Resource Graph

🔍 View Deployment in Humanitec

🔗 my-sample-workload: botsfordlubowitzdeckow.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:4fc2defb2d6d25cb8ad523ec977b56edc39b45f5a43ef2069a5b14a50cbf31f2"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-container/variables/MESSAGE",
          "value": "Hello, Test!"
        },
        {
          "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": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/mathieu-benoit/sail-sharp/blob/mathieu-benoit-patch-1/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	181080eadee45d90           	53.486396818s                          
base-env           	default	base-env                                     	current deploy	181080eadee45d90           	53.486398902s                          
k8s-cluster        	default	k8s-cluster                                  	current deploy	181080eadee45d90           	53.486399964s                          
k8s-namespace      	default	k8s-namespace                                	current deploy	181080eadee45d90           	53.486400775s                          
logging            	default	logging                                      	current deploy	181080eadee45d90           	53.486402018s                          
k8s-service-account	default	modules.my-sample-workload                   	current deploy	181080eadee45d90           	53.486402759s                          
workload           	default	modules.my-sample-workload                   	current deploy	181080eadee45d90           	53.48640347s                           
dns                	default	modules.my-sample-workload.externals.dns     	current deploy	181080eadee45d90           	53.486404242s                          
ingress            	default	modules.my-sample-workload.externals.dns     	current deploy	181080eadee45d90           	53.486405063s                          
tls-cert           	default	modules.my-sample-workload.externals.dns     	current deploy	181080eadee45d90           	53.486405845s                          
redis              	default	modules.my-sample-workload.externals.my-redis	4 deploys ago 	180fc5e20836dd38           	57h8m20.122234566s                     
route              	default	modules.my-sample-workload.externals.route   	current deploy	181080eadee45d90           	53.486407458s                          
config             	default	tf-runner                                    	current deploy	181080eadee45d90           	53.486408209s                          

Active Resources diff

Active Resources diff:

23,33d22
<   "config",
<   "dns-wildcard",
<   "default",
<   "humanitec/template",
<   "test-wilcard-dns-config",
<   "69cce43c-3f9d-4b32-950e-1862e9638272",
<   {
<     "domain": "my-domain-for-dev"
<   }
< ]
< [
57c46
<     "namespace": "my-sample-app-development"
---
>     "namespace": "my-sample-app-pr-161"
88c77
<   "910e1a2c-00fa-476b-bbbe-477fbda49528",
---
>   "86dedf3b-bd6d-4815-943c-1f5c96a3f2c3",
90c79
<     "update": "[{\"op\":\"add\",\"path\":\"/spec/service/labels\",\"value\":{\"route\":8080}},{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/envFrom\",\"value\":[{\"name\":\"intercom-secret\",\"secretRef\":null}]},{\"op\":\"add\",\"path\":\"/spec/serviceAccountName\",\"value\":\"my-sample-workload\"},{\"op\":\"add\",\"path\":\"/spec/automountServiceAccountToken\",\"value\":false},{\"op\":\"add\",\"path\":\"/spec/securityContext\",\"value\":{\"fsGroup\":1000,\"runAsGroup\":1000,\"runAsNonRoot\":true,\"runAsUser\":1000,\"seccompProfile\":{\"type\":\"RuntimeDefault\"}}},{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/securityContext\",\"value\":{\"allowPrivilegeEscalation\":false,\"capabilities\":{\"drop\":[\"ALL\"]},\"privileged\":false,\"readOnlyRootFilesystem\":true}}]"
---
>     "update": "[{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/envFrom\",\"value\":[{\"name\":\"intercom-secret\",\"secretRef\":null}]},{\"op\":\"add\",\"path\":\"/spec/serviceAccountName\",\"value\":\"my-sample-workload\"},{\"op\":\"add\",\"path\":\"/spec/automountServiceAccountToken\",\"value\":false},{\"op\":\"add\",\"path\":\"/spec/securityContext\",\"value\":{\"fsGroup\":1000,\"runAsGroup\":1000,\"runAsNonRoot\":true,\"runAsUser\":1000,\"seccompProfile\":{\"type\":\"RuntimeDefault\"}}},{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/securityContext\",\"value\":{\"allowPrivilegeEscalation\":false,\"capabilities\":{\"drop\":[\"ALL\"]},\"privileged\":false,\"readOnlyRootFilesystem\":true}}]"
101c90
<     "host": "murazikgreenholtgreenholt.mabenoit.newapp.io"
---
>     "host": "botsfordlubowitzdeckow.mabenoit.newapp.io"
112c101
<     "id": "7bdb1397b2374c3d8fc251b8bc3c0e221de2a2cc-ingress",
---
>     "id": "9b262eee88b3c78dd6391de956e1cd3eda251dea-ingress",
124c113
<     "tls_secret_name": "8da26d868e5349f401c0df7095ef3e01f84a53e1-tls"
---
>     "tls_secret_name": "65b8c7165024d226107b9a3ba550fd3911965b99-tls"
128,129c117,118
<   "horizontal-pod-autoscaler",
<   "modules.my-sample-workload.externals.hpa",
---
>   "redis",
>   "modules.my-sample-workload.externals.my-redis",
132,143c121,126
<   "hpa-template",
<   "34d449a1-c34d-41c5-881a-5d8c950a7573",
<   {}
< ]
< [
<   "horizontal-pod-autoscaler",
<   "modules.my-sample-workload.externals.hpa-driver",
<   "hpa-driver",
<   "humanitec/hpa",
<   "hpa",
<   "4950d15d-7585-469d-b706-6975d246cdc8",
<   {}
---
>   "redis-in-cluster",
>   "1c3cd00c-0024-4419-a5cf-37c9af005af4",
>   {
>     "host": "redis",
>     "port": "6379"
>   }
153c136
<     "host": "murazikgreenholtgreenholt.mabenoit.newapp.io",
---
>     "host": "botsfordlubowitzdeckow.mabenoit.newapp.io",

Copy link

Deployment failed for PR-161! ❌

Runtime errors:

          {
            "name": "my-sample-container",
            "ready": false,
            "restartCount": 0,
            "state": {
              "waiting": {
                "message": "Back-off pulling image \"us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-workload@sha256:cea22ecdf3542b42e608203bcfc4f70cff7b2295008f28693da5b6483b2259b4\"",
                "reason": "ImagePullBackOff"
              }
            },
            "status": "Failure"
          }

➡️ Open Resource Graph

🔍 View Deployment in Humanitec

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

Deployment diff

Deployment diff:

{
  "modules": {
    "add": null,
    "remove": [],
    "update": {
      "my-sample-workload": [
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-container/variables/MESSAGE",
          "value": "Hello, World!"
        },
        {
          "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:2841c16631ac18e35c748cf945e6372646c13c58b679793ee1d740551559423e"
        },
        {
          "from": "",
          "op": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/mathieu-benoit/sail-sharp/blob/mathieu-benoit-patch-1/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	181082270552239b           	14.501608235s                          
base-env           	default	base-env                                     	1 deploy ago  	18108203651a8d33           	2m47.513463108s                        
k8s-cluster        	default	k8s-cluster                                  	current deploy	181082270552239b           	14.50161142s                           
k8s-namespace      	default	k8s-namespace                                	current deploy	181082270552239b           	14.501612723s                          
logging            	default	logging                                      	current deploy	181082270552239b           	14.501613795s                          
k8s-service-account	default	modules.my-sample-workload                   	current deploy	181082270552239b           	14.501614537s                          
workload           	default	modules.my-sample-workload                   	1 deploy ago  	18108203651a8d33           	2m47.513468218s                        
dns                	default	modules.my-sample-workload.externals.dns     	current deploy	181082270552239b           	14.501615909s                          
ingress            	default	modules.my-sample-workload.externals.dns     	1 deploy ago  	18108203651a8d33           	2m47.51346961s                         
tls-cert           	default	modules.my-sample-workload.externals.dns     	current deploy	181082270552239b           	14.501617272s                          
redis              	default	modules.my-sample-workload.externals.my-redis	6 deploys ago 	180fc5e20836dd38           	57h30m18.991839943s                    
route              	default	modules.my-sample-workload.externals.route   	1 deploy ago  	18108203651a8d33           	2m47.513471684s                        
config             	default	tf-runner                                    	current deploy	181082270552239b           	14.501619366s                          

Active Resources diff

Active Resources diff:

23,33d22
<   "config",
<   "dns-wildcard",
<   "default",
<   "humanitec/template",
<   "test-wilcard-dns-config",
<   "69cce43c-3f9d-4b32-950e-1862e9638272",
<   {
<     "domain": "my-domain-for-dev"
<   }
< ]
< [
57c46
<     "namespace": "my-sample-app-development"
---
>     "namespace": "my-sample-app-pr-161"
88c77
<   "910e1a2c-00fa-476b-bbbe-477fbda49528",
---
>   "86dedf3b-bd6d-4815-943c-1f5c96a3f2c3",
90c79
<     "update": "[{\"op\":\"add\",\"path\":\"/spec/service/labels\",\"value\":{\"route\":8080}},{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/envFrom\",\"value\":[{\"name\":\"intercom-secret\",\"secretRef\":null}]},{\"op\":\"add\",\"path\":\"/spec/serviceAccountName\",\"value\":\"my-sample-workload\"},{\"op\":\"add\",\"path\":\"/spec/automountServiceAccountToken\",\"value\":false},{\"op\":\"add\",\"path\":\"/spec/securityContext\",\"value\":{\"fsGroup\":1000,\"runAsGroup\":1000,\"runAsNonRoot\":true,\"runAsUser\":1000,\"seccompProfile\":{\"type\":\"RuntimeDefault\"}}},{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/securityContext\",\"value\":{\"allowPrivilegeEscalation\":false,\"capabilities\":{\"drop\":[\"ALL\"]},\"privileged\":false,\"readOnlyRootFilesystem\":true}}]"
---
>     "update": "[{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/envFrom\",\"value\":[{\"name\":\"intercom-secret\",\"secretRef\":null}]},{\"op\":\"add\",\"path\":\"/spec/serviceAccountName\",\"value\":\"my-sample-workload\"},{\"op\":\"add\",\"path\":\"/spec/automountServiceAccountToken\",\"value\":false},{\"op\":\"add\",\"path\":\"/spec/securityContext\",\"value\":{\"fsGroup\":1000,\"runAsGroup\":1000,\"runAsNonRoot\":true,\"runAsUser\":1000,\"seccompProfile\":{\"type\":\"RuntimeDefault\"}}},{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/securityContext\",\"value\":{\"allowPrivilegeEscalation\":false,\"capabilities\":{\"drop\":[\"ALL\"]},\"privileged\":false,\"readOnlyRootFilesystem\":true}}]"
101c90
<     "host": "murazikgreenholtgreenholt.mabenoit.newapp.io"
---
>     "host": "botsfordlubowitzdeckow.mabenoit.newapp.io"
112c101
<     "id": "7bdb1397b2374c3d8fc251b8bc3c0e221de2a2cc-ingress",
---
>     "id": "9b262eee88b3c78dd6391de956e1cd3eda251dea-ingress",
124c113
<     "tls_secret_name": "8da26d868e5349f401c0df7095ef3e01f84a53e1-tls"
---
>     "tls_secret_name": "65b8c7165024d226107b9a3ba550fd3911965b99-tls"
128,129c117,118
<   "horizontal-pod-autoscaler",
<   "modules.my-sample-workload.externals.hpa",
---
>   "redis",
>   "modules.my-sample-workload.externals.my-redis",
132,143c121,126
<   "hpa-template",
<   "34d449a1-c34d-41c5-881a-5d8c950a7573",
<   {}
< ]
< [
<   "horizontal-pod-autoscaler",
<   "modules.my-sample-workload.externals.hpa-driver",
<   "hpa-driver",
<   "humanitec/hpa",
<   "hpa",
<   "4950d15d-7585-469d-b706-6975d246cdc8",
<   {}
---
>   "redis-in-cluster",
>   "1c3cd00c-0024-4419-a5cf-37c9af005af4",
>   {
>     "host": "redis",
>     "port": "6379"
>   }
153c136
<     "host": "murazikgreenholtgreenholt.mabenoit.newapp.io",
---
>     "host": "botsfordlubowitzdeckow.mabenoit.newapp.io",

Copy link

Deployment successfully completed for PR-161! 🎉

➡️ Open Resource Graph

🔍 View Deployment in Humanitec

🔗 my-sample-workload: botsfordlubowitzdeckow.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:2841c16631ac18e35c748cf945e6372646c13c58b679793ee1d740551559423e"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-container/variables/MESSAGE",
          "value": "Hello, Test!"
        },
        {
          "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": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/mathieu-benoit/sail-sharp/blob/mathieu-benoit-patch-1/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	18108232af7c26b6           	13.739070581s                          
base-env           	default	base-env                                     	1 deploy ago  	181082270552239b           	1m3.838592475s                         
k8s-cluster        	default	k8s-cluster                                  	current deploy	18108232af7c26b6           	13.739073677s                          
k8s-namespace      	default	k8s-namespace                                	current deploy	18108232af7c26b6           	13.739074639s                          
logging            	default	logging                                      	current deploy	18108232af7c26b6           	13.739075651s                          
k8s-service-account	default	modules.my-sample-workload                   	current deploy	18108232af7c26b6           	13.739076563s                          
workload           	default	modules.my-sample-workload                   	1 deploy ago  	181082270552239b           	1m3.838597584s                         
dns                	default	modules.my-sample-workload.externals.dns     	current deploy	18108232af7c26b6           	13.739078486s                          
ingress            	default	modules.my-sample-workload.externals.dns     	1 deploy ago  	181082270552239b           	1m3.838599548s                         
tls-cert           	default	modules.my-sample-workload.externals.dns     	current deploy	18108232af7c26b6           	13.73908046s                           
redis              	default	modules.my-sample-workload.externals.my-redis	7 deploys ago 	180fc5e20836dd38           	57h31m8.328823421s                     
route              	default	modules.my-sample-workload.externals.route   	1 deploy ago  	181082270552239b           	1m3.838602403s                         
config             	default	tf-runner                                    	current deploy	18108232af7c26b6           	13.739083335s                          

Active Resources diff

Active Resources diff:

23,33d22
<   "config",
<   "dns-wildcard",
<   "default",
<   "humanitec/template",
<   "test-wilcard-dns-config",
<   "69cce43c-3f9d-4b32-950e-1862e9638272",
<   {
<     "domain": "my-domain-for-dev"
<   }
< ]
< [
57c46
<     "namespace": "my-sample-app-development"
---
>     "namespace": "my-sample-app-pr-161"
88c77
<   "910e1a2c-00fa-476b-bbbe-477fbda49528",
---
>   "86dedf3b-bd6d-4815-943c-1f5c96a3f2c3",
90c79
<     "update": "[{\"op\":\"add\",\"path\":\"/spec/service/labels\",\"value\":{\"route\":8080}},{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/envFrom\",\"value\":[{\"name\":\"intercom-secret\",\"secretRef\":null}]},{\"op\":\"add\",\"path\":\"/spec/serviceAccountName\",\"value\":\"my-sample-workload\"},{\"op\":\"add\",\"path\":\"/spec/automountServiceAccountToken\",\"value\":false},{\"op\":\"add\",\"path\":\"/spec/securityContext\",\"value\":{\"fsGroup\":1000,\"runAsGroup\":1000,\"runAsNonRoot\":true,\"runAsUser\":1000,\"seccompProfile\":{\"type\":\"RuntimeDefault\"}}},{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/securityContext\",\"value\":{\"allowPrivilegeEscalation\":false,\"capabilities\":{\"drop\":[\"ALL\"]},\"privileged\":false,\"readOnlyRootFilesystem\":true}}]"
---
>     "update": "[{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/envFrom\",\"value\":[{\"name\":\"intercom-secret\",\"secretRef\":null}]},{\"op\":\"add\",\"path\":\"/spec/serviceAccountName\",\"value\":\"my-sample-workload\"},{\"op\":\"add\",\"path\":\"/spec/automountServiceAccountToken\",\"value\":false},{\"op\":\"add\",\"path\":\"/spec/securityContext\",\"value\":{\"fsGroup\":1000,\"runAsGroup\":1000,\"runAsNonRoot\":true,\"runAsUser\":1000,\"seccompProfile\":{\"type\":\"RuntimeDefault\"}}},{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/securityContext\",\"value\":{\"allowPrivilegeEscalation\":false,\"capabilities\":{\"drop\":[\"ALL\"]},\"privileged\":false,\"readOnlyRootFilesystem\":true}}]"
101c90
<     "host": "murazikgreenholtgreenholt.mabenoit.newapp.io"
---
>     "host": "botsfordlubowitzdeckow.mabenoit.newapp.io"
112c101
<     "id": "7bdb1397b2374c3d8fc251b8bc3c0e221de2a2cc-ingress",
---
>     "id": "9b262eee88b3c78dd6391de956e1cd3eda251dea-ingress",
124c113
<     "tls_secret_name": "8da26d868e5349f401c0df7095ef3e01f84a53e1-tls"
---
>     "tls_secret_name": "65b8c7165024d226107b9a3ba550fd3911965b99-tls"
128,129c117,118
<   "horizontal-pod-autoscaler",
<   "modules.my-sample-workload.externals.hpa",
---
>   "redis",
>   "modules.my-sample-workload.externals.my-redis",
132,143c121,126
<   "hpa-template",
<   "34d449a1-c34d-41c5-881a-5d8c950a7573",
<   {}
< ]
< [
<   "horizontal-pod-autoscaler",
<   "modules.my-sample-workload.externals.hpa-driver",
<   "hpa-driver",
<   "humanitec/hpa",
<   "hpa",
<   "4950d15d-7585-469d-b706-6975d246cdc8",
<   {}
---
>   "redis-in-cluster",
>   "1c3cd00c-0024-4419-a5cf-37c9af005af4",
>   {
>     "host": "redis",
>     "port": "6379"
>   }
153c136
<     "host": "murazikgreenholtgreenholt.mabenoit.newapp.io",
---
>     "host": "botsfordlubowitzdeckow.mabenoit.newapp.io",

Copy link

Deployment successfully completed for PR-161! 🎉

➡️ Open Resource Graph

🔍 View Deployment in Humanitec

🔗 my-sample-workload: botsfordlubowitzdeckow.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:a3f3cf2608ce14bffab6ea0d7e8f1994d7aceeb8408d06b2e7ed2911e1ba6644"
        },
        {
          "from": "",
          "op": "replace",
          "path": "/spec/containers/my-sample-container/variables/MESSAGE",
          "value": "Hello, Test!"
        },
        {
          "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": "add",
          "path": "/spec/annotations/humanitec.io~1workload-source",
          "value": "https://github.com/mathieu-benoit/sail-sharp/blob/mathieu-benoit-patch-1/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	1810823b9cd1a2a5           	14.194723412s                          
base-env           	default	base-env                                     	1 deploy ago  	18108232af7c26b6           	52.536267157s                          
k8s-cluster        	default	k8s-cluster                                  	current deploy	1810823b9cd1a2a5           	14.19472756s                           
k8s-namespace      	default	k8s-namespace                                	current deploy	1810823b9cd1a2a5           	14.194728822s                          
logging            	default	logging                                      	current deploy	1810823b9cd1a2a5           	14.194730024s                          
k8s-service-account	default	modules.my-sample-workload                   	current deploy	1810823b9cd1a2a5           	14.194731336s                          
workload           	default	modules.my-sample-workload                   	1 deploy ago  	18108232af7c26b6           	52.536273559s                          
dns                	default	modules.my-sample-workload.externals.dns     	current deploy	1810823b9cd1a2a5           	14.194733791s                          
ingress            	default	modules.my-sample-workload.externals.dns     	1 deploy ago  	18108232af7c26b6           	52.536276123s                          
tls-cert           	default	modules.my-sample-workload.externals.dns     	current deploy	1810823b9cd1a2a5           	14.194736326s                          
redis              	default	modules.my-sample-workload.externals.my-redis	8 deploys ago 	180fc5e20836dd38           	57h31m47.126020468s                    
route              	default	modules.my-sample-workload.externals.route   	1 deploy ago  	18108232af7c26b6           	52.53627973s                           
config             	default	tf-runner                                    	current deploy	1810823b9cd1a2a5           	14.194740143s                          

Active Resources diff

Active Resources diff:

23,33d22
<   "config",
<   "dns-wildcard",
<   "default",
<   "humanitec/template",
<   "test-wilcard-dns-config",
<   "69cce43c-3f9d-4b32-950e-1862e9638272",
<   {
<     "domain": "my-domain-for-dev"
<   }
< ]
< [
57c46
<     "namespace": "my-sample-app-development"
---
>     "namespace": "my-sample-app-pr-161"
88c77
<   "910e1a2c-00fa-476b-bbbe-477fbda49528",
---
>   "86dedf3b-bd6d-4815-943c-1f5c96a3f2c3",
90c79
<     "update": "[{\"op\":\"add\",\"path\":\"/spec/service/labels\",\"value\":{\"route\":8080}},{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/envFrom\",\"value\":[{\"name\":\"intercom-secret\",\"secretRef\":null}]},{\"op\":\"add\",\"path\":\"/spec/serviceAccountName\",\"value\":\"my-sample-workload\"},{\"op\":\"add\",\"path\":\"/spec/automountServiceAccountToken\",\"value\":false},{\"op\":\"add\",\"path\":\"/spec/securityContext\",\"value\":{\"fsGroup\":1000,\"runAsGroup\":1000,\"runAsNonRoot\":true,\"runAsUser\":1000,\"seccompProfile\":{\"type\":\"RuntimeDefault\"}}},{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/securityContext\",\"value\":{\"allowPrivilegeEscalation\":false,\"capabilities\":{\"drop\":[\"ALL\"]},\"privileged\":false,\"readOnlyRootFilesystem\":true}}]"
---
>     "update": "[{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/envFrom\",\"value\":[{\"name\":\"intercom-secret\",\"secretRef\":null}]},{\"op\":\"add\",\"path\":\"/spec/serviceAccountName\",\"value\":\"my-sample-workload\"},{\"op\":\"add\",\"path\":\"/spec/automountServiceAccountToken\",\"value\":false},{\"op\":\"add\",\"path\":\"/spec/securityContext\",\"value\":{\"fsGroup\":1000,\"runAsGroup\":1000,\"runAsNonRoot\":true,\"runAsUser\":1000,\"seccompProfile\":{\"type\":\"RuntimeDefault\"}}},{\"op\":\"add\",\"path\":\"/spec/containers/my-sample-container/securityContext\",\"value\":{\"allowPrivilegeEscalation\":false,\"capabilities\":{\"drop\":[\"ALL\"]},\"privileged\":false,\"readOnlyRootFilesystem\":true}}]"
101c90
<     "host": "murazikgreenholtgreenholt.mabenoit.newapp.io"
---
>     "host": "botsfordlubowitzdeckow.mabenoit.newapp.io"
112c101
<     "id": "7bdb1397b2374c3d8fc251b8bc3c0e221de2a2cc-ingress",
---
>     "id": "9b262eee88b3c78dd6391de956e1cd3eda251dea-ingress",
124c113
<     "tls_secret_name": "8da26d868e5349f401c0df7095ef3e01f84a53e1-tls"
---
>     "tls_secret_name": "65b8c7165024d226107b9a3ba550fd3911965b99-tls"
128,129c117,118
<   "horizontal-pod-autoscaler",
<   "modules.my-sample-workload.externals.hpa",
---
>   "redis",
>   "modules.my-sample-workload.externals.my-redis",
132,143c121,126
<   "hpa-template",
<   "34d449a1-c34d-41c5-881a-5d8c950a7573",
<   {}
< ]
< [
<   "horizontal-pod-autoscaler",
<   "modules.my-sample-workload.externals.hpa-driver",
<   "hpa-driver",
<   "humanitec/hpa",
<   "hpa",
<   "4950d15d-7585-469d-b706-6975d246cdc8",
<   {}
---
>   "redis-in-cluster",
>   "1c3cd00c-0024-4419-a5cf-37c9af005af4",
>   {
>     "host": "redis",
>     "port": "6379"
>   }
153c136
<     "host": "murazikgreenholtgreenholt.mabenoit.newapp.io",
---
>     "host": "botsfordlubowitzdeckow.mabenoit.newapp.io",

@mathieu-benoit mathieu-benoit changed the title Update score.yaml New comment in PR (with new Graph URL) + token to install humctl Dec 12, 2024
@mathieu-benoit mathieu-benoit changed the title New comment in PR (with new Graph URL) + token to install humctl Improve comment in PR (with new Graph URL) + token to install humctl Dec 12, 2024
@mathieu-benoit mathieu-benoit merged commit fa5c586 into main Dec 12, 2024
2 checks passed
@mathieu-benoit mathieu-benoit deleted the mathieu-benoit-patch-1 branch December 12, 2024 18:46
Copy link

Deployment failed for PR-161! ❌

Runtime errors:

          {
            "name": "my-sample-container",
            "ready": false,
            "restartCount": 0,
            "state": {
              "waiting": {
                "message": "Back-off pulling image \"us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-workload@sha256:a3f3cf2608ce14bffab6ea0d7e8f1994d7aceeb8408d06b2e7ed2911e1ba6644\"",
                "reason": "ImagePullBackOff"
              }
            },
            "status": "Failure"
          }

➡️ Open Resource Graph

🔍 View Deployment in Humanitec

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

Deployment diff

Deployment diff:

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.

1 participant