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

[RFE] First version of DNSSandbox #112

Merged
merged 7 commits into from
Feb 17, 2025
Merged

[RFE] First version of DNSSandbox #112

merged 7 commits into from
Feb 17, 2025

Conversation

agonzalezrh
Copy link
Contributor

@agonzalezrh agonzalezrh commented Feb 7, 2025

Currently only Route53, as first version. Request example:

{
  "service_uuid": "81362945-9d75-4fb7-9fca-1cd15bb6645f",
  "resources": [
    {
      "kind": "DNSSandbox",
      "count": 1,
      "cloud_selector": {
         "purpose": "dev"
      }
    }
  ],
  "annotations": {
    "guid": "demoday",
    "env_type": "ocp4-cluster",
    "sandbox_suffix": "ocp4-cluster"
  }
}

Placement answer example:

{
  "id": 14419,
  "created_at": "2025-02-08T00:23:21.914479+01:00",
  "updated_at": "2025-02-08T00:23:21.914479+01:00",
  "service_uuid": "81362945-9d75-4fb7-9fca-1cd15bb6645f",
  "status": "success",
  "to_cleanup": false,
  "annotations": {
    "env_type": "ocp4-cluster",
    "guid": "demoday",
    "sandbox_suffix": "ocp4-cluster"
  },
  "resources": [
    {
      "id": 5664,
      "created_at": "2025-02-08T00:23:21.111029+01:00",
      "updated_at": "2025-02-08T00:23:22.333499+01:00",
      "available": false,
      "name": "demoday-ocp4-cluster",
      "kind": "DNSSandbox",
      "service_uuid": "81362945-9d75-4fb7-9fca-1cd15bb6645f",
      "dns_account": "development",
      "annotations": {
        "env_type": "ocp4-cluster",
        "guid": "demoday",
        "sandbox_suffix": "ocp4-cluster"
      },
      "status": "success",
      "cleanup_count": 0,
      "to_cleanup": false,
      "credentials": [
        {
          "aws_access_key_id": "REDACTED",
          "aws_secret_access_key": "REDACTED",
          "hosted_zone_id": "REDACTED",
          "kind": "Route53",
          "zone": "demoday-ocp4-cluster.dev.redacted"
        }
      ]
    }
  ],
  "request": {
    "annotations": {
      "env_type": "ocp4-cluster",
      "guid": "demoday",
      "sandbox_suffix": "ocp4-cluster"
    },
    "resources": [
      {
        "cloud_selector": {
          "purpose": "dev"
        },
        "count": 1,
        "kind": "DNSSandbox",
        "quota": {}
      }
    ],
    "service_uuid": "81362945-9d75-4fb7-9fca-1cd15bb6645f"
  }
}

@agonzalezrh agonzalezrh requested a review from fridim February 7, 2025 23:49
@agonzalezrh agonzalezrh changed the title [WIP] First version of DNSSanbox [RFE] [WIP] First version of DNSSanbox Feb 7, 2025
@agonzalezrh agonzalezrh changed the title [RFE] [WIP] First version of DNSSanbox [RFE] [WIP] First version of DNSSandbox Feb 7, 2025
@agonzalezrh agonzalezrh changed the title [RFE] [WIP] First version of DNSSandbox [RFE] First version of DNSSandbox Feb 17, 2025
@agonzalezrh agonzalezrh merged commit 55fb4d7 into main Feb 17, 2025
5 checks passed
@fridim fridim deleted the dnsprovider branch February 17, 2025 22:40
@agonzalezrh agonzalezrh restored the dnsprovider branch February 18, 2025 00:57
@agonzalezrh agonzalezrh deleted the dnsprovider branch February 18, 2025 00:59
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