Browse Source

docker: fix tls pillar paths

master
Sean Johnson 3 years ago
parent
commit
983e8a2295
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. 12
      app/docker/tls.sls

12
app/docker/tls.sls

@ -1,13 +1,13 @@
---
{% set ssl_dir = salt.file.dirname(
salt.pillar.get("docker:config:tlscacert") or
salt.pillar.get("docker:config:tlscert") or
salt.pillar.get("docker:config:tlskey")
salt.pillar.get("docker:daemon_config:tlscacert") or
salt.pillar.get("docker:daemon_config:tlscert") or
salt.pillar.get("docker:daemon_config:tlskey")
) %}
{% set cert_file = salt.pillar.get("docker:config:tlscert") %}
{% set ca_file = salt.pillar.get("docker:config:tlscacert") %}
{% set key_file = salt.pillar.get("docker:config:tlskey") %}
{% set cert_file = salt.pillar.get("docker:daemon_config:tlscert") %}
{% set ca_file = salt.pillar.get("docker:daemon_config:tlscacert") %}
{% set key_file = salt.pillar.get("docker:daemon_config:tlskey") %}
{% set cert_data = salt.pillar.get("docker:tls:cert") %}
{% set ca_data = salt.pillar.get("docker:tls:ca") %}

Loading…
Cancel
Save