Created
February 7, 2019 14:49
-
-
Save disassembler/560339d5542f7c0a66b6e4db9e059fb7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git i/scripts/launch/connect-to-cluster/default.nix w/scripts/launch/connect-to-cluster/default.nix | |
index 22e2fe4c3f..2e50e72768 100755 | |
--- i/scripts/launch/connect-to-cluster/default.nix | |
+++ w/scripts/launch/connect-to-cluster/default.nix | |
@@ -103,7 +103,7 @@ let | |
clientExpiryDays = 365; | |
} // tlsConfig; | |
tlsConfigFile = let cfg = tlsConfigResultant; in writeText "tls-config-${environment}.yaml" ('' | |
- ${environments.${environment}.confKey}: | |
+ ${env.confKey}: | |
tls: | |
ca: | |
organization: ${cfg.organization} | |
@@ -154,7 +154,7 @@ in writeScript "${executable}-connect-to-${environment}" '' | |
--server-out-dir ${stateDir}/tls/server \ | |
--clients-out-dir ${stateDir}/tls/client \ | |
--configuration-file ${tlsConfigFile} \ | |
- --configuration-key ${environments.${environment}.confKey} | |
+ --configuration-key ${env.confKey} | |
fi | |
ln -sf ${curlScript} ${stateDir}/curl | |
''} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment