mathieu-benoit / sail-sharp

Sail Sharp - Security best practices with .NET Core & Kubernetes
https://medium.com/p/c68ba253844a
3 stars 0 forks source link

`humctl 0.23.1`: `--wait` #121

Closed mathieu-benoit closed 6 months ago

mathieu-benoit commented 6 months ago
github-actions[bot] commented 6 months ago

Deployment failed for PR-121! :x:

Errors:


error provisioning resource dns#modules.my-sample-workload.externals.dns GuResID: 7ed7d348ba7327ebf68767c23eb95fc5dc198554. Status: False. Reason: ResourceProvisionError. Message: resolving resource input secrets: getting remote secret orgs/humanitec/resources/dynamic/default-humanitec-dns/account: secret not found
Errors details ### Errors details: ```json [ { "apiVersion": "entity.humanitec.io/v1b1", "entity": {}, "kind": "DeploymentError", "metadata": { "app_id": "my-sample-app", "deploy_id": "17c9ec3cfe5c0b6a", "env_id": "pr-121", "org_id": "mabenoit" }, "status": { "code": "OPR-001", "error_type": "", "message": "error provisioning resource dns#modules.my-sample-workload.externals.dns GuResID: 7ed7d348ba7327ebf68767c23eb95fc5dc198554. Status: False. Reason: ResourceProvisionError. Message: resolving resource input secrets: getting remote secret orgs/humanitec/resources/dynamic/default-humanitec-dns/account: secret not found", "object_id": "", "scope": "environment", "summary": "Humanitec Operator error" } } ] ```

View in Humanitec

Deployment ID: 17c9ec3cfe5c0b6a

Domains:

Deployment diff ### Deployment diff: ```json { "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-app@sha256:51f8e0c604128f95cd5f737aa38c37c4195a07212cdb0bd6fc30ebb73a6c6cc8" }, { "from": "", "op": "add", "path": "/spec/containers/my-sample-container/env", "value": [ { "name": "POD_NAME", "value": "${pod.metadata.name}" }, { "name": "NAMESPACE_NAME", "value": "${pod.metadata.namespace}" } ] }, { "from": "", "op": "replace", "path": "/spec/annotations/humanitec.io~1workload-artefact-name", "value": "my-sample-app/my-sample-workload" }, { "from": "", "op": "add", "path": "/spec/annotations/humanitec.io~1workload-source", "value": "https://github.com/mathieu-benoit/sail-sharp/blob/humctl-0-23-1/score/score.yaml" }, { "from": "", "op": "add", "path": "/externals/dns", "value": { "class": "default", "type": "dns" } }, { "from": "", "op": "add", "path": "/externals/route", "value": { "class": "default", "params": { "host": "${externals.dns.host}", "path": "/", "port": 8080 }, "type": "route" } } ] } }, "shared": null } ```