Add --fqdn-policy option to deploy-webapp-from-registry. #802

Merged
dboreham merged 1 commits from telackey/fqdn2 into main 2024-04-15 12:20:37 +00:00
Member

This add a new option --fqdn-policy to the deploy-webapp-from-registry.

The default policy, prohibit means that ApplicationDeploymentRequests which specify a FQDN will be rejected. The allow policy will cause them to be processed. The preexisting policy will only process them if an existing DnsRecord exists in the registry with the correct ownership.

The latter would be useful in conjunction with a pre-checking scheme in the UI (eg, that the DNS entry is properly configured, the domain is under the control of the requestor, etc.) Only after all the checks were successful would the DnsRecord be created, allowing for ApplicationDeploymentRequests to use it.

This add a new option `--fqdn-policy` to the `deploy-webapp-from-registry`. The default policy, `prohibit` means that `ApplicationDeploymentRequests` which specify a FQDN will be rejected. The `allow` policy will cause them to be processed. The `preexisting` policy will only process them if an existing `DnsRecord` exists in the registry with the correct ownership. The latter would be useful in conjunction with a pre-checking scheme in the UI (eg, that the DNS entry is properly configured, the domain is under the control of the requestor, etc.) Only after all the checks were successful would the `DnsRecord` be created, allowing for `ApplicationDeploymentRequests` to use it.
telackey added 1 commit 2024-04-12 22:01:02 +00:00
Add --fqdn-policy option to deploy-webapp-from-registry.
All checks were successful
Lint Checks / Run linter (pull_request) Successful in 46s
Webapp Test / Run webapp test suite (pull_request) Successful in 5m6s
Deploy Test / Run deploy test suite (pull_request) Successful in 6m16s
Smoke Test / Run basic test suite (pull_request) Successful in 4m56s
K8s Deploy Test / Run deploy test suite on kind/k8s (pull_request) Successful in 9m16s
367a173287
telackey requested review from dboreham 2024-04-12 22:01:19 +00:00
telackey self-assigned this 2024-04-12 22:01:32 +00:00
dboreham approved these changes 2024-04-15 12:20:12 +00:00
dboreham merged commit 4126f2fc43 into main 2024-04-15 12:20:37 +00:00
telackey deleted branch telackey/fqdn2 2024-04-15 18:07:10 +00:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: cerc-io/stack-orchestrator#802
No description provided.