Commit Graph

65 Commits

Author SHA1 Message Date
Daniel Berteaud 5c063b2321 Add the alloc label for loki command 2024-03-25 14:04:18 +01:00
Daniel Berteaud 9a14ef5d3b Fix loading Nomad policies 2024-03-25 09:37:43 +01:00
Daniel Berteaud 653dc437c7 Fix excluding .swp files 2024-03-23 22:04:24 +01:00
Daniel Berteaud bf475232bb Sort alloc and tasks so the order doesn't change each time 2024-03-19 10:08:27 +01:00
Daniel Berteaud 22f70299a6 Use a render_example prop in bundles.yml to decide if we render example 2024-03-08 11:15:39 +01:00
Daniel Berteaud 917f5bdd75 Exclude pgbouncer logs with loki command 2024-03-08 09:26:15 +01:00
Daniel Berteaud 4a214e5a5a Revert back to render xxxx-conf bundles (as they can contain consul or
vault policies)
2024-02-05 22:05:59 +01:00
Daniel Berteaud 186b50aecc Add permissions to revoke leases to admin 2024-02-05 22:05:26 +01:00
Daniel Berteaud c5dd40bc14 Ignore vim swp files and do not render -conf bundles 2024-02-04 13:55:00 +01:00
Daniel Berteaud 5d2d569ca0 Look for config file with the bundle name 2024-02-03 19:59:46 +01:00
Daniel Berteaud a798cf53c7 Allow xxx-bundle-conf to override conf of bundle 2024-02-02 13:18:34 +01:00
Daniel Berteaud b1cdfdb85e Add a load-conf command 2024-01-31 22:31:35 +01:00
Daniel Berteaud e4f7733c88 Rename prep to prepare 2024-01-31 21:44:54 +01:00
Daniel Berteaud 93f06c39a2 Support renaming files with the configured .instance name 2024-01-26 22:10:25 +01:00
Daniel Berteaud ea3461c523 Support any level of nested templated conf 2024-01-22 11:41:47 +01:00
Daniel Berteaud 34a00e5576 Fix setting branch on submodules 2024-01-11 15:50:21 +01:00
Daniel Berteaud 63d8785da5 Fix when rendering several bundles in the same project 2024-01-09 14:14:43 +01:00
Daniel Berteaud b620231526 Fix rendering conf twice 2024-01-05 15:57:18 +01:00
Daniel Berteaud 8bfc6c6c3e Do not render images in example dir 2024-01-05 10:46:03 +01:00
Daniel Berteaud 52acc19da2 Fix formating template and --output-map begin added at each rendering 2024-01-05 10:39:35 +01:00
Daniel Berteaud 5af628ac7f Optional rendering of example job in the bundle dir 2024-01-05 10:29:26 +01:00
Daniel Berteaud 4bda44903c Auth after switch, to populate some missing vars 2023-11-03 13:04:39 +01:00
Daniel Berteaud 4dcff9274a Do not render templates in fetch 2023-10-27 16:11:29 +02:00
Daniel Berteaud 63c5cd9973 Add ACL for password policies and transit engines for admin 2023-10-27 16:11:13 +02:00
Daniel Berteaud adf338ea73 Prepend cur dir to module name 2023-10-18 10:55:06 +02:00
Daniel Berteaud 82e5ef0c83 Better cleanup handling + fix loki logs 2023-10-13 11:54:00 +02:00
Daniel Berteaud b8e536d701 Ignore connect-proxy tasks 2023-10-02 00:11:25 +02:00
Daniel Berteaud 2c38dc8531 Add header for fzf and print only running tasks 2023-10-01 22:26:32 +02:00
Daniel Berteaud 093779a1a3 Renew leases in the background 2023-09-29 15:08:37 +02:00
Daniel Berteaud 3285bce1c7 Rename all functions, cleanup on exit and fix exec 2023-09-29 14:36:18 +02:00
Daniel Berteaud 679f082910 Add sh, exec logs command (and rename old logs to loki) 2023-09-29 12:34:54 +02:00
Daniel Berteaud dbc00815ae Use FZF_DEFAULT_OPTS 2023-09-28 16:20:15 +02:00
Daniel Berteaud 0a0c521f76 Delete merged config file when done 2023-09-28 15:36:21 +02:00
Daniel Berteaud 95ac66817e Update the way we define bundles and dependencies
Now using a simple bundles.yml file
2023-09-28 15:28:36 +02:00
Daniel Berteaud 771b8ab679 Various fixes and improvements 2023-09-28 11:58:07 +02:00
Daniel Berteaud dcd8a1c53d Move vault-token handling in auth_env 2023-09-16 18:50:59 +02:00
Daniel Berteaud 5ff5575363 Split prep and render scripts 2023-09-10 14:07:12 +02:00
Daniel Berteaud 640d9a3924 Revert "Prefix functions with ctctl_"
This reverts commit 46292743d0.
2023-09-06 23:02:01 +02:00
Daniel Berteaud 46292743d0 Prefix functions with ctctl_ 2023-09-06 22:47:45 +02:00
Daniel Berteaud 6245d801e1 Don't load policies and config from output if the same exists in the
current dir
2023-09-03 16:55:06 +02:00
Daniel Berteaud 0df300a11f Remove a usage of perl 2023-08-31 12:27:43 +02:00
Daniel Berteaud 9aa66a32af Render images, exclude templates direct rendering & various enhancements 2023-08-29 23:55:28 +02:00
Daniel Berteaud 9e97651df4 Various fixes
Veuillez saisir le message de validation pour vos modifications. Les lignes
2023-08-24 01:05:06 +02:00
Daniel Berteaud bee1de9d32 Add support for gomplate rendering 2023-08-21 11:19:53 +02:00
Daniel Berteaud b38d15e4c4 Remove volume handling 2023-08-17 13:48:34 +02:00
Daniel Berteaud 92a01638f1 Small enhacements, new render command 2023-08-16 23:57:10 +02:00
Daniel Berteaud 2776831640 Use fzf for interactive selection of elements 2023-08-14 23:55:31 +02:00
Daniel Berteaud 039570d4ad Fix loki filter 2023-08-05 22:49:15 +02:00
Daniel Berteaud 77ad7deea5 Update vault policies and load_config in auth_env 2023-07-27 11:46:42 +02:00
Daniel Berteaud 28edbbc425 Better config handling 2023-07-25 14:44:48 +02:00