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.21.0 `score-deploy-wait` #117

Closed mathieu-benoit closed 6 months ago

github-actions[bot] commented 6 months ago

Deployment failed for PR-117! :x:

Errors:


error provisioning resource dns#modules.my-sample-app.externals.dns GuResID: deec58c8b886191f3c3b5d3e0487fb07000316a6. 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": "17c59fb56bc02787", "env_id": "pr-117", "org_id": "mabenoit" }, "status": { "code": "OPR-001", "error_type": "", "message": "error provisioning resource dns#modules.my-sample-app.externals.dns GuResID: deec58c8b886191f3c3b5d3e0487fb07000316a6. 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: 17c59fb56bc02787

Domains:

Deployment diff ### Deployment diff: ```json { "modules": { "add": null, "remove": [], "update": { "my-sample-app": [ { "from": "", "op": "replace", "path": "/spec/annotations/humanitec.io~1managed-by", "value": "Score" }, { "from": "", "op": "replace", "path": "/spec/annotations/humanitec.io~1workload-artefact-name", "value": "my-sample-app/my-sample-app" }, { "from": "", "op": "add", "path": "/spec/annotations/humanitec.io~1workload-source", "value": "https://github.com/mathieu-benoit/sail-sharp/blob/humctl-0-21-0/score/score.yaml" }, { "from": "", "op": "replace", "path": "/spec/containers/my-sample-app/image", "value": "us-east4-docker.pkg.dev/mathieu-benoit-gcp/containers/my-sample-app@sha256:a668319f2d888f4db200ae5a6434560c37c527f2eb6779871c8f04cb876cac15" }, { "from": "", "op": "replace", "path": "/spec/containers/my-sample-app/variables/MESSAGE", "value": "Hello, World!" }, { "from": "", "op": "add", "path": "/spec/containers/my-sample-app/env", "value": [ { "name": "POD_NAME", "value": "${pod.metadata.name}" }, { "name": "NAMESPACE_NAME", "value": "${pod.metadata.namespace}" } ] } ] } }, "shared": null } ```
mathieu-benoit commented 6 months ago

The error is unrelated to the humctl upgrade, it's DNS setup issue elsewhere, let's merge this pull request as the deployment per se is working successfully.