Skip to content

Commit

Permalink
Update/Fix sample
Browse files Browse the repository at this point in the history
  • Loading branch information
avenging committed Oct 20, 2021
1 parent 6597ee2 commit 32d8143
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 3 additions & 1 deletion config/samples/secrets-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ metadata:
rules:
- apiGroups:
- ""
- "secrets-manager.tuenti.io"
resources:
- "secrets"
- "secretdefinitions"
verbs:
- "get"
- "list"
Expand Down Expand Up @@ -145,7 +147,7 @@ spec:
name: secrets-manager
args:
- -vault.url=http://vault:8200
- -log.level=debug
- -zap-log-level=debug
env:
- name: VAULT_ROLE_ID
valueFrom:
Expand Down
2 changes: 1 addition & 1 deletion config/samples/vault-setup.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
VAULT_ADDR=http://localhost:8200
export VAULT_ADDR=http://localhost:8200
echo "Waiting vault to launch on 8200..."

while ! nc -z localhost 8200; do
Expand Down
3 changes: 3 additions & 0 deletions config/samples/vault.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ metadata:
app: vault
name: vault
spec:
selector:
matchLabels:
app: vault
replicas: 1
template:
metadata:
Expand Down

0 comments on commit 32d8143

Please sign in to comment.