Support uploaded config, add 'publish-webapp-deployer' and 'request-webapp-deployment' commands #938
No reviewers
Labels
No Label
bug
documentation
duplicate
enhancement
feature
good first issue
help wanted
in progress
invalid
question
wontfix
Copied from Github
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cerc-io/stack-orchestrator#938
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "telackey/configupload"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This adds two new commands:
publish-webapp-deployer
andrequest-webapp-deployment
.publish-webapp-deployer
creates aWebappDeployer
record, which provides information to requestors like the API URL, minimum required payment, payment address, and public key to use for encrypting config.request-webapp-deployment
simplifies publishing aWebappDeploymentRequest
and can also handle automatic payment, and encryption and upload of configuration.Related changes are included for the deploy/undeploy commands for decrypting and using config, using the payment address from the WebappDeployer record, etc.
@ -40,3 +42,3 @@
# url is like: https://example.com/path
parsed_url = urlparse(url)
http_proxy_spec = f'''
http_proxy_spec = f"""
What's going on here?
linted the wrong file. Backed out...
WIP: Upload Configto Support uploaded config, add 'publish-webapp-deployer' and 'request-webapp-deployment' commands@ -261,3 +261,3 @@
full_path = os.path.join(cfg_map_path, f)
if os.path.isfile(full_path):
data[f] = open(full_path, 'rt').read()
data[f] = base64.b64encode(open(full_path, 'rb').read()).decode('ASCII')
This lets us support non-text files in the configmap, like a binary certificate or key.