Browse Source

docker: fix secrets thing?

master
Sean Johnson 3 years ago
parent
commit
cc8305a35f
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: 9FA15B87469EA850
  1. 6
      app/docker/tls.sls

6
app/docker/tls.sls

@ -27,7 +27,7 @@
- group: docker
- mode: 0660
- onlyif: "test ! -f {{ cert_file }}"
{% if cert_data %} - contents_pillar: "docker:tls:cert"
{% if cert_data is not none %} - contents_pillar: "docker:tls:cert"
{% endif %}
{{ key_file }}:
@ -36,7 +36,7 @@
- group: docker
- mode: 0660
- onlyif: "test ! -f {{ key_file }}"
{% if key_data %} - content_pillar: "docker:tls:key"
{% if key_data is not none %} - content_pillar: "docker:tls:key"
{% endif %}
{{ ca_file }}:
@ -45,5 +45,5 @@
- group: docker
- mode: 0660
- onlyif: "test ! -f {{ ca_file }}"
{% if ca_data %} - content_pillar: "docker:tls:ca"
{% if ca_data is not none %} - content_pillar: "docker:tls:ca"
{% endif %}
Loading…
Cancel
Save