Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineF4C5 committed Mar 14, 2024
2 parents b194f5c + f576d33 commit efe2aaf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions k8s/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ spec:
vault.hashicorp.com/agent-inject: "true"
vault.hashicorp.com/role: "secret-reader"
vault.hashicorp.com/agent-inject-template-hackqc2024: |
{{- with secret "kv/data/hackqc2024/default/secrets" -}}
export API_KEY="{{ .Data.api_key }}"
export JEU_DE_DONNEES="{{ .Data.jeu_de_donnees }}"
{{- with secret "kv/hackqc2024/default/secrets" -}}
export API_KEY="{{ .Data.data.api_key }}"
export JEU_DE_DONNEES="{{ .Data.data.jeu_de_donnees }}"
{{- end }}
spec:
Expand Down

0 comments on commit efe2aaf

Please sign in to comment.