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

score-k8s #124

Merged
merged 4 commits into from
May 15, 2024
Merged

score-k8s #124

merged 4 commits into from
May 15, 2024

Conversation

mathieu-benoit
Copy link
Owner

No description provided.

Copy link

Deployment failed for PR-124! ❌

Errors:

error provisioning resource dns#modules.my-sample-workload.externals.dns GuResID: 6b46fe5fa8590a92e67f45bfa8c90069bf6a1f99. 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:

[
  {
    "apiVersion": "entity.humanitec.io/v1b1",
    "entity": {},
    "kind": "DeploymentError",
    "metadata": {
      "app_id": "my-sample-app",
      "deploy_id": "17cfbd65c32e1460",
      "env_id": "pr-124",
      "org_id": "mabenoit"
    },
    "status": {
      "code": "OPR-001",
      "error_type": "",
      "message": "error provisioning resource dns#modules.my-sample-workload.externals.dns GuResID: 6b46fe5fa8590a92e67f45bfa8c90069bf6a1f99. 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: 17cfbd65c32e1460

Domains:

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-app@sha256:b6f122f047d226adedfd7ee1afa2d92a1988a580f11da32de8d2afcb7c55af28"
        },
        {
          "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/score-k8s/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
}

@mathieu-benoit mathieu-benoit merged commit 7a76662 into main May 15, 2024
1 of 2 checks passed
@mathieu-benoit mathieu-benoit deleted the score-k8s branch May 15, 2024 18:40
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