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

Add new sftp environment variables #139

Merged
merged 1 commit into from
Oct 26, 2023
Merged

Conversation

slifty
Copy link
Contributor

@slifty slifty commented Oct 26, 2023

This PR populates the necessary environment variables for the sftp service.

Resolves #138
Related to PermanentOrg/sftp-service#289

The SFTP service needs some additional environment variables to be
populated, as a result of some recent changes to how refresh tokens are
used to generate auth tokens [1].

A few of these vriables are redundant [2], and that's why we use the
same "source" variable to map them as late as possible in the
provisioning.  Eventually if the redundancy is removed from the sftp
service we'll want to update the provisioner to stop populating the
obsolete copies.

Issue #138

[1] PermanentOrg/sftp-service#192
[2] PermanentOrg/sftp-service#289
Copy link
Member

@cecilia-donnelly cecilia-donnelly left a comment

Choose a reason for hiding this comment

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

Beautiful, thanks for keeping it simple.

@cecilia-donnelly cecilia-donnelly merged commit 7263723 into main Oct 26, 2023
@cecilia-donnelly cecilia-donnelly deleted the 138-sftp-env-vars branch October 26, 2023 16:58
@slifty
Copy link
Contributor Author

slifty commented Oct 26, 2023

I meant to include this in the PR description but just to have it written: the associated new github secrets have been populated

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.

Populate new SFTP env variables
2 participants