Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@awilliams-fastly
Copy link
Collaborator

@awilliams-fastly awilliams-fastly commented Jan 20, 2023

Adds ability to define Secret Stores in the [setup] section of a fastly.toml config file. The user will be prompted to create the defined stores and secrets on creation of a service when using fastly compute deploy.

Related: #717, #764

Base automatically changed from awilliams/secret-store to main January 24, 2023 16:37
@Integralist Integralist added the enhancement New feature or request label Feb 6, 2023
@awilliams-fastly awilliams-fastly force-pushed the awilliams/secret-store-setup branch from f922816 to 8bffeeb Compare April 12, 2023 16:25
@awilliams-fastly awilliams-fastly force-pushed the awilliams/secret-store-setup branch from 8bffeeb to 55e4fc2 Compare April 12, 2023 16:40
@awilliams-fastly awilliams-fastly marked this pull request as ready for review April 12, 2023 16:42
secretStores *setup.SecretStores
}

func constructSetupKVs(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed this should be constructSetupObjects

Adds ability to define Secret Stores in the `[setup]` section of a `fastly.toml` config file.
The user will be prompted to create the defined stores and secrets on creation of a service when using `fastly compute deploy`.

Related: #717, #764
@awilliams-fastly awilliams-fastly force-pushed the awilliams/secret-store-setup branch from 55e4fc2 to 827d439 Compare April 12, 2023 16:52
Copy link
Collaborator

@Integralist Integralist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One suggested edit otherwise LGTM. Thanks for refactoring the multiple returned objects into a single object, much cleaner and future proof 👍🏻

@Integralist
Copy link
Collaborator

Oh I forgot about constructSetupObjects, yes please if you could update that. Thanks!

@awilliams-fastly awilliams-fastly merged commit e977ad3 into main Apr 13, 2023
@awilliams-fastly awilliams-fastly deleted the awilliams/secret-store-setup branch April 13, 2023 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants