Created
September 7, 2019 09:38
-
-
Save Sakib37/ca8e94f3fcb5fe7d1a739a5d706bb6b7 to your computer and use it in GitHub Desktop.
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
aws-cli: | |
========== | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: aws-cli | |
labels: | |
name: aws-cli | |
annotations: | |
iam.amazonaws.com/role: $IAM_ROLE | |
containers: | |
- image: fstab/aws-cli | |
command: | |
- "/home/aws/aws/env/bin/aws" | |
args: | |
- "s3" | |
- "ls" | |
- "s3://bucket_name/" | |
name: aws-cli | |
Init-container: | |
=============== | |
- name: cleanup | |
image: busybox:1.31.0 | |
command: ['sh', '-c', 'rm -rf /usr/share/data/registry'] | |
volumeMounts: | |
- name: data | |
mountPath: /usr/share/data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment