Created
April 23, 2020 11:28
-
-
Save plutov/4e13fd277f26d3cbe8954c359e49138c to your computer and use it in GitHub Desktop.
gcs-k8s-2.yml
This file contains hidden or 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
#... | |
securityContext: | |
privileged: true | |
capabilities: | |
add: | |
- SYS_ADMIN | |
lifecycle: | |
postStart: | |
exec: | |
command: ["gcsfuse", "-o", "nonempty,allow_other", "bucket-name", "/usr/share/nginx/bucket-data"] | |
preStop: | |
exec: | |
command: ["fusermount", "-u", "/usr/share/nginx/bucket-data"] | |
#... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment