Created
October 15, 2020 19:13
-
-
Save myoung34/d797ca83790ba96736f34e7d1cbd83be to your computer and use it in GitHub Desktop.
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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: app | |
labels: | |
app: vault-agent-demo | |
spec: | |
selector: | |
matchLabels: | |
app: vault-agent-demo | |
replicas: 1 | |
template: | |
metadata: | |
annotations: | |
vault.hashicorp.com/agent-inject: "true" | |
vault.hashicorp.com/agent-inject-secret-helloworld: "secret/helloworld" | |
vault.hashicorp.com/role: "myapp" | |
labels: | |
app: vault-agent-demo | |
spec: | |
serviceAccountName: app | |
containers: | |
- name: app | |
image: jweissig/app:0.0.1 | |
--- | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: app | |
labels: | |
app: vault-agent-demo |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment