mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
snap: Allow access to AWS, Azure, and GCS config/credentials
Fixes #11122
This commit is contained in:
parent
70c5e485bb
commit
72510969a6
1 changed files with 17 additions and 2 deletions
|
@ -45,8 +45,20 @@ plugs:
|
||||||
interface: personal-files
|
interface: personal-files
|
||||||
read:
|
read:
|
||||||
- $HOME/.gitconfig
|
- $HOME/.gitconfig
|
||||||
- $HOME/.config/git # Allows $HOME/.config/git/config and more
|
- $HOME/.config/git
|
||||||
- $HOME/.gitconfig.local # See #10337
|
- $HOME/.gitconfig.local
|
||||||
|
dot-aws:
|
||||||
|
interface: personal-files
|
||||||
|
read:
|
||||||
|
- $HOME/.aws
|
||||||
|
dot-azure:
|
||||||
|
interface: personal-files
|
||||||
|
read:
|
||||||
|
- $HOME/.azure
|
||||||
|
dot-config-gcloud:
|
||||||
|
interface: personal-files
|
||||||
|
read:
|
||||||
|
- $HOME/.config/gcloud
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
HOME: $SNAP_REAL_HOME
|
HOME: $SNAP_REAL_HOME
|
||||||
|
@ -80,6 +92,9 @@ apps:
|
||||||
- removable-media
|
- removable-media
|
||||||
- etc-gitconfig
|
- etc-gitconfig
|
||||||
- gitconfig
|
- gitconfig
|
||||||
|
- dot-aws
|
||||||
|
- dot-azure
|
||||||
|
- dot-config-gcloud
|
||||||
|
|
||||||
parts:
|
parts:
|
||||||
git:
|
git:
|
||||||
|
|
Loading…
Reference in a new issue