File tree Expand file tree Collapse file tree 2 files changed +6
-24
lines changed
Expand file tree Collapse file tree 2 files changed +6
-24
lines changed Original file line number Diff line number Diff line change @@ -57,10 +57,6 @@ job "devspace" {
5757 read_only = true
5858 }
5959
60- vault {
61- policies = [" void-secrets-devspace" ]
62- }
63-
6460 config {
6561 image = " ghcr.io/void-linux/infra-sftpgo:20241231R1"
6662 network_mode = " host"
@@ -83,26 +79,26 @@ job "devspace" {
8379
8480 template {
8581 data = << EOF
86- {{- with secret "secret/devspace/ssh " -}}
87- {{.Data. ssh_host_rsa_key}}
82+ {{- with nomadVar "nomad/jobs/devspace " -}}
83+ {{ . ssh_host_rsa_key }}
8884{{- end -}}
8985EOF
9086 destination = " secrets/id_rsa"
9187 }
9288
9389 template {
9490 data = << EOF
95- {{- with secret "secret/devspace/ssh " -}}
96- {{.Data. ssh_host_ed25519_key}}
91+ {{- with nomadVar "nomad/jobs/devspace " -}}
92+ {{ . ssh_host_ed25519_key }}
9793{{- end -}}
9894EOF
9995 destination = " secrets/id_ed25519"
10096 }
10197
10298 template {
10399 data = << EOF
104- {{- with secret "secret/devspace/ssh " -}}
105- {{.Data. ssh_host_ecdsa_key}}
100+ {{- with nomadVar "nomad/jobs/devspace " -}}
101+ {{ . ssh_host_ecdsa_key }}
106102{{- end -}}
107103EOF
108104 destination = " secrets/id_ecdsa"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments