Skip to content

Instantly share code, notes, and snippets.

@KyMidd
Created August 7, 2022 15:05
Show Gist options
  • Select an option

  • Save KyMidd/2c958eb709e39c9fca17de0fbc74e2b2 to your computer and use it in GitHub Desktop.

Select an option

Save KyMidd/2c958eb709e39c9fca17de0fbc74e2b2 to your computer and use it in GitHub Desktop.
spec:
volumes:
- name: init-secrets
emptyDir: {}
serviceAccountName: init-secret-fetcher
initContainers:
- name: init-secret-fetcher
image: kymidd/secrets-testing-fetcher01:v0.0.3
volumeMounts:
- name: init-secrets
mountPath: /tmp/init-secrets
command:
- python3
- ./start.py
args:
- 'arn:aws:secretsmanager:us-west-2:1234567890:secret:app1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment