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

🐙 octavia-cli: create octavia env file during install #11005

Merged
merged 1 commit into from
Mar 10, 2022

Conversation

alafanechere
Copy link
Contributor

Create a env file (~/.octavia) to allow usesr to map whatever env var they want to octavia container.
This allows them to set secret values directly in this file.

Path to this file is stored in the bash profile of the user and can be changed by changing the value of their OCTAVIA_ENV_FILE env var.

@alafanechere alafanechere requested a review from marcosmarxm March 9, 2022 22:37
@alafanechere alafanechere added this to the octavia-cli-alpha milestone Mar 10, 2022
@@ -4,6 +4,7 @@
# It creates an octavia alias in your profile bound to a docker run command

VERSION=dev
OCTAVIA_ENV_FILE=${HOME}/.octavia
Copy link
Member

Choose a reason for hiding this comment

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

This makes more complex to complex to work using Github Actions (maybe?)

Copy link
Contributor Author

@alafanechere alafanechere Mar 10, 2022

Choose a reason for hiding this comment

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

IMO GitHub actions users should not use the docker run command directly and not use the alias.

Copy link
Member

@marcosmarxm marcosmarxm left a comment

Choose a reason for hiding this comment

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

lgtm to version alpha!

@alafanechere alafanechere merged commit acd56cd into master Mar 10, 2022
@alafanechere alafanechere deleted the augustin/octavia-cli/create-octavia-env-file branch March 10, 2022 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants