-
-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Role Prompt, bypass buggy secrets check, add lsb_release (#971)
- Loading branch information
Showing
5 changed files
with
154 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,7 @@ kubectl@cloudposse | |
kubectx@cloudposse | ||
kubens@cloudposse | ||
less | ||
lsb-release | ||
make | ||
man-db | ||
openssh-client | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# This is a workaround for https://github.com/moby/buildkit/issues/5775 | ||
# | ||
# The `chamber` command (https://github.com/segmentio/chamber) is a CLI for managing secrets. | ||
# It is installed in Geodesic and referenced in various documentation. | ||
# | ||
# Chamber works with AWS SSM Parameter store to save encrypted parameters. | ||
# By default, in uses a KMS key with the alias `parameter_store_key` | ||
# to encrypt and decrypt the parameters. Geodesic supports using | ||
# the AWS default key, with alias `ssm`, or a custom key. | ||
# | ||
# However, due to the issue with buildkit mentioned above, | ||
# setting the required environment variable in the Dockerfile | ||
# leads to a warning about it being a secret stored in the image. | ||
# | ||
# So, as a workaround, we allow you to set `CHAMBER_KMS_ALIAS` instead, | ||
# and we will set the `CHAMBER_KMS_KEY_ALIAS` environment variable for you here. | ||
# | ||
|
||
if [[ -z "$CHAMBER_KMS_KEY_ALIAS" ]] && [[ -n "$CHAMBER_KMS_ALIAS" ]]; then | ||
export CHAMBER_KMS_KEY_ALIAS="$CHAMBER_KMS_ALIAS" | ||
unset CHAMBER_KMS_ALIAS | ||
fi |