adeploy 1.3.4__tar.gz → 1.3.5__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (248) hide show
  1. {adeploy-1.3.4 → adeploy-1.3.5}/.gitignore +1 -0
  2. {adeploy-1.3.4 → adeploy-1.3.5}/.gitlab-ci.yml +15 -0
  3. {adeploy-1.3.4 → adeploy-1.3.5}/PKG-INFO +1 -1
  4. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/helpers.py +24 -12
  5. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/kubectl.py +5 -5
  6. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/secrets/generic_secret.py +7 -7
  7. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/secrets/tls_secret.py +16 -16
  8. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/providers/helm/tester.py +4 -6
  9. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/providers/jinja/watcher.py +4 -4
  10. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/steps/config.py +1 -1
  11. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/steps/watch.py +1 -1
  12. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy.egg-info/PKG-INFO +1 -1
  13. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy.egg-info/scm_version.json +2 -2
  14. {adeploy-1.3.4 → adeploy-1.3.5}/.awesome.yml +0 -0
  15. {adeploy-1.3.4 → adeploy-1.3.5}/DEVELOP.md +0 -0
  16. {adeploy-1.3.4 → adeploy-1.3.5}/LICENSE +0 -0
  17. {adeploy-1.3.4 → adeploy-1.3.5}/README.md +0 -0
  18. {adeploy-1.3.4 → adeploy-1.3.5}/docs/assets/css/asciinema-player.css +0 -0
  19. {adeploy-1.3.4 → adeploy-1.3.5}/docs/assets/css/badges.css +0 -0
  20. {adeploy-1.3.4 → adeploy-1.3.5}/docs/assets/css/docstrings.css +0 -0
  21. {adeploy-1.3.4 → adeploy-1.3.5}/docs/assets/css/footer.css +0 -0
  22. {adeploy-1.3.4 → adeploy-1.3.5}/docs/assets/download.sh +0 -0
  23. {adeploy-1.3.4 → adeploy-1.3.5}/docs/assets/img/awesome-logo.png +0 -0
  24. {adeploy-1.3.4 → adeploy-1.3.5}/docs/assets/js/asciinema-init.js +0 -0
  25. {adeploy-1.3.4 → adeploy-1.3.5}/docs/assets/js/asciinema-player.min.js +0 -0
  26. {adeploy-1.3.4 → adeploy-1.3.5}/docs/common/_more.md +0 -0
  27. {adeploy-1.3.4 → adeploy-1.3.5}/docs/common/filters.md +0 -0
  28. {adeploy-1.3.4 → adeploy-1.3.5}/docs/common/functions.md +0 -0
  29. {adeploy-1.3.4 → adeploy-1.3.5}/docs/common/includes.md +0 -0
  30. {adeploy-1.3.4 → adeploy-1.3.5}/docs/common/index.md +0 -0
  31. {adeploy-1.3.4 → adeploy-1.3.5}/docs/common/labels.md +0 -0
  32. {adeploy-1.3.4 → adeploy-1.3.5}/docs/common/macros.md +0 -0
  33. {adeploy-1.3.4 → adeploy-1.3.5}/docs/common/probes.md +0 -0
  34. {adeploy-1.3.4 → adeploy-1.3.5}/docs/common/resource-limits.md +0 -0
  35. {adeploy-1.3.4 → adeploy-1.3.5}/docs/common/secrets.md +0 -0
  36. {adeploy-1.3.4 → adeploy-1.3.5}/docs/helm/helm-deploy.cast +0 -0
  37. {adeploy-1.3.4 → adeploy-1.3.5}/docs/helm/helm-render.cast +0 -0
  38. {adeploy-1.3.4 → adeploy-1.3.5}/docs/helm/helm-test.cast +0 -0
  39. {adeploy-1.3.4 → adeploy-1.3.5}/docs/helm/hooks.md +0 -0
  40. {adeploy-1.3.4 → adeploy-1.3.5}/docs/helm/index.md +0 -0
  41. {adeploy-1.3.4 → adeploy-1.3.5}/docs/helm.cast +0 -0
  42. {adeploy-1.3.4 → adeploy-1.3.5}/docs/hooks/asciinema.py +0 -0
  43. {adeploy-1.3.4 → adeploy-1.3.5}/docs/hooks/badges.py +0 -0
  44. {adeploy-1.3.4 → adeploy-1.3.5}/docs/index.md +0 -0
  45. {adeploy-1.3.4 → adeploy-1.3.5}/docs/install.md +0 -0
  46. {adeploy-1.3.4 → adeploy-1.3.5}/docs/jinja/index.md +0 -0
  47. {adeploy-1.3.4 → adeploy-1.3.5}/docs/jinja/jinja-deploy.cast +0 -0
  48. {adeploy-1.3.4 → adeploy-1.3.5}/docs/jinja/jinja-render.cast +0 -0
  49. {adeploy-1.3.4 → adeploy-1.3.5}/docs/jinja/jinja-test.cast +0 -0
  50. {adeploy-1.3.4 → adeploy-1.3.5}/docs/jinja.cast +0 -0
  51. {adeploy-1.3.4 → adeploy-1.3.5}/docs/overrides/partials/copyright.html +0 -0
  52. {adeploy-1.3.4 → adeploy-1.3.5}/docs/usage.md +0 -0
  53. {adeploy-1.3.4 → adeploy-1.3.5}/examples/.exclude-from-test +0 -0
  54. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/001-quickstart/README.md +0 -0
  55. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/001-quickstart/build/helm/charts/hello-world/.helmignore +0 -0
  56. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/001-quickstart/build/helm/charts/hello-world/Chart.yaml +0 -0
  57. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/001-quickstart/build/helm/charts/hello-world/README.md +0 -0
  58. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/001-quickstart/build/helm/charts/hello-world/templates/NOTES.txt +0 -0
  59. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/001-quickstart/build/helm/charts/hello-world/templates/_helpers.tpl +0 -0
  60. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/001-quickstart/build/helm/charts/hello-world/templates/deployment.yaml +0 -0
  61. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/001-quickstart/build/helm/charts/hello-world/templates/service.yaml +0 -0
  62. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/001-quickstart/build/helm/charts/hello-world/templates/serviceaccount.yaml +0 -0
  63. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/001-quickstart/build/helm/charts/hello-world/values.yaml +0 -0
  64. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/001-quickstart/build/helm/playground/hello-world/prod/manifest.yml +0 -0
  65. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/001-quickstart/build/helm/playground/hello-world/prod/values.yml +0 -0
  66. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/001-quickstart/build/helm/playground/hello-world/test/manifest.yml +0 -0
  67. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/001-quickstart/build/helm/playground/hello-world/test/values.yml +0 -0
  68. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/001-quickstart/defaults.yml +0 -0
  69. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/001-quickstart/namespaces/playground/prod/000-common.yml +0 -0
  70. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/001-quickstart/namespaces/playground/prod/010-service-account.yml +0 -0
  71. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/001-quickstart/namespaces/playground/test.yml +0 -0
  72. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/002-hooks/README.md +0 -0
  73. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/002-hooks/build/helm/charts/hello-world/.helmignore +0 -0
  74. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/002-hooks/build/helm/charts/hello-world/Chart.yaml +0 -0
  75. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/002-hooks/build/helm/charts/hello-world/README.md +0 -0
  76. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/002-hooks/build/helm/charts/hello-world/templates/NOTES.txt +0 -0
  77. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/002-hooks/build/helm/charts/hello-world/templates/_helpers.tpl +0 -0
  78. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/002-hooks/build/helm/charts/hello-world/templates/deployment.yaml +0 -0
  79. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/002-hooks/build/helm/charts/hello-world/templates/service.yaml +0 -0
  80. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/002-hooks/build/helm/charts/hello-world/templates/serviceaccount.yaml +0 -0
  81. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/002-hooks/build/helm/charts/hello-world/values.yaml +0 -0
  82. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/002-hooks/build/helm/playground/hello-world/test/manifest.yml +0 -0
  83. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/002-hooks/build/helm/playground/hello-world/test/values.yml +0 -0
  84. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/002-hooks/defaults.yml +0 -0
  85. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/002-hooks/hooks/patch.sh +0 -0
  86. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/002-hooks/hooks/patches.d/001-add-env.patch +0 -0
  87. {adeploy-1.3.4 → adeploy-1.3.5}/examples/helm/002-hooks/namespaces/playground/test.yml +0 -0
  88. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/001-general-structure/.exclude-from-test +0 -0
  89. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/001-general-structure/README.md +0 -0
  90. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/001-general-structure/build/jinja/playground/001-general-structure/prod/deployment.yml +0 -0
  91. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/001-general-structure/build/jinja/playground/001-general-structure/prod/job.yml +0 -0
  92. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/001-general-structure/build/jinja/playground/001-general-structure/test/deployment.yml +0 -0
  93. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/001-general-structure/build/jinja/playground/001-general-structure/test/job.yml +0 -0
  94. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/001-general-structure/defaults.yml +0 -0
  95. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/001-general-structure/namespaces/playground/prod/000-common.yml +0 -0
  96. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/001-general-structure/namespaces/playground/prod/010-nginx.yml +0 -0
  97. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/001-general-structure/namespaces/playground/test.yml +0 -0
  98. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/001-general-structure/templates/deployment.yml +0 -0
  99. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/001-general-structure/templates/job.yml +0 -0
  100. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets/README.md +0 -0
  101. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets/build/jinja/002-secrets/secrets/playground/prod/secret-7e33ba97416ba4d45b6ce4c6c68b6aace36eacc5 +0 -0
  102. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets/build/jinja/002-secrets/secrets/playground/prod/secret-e5e0c551a537d65bcea7c18eb47badaf9c09c349 +0 -0
  103. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets/build/jinja/002-secrets/secrets/playground/test/secret-7929a442fae0ceee9eef9558a9a2ef02cc9d4421 +0 -0
  104. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets/build/jinja/002-secrets/secrets/playground/test/secret-f310a9ad786b3fb5f7160436346e69795693b951 +0 -0
  105. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets/build/jinja/playground/002-secrets/prod/deployment.yml +0 -0
  106. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets/build/jinja/playground/002-secrets/test/deployment.yml +0 -0
  107. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets/defaults.yml +0 -0
  108. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets/namespaces/playground/prod.yml +0 -0
  109. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets/namespaces/playground/secrets/my_secret_prod +0 -0
  110. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets/namespaces/playground/secrets/my_secret_test +0 -0
  111. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets/namespaces/playground/test.yml +0 -0
  112. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets/templates/deployment.yml +0 -0
  113. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/README.md +0 -0
  114. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/build/jinja/002-secrets-ingress/secrets/playground/prod/secret-6e1adb2c4c075e35335e851dd6ebc5f0f7397a80 +0 -0
  115. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/build/jinja/002-secrets-ingress/secrets/playground/prod/secret-7e33ba97416ba4d45b6ce4c6c68b6aace36eacc5 +0 -0
  116. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/build/jinja/002-secrets-ingress/secrets/playground/prod/secret-e5e0c551a537d65bcea7c18eb47badaf9c09c349 +0 -0
  117. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/build/jinja/002-secrets-ingress/secrets/playground/test/secret-7929a442fae0ceee9eef9558a9a2ef02cc9d4421 +0 -0
  118. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/build/jinja/002-secrets-ingress/secrets/playground/test/secret-dcf2a6e7bd78ee395f73f6434b19a9044790c00a +0 -0
  119. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/build/jinja/002-secrets-ingress/secrets/playground/test/secret-f310a9ad786b3fb5f7160436346e69795693b951 +0 -0
  120. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/build/jinja/playground/002-secrets-ingress/prod/deployment.yml +0 -0
  121. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/build/jinja/playground/002-secrets-ingress/prod/ingress.yml +0 -0
  122. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/build/jinja/playground/002-secrets-ingress/test/deployment.yml +0 -0
  123. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/build/jinja/playground/002-secrets-ingress/test/ingress.yml +0 -0
  124. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/defaults.yml +0 -0
  125. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/namespaces/playground/prod.yml +0 -0
  126. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/namespaces/playground/secrets/domain_prod/mydomain.com.crt +0 -0
  127. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/namespaces/playground/secrets/domain_prod/mydomain.com.key +0 -0
  128. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/namespaces/playground/secrets/domain_test/mydomain.com.crt +0 -0
  129. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/namespaces/playground/secrets/domain_test/mydomain.com.key +0 -0
  130. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/namespaces/playground/secrets/my_secret_prod +0 -0
  131. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/namespaces/playground/secrets/my_secret_test +0 -0
  132. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/namespaces/playground/test.yml +0 -0
  133. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/templates/deployment.yml +0 -0
  134. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/002-secrets-ingress/templates/ingress.yml +0 -0
  135. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/003-include/README.md +0 -0
  136. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/003-include/build/jinja/playground/003-include/prod/common/configmap.yml +0 -0
  137. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/003-include/build/jinja/playground/003-include/prod/nginx/deployment.yml +0 -0
  138. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/003-include/build/jinja/playground/003-include/prod/redis/deployment.yml +0 -0
  139. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/003-include/build/jinja/playground/003-include/test/common/configmap.yml +0 -0
  140. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/003-include/build/jinja/playground/003-include/test/nginx/deployment.yml +0 -0
  141. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/003-include/build/jinja/playground/003-include/test/redis/deployment.yml +0 -0
  142. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/003-include/defaults.yml +0 -0
  143. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/003-include/namespaces/playground/prod.yml +0 -0
  144. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/003-include/namespaces/playground/test.yml +0 -0
  145. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/003-include/templates/common/__affinity.yml +0 -0
  146. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/003-include/templates/common/__env.yml +0 -0
  147. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/003-include/templates/common/configmap.yml +0 -0
  148. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/003-include/templates/files/conf.d/alpha.json +0 -0
  149. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/003-include/templates/files/conf.d/beta.json +0 -0
  150. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/003-include/templates/files/nginx.conf +0 -0
  151. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/003-include/templates/nginx/deployment.yml +0 -0
  152. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/003-include/templates/redis/deployment.yml +0 -0
  153. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/004-probes/README.md +0 -0
  154. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/004-probes/build/jinja/playground/004-probes/prod/nginx/deployment.yml +0 -0
  155. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/004-probes/build/jinja/playground/004-probes/prod/redis/deployment.yml +0 -0
  156. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/004-probes/build/jinja/playground/004-probes/test/nginx/deployment.yml +0 -0
  157. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/004-probes/build/jinja/playground/004-probes/test/redis/deployment.yml +0 -0
  158. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/004-probes/defaults.yml +0 -0
  159. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/004-probes/namespaces/playground/prod.yml +0 -0
  160. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/004-probes/namespaces/playground/test.yml +0 -0
  161. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/004-probes/templates/nginx/deployment.yml +0 -0
  162. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/004-probes/templates/redis/deployment.yml +0 -0
  163. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/005-labels/README.md +0 -0
  164. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/005-labels/build/jinja/playground/005-labels/prod/deployment.yml +0 -0
  165. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/005-labels/build/jinja/playground/005-labels/test/deployment.yml +0 -0
  166. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/005-labels/defaults.yml +0 -0
  167. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/005-labels/namespaces/playground/prod.yml +0 -0
  168. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/005-labels/namespaces/playground/test.yml +0 -0
  169. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/005-labels/templates/deployment.yml +0 -0
  170. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/006-nested-labels/README.md +0 -0
  171. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/006-nested-labels/build/jinja/playground/006-nested-labels/prod/deployment.yml +0 -0
  172. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/006-nested-labels/build/jinja/playground/006-nested-labels/test/deployment.yml +0 -0
  173. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/006-nested-labels/defaults.yml +0 -0
  174. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/006-nested-labels/namespaces/playground/prod.yml +0 -0
  175. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/006-nested-labels/namespaces/playground/test.yml +0 -0
  176. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/006-nested-labels/templates/deployment.yml +0 -0
  177. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/007-resources/README.md +0 -0
  178. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/007-resources/build/jinja/playground/007-resources/prod/nginx/deployment.yml +0 -0
  179. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/007-resources/build/jinja/playground/007-resources/prod/redis/deployment.yml +0 -0
  180. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/007-resources/build/jinja/playground/007-resources/test/nginx/deployment.yml +0 -0
  181. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/007-resources/build/jinja/playground/007-resources/test/redis/deployment.yml +0 -0
  182. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/007-resources/defaults.yml +0 -0
  183. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/007-resources/namespaces/playground/prod.yml +0 -0
  184. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/007-resources/namespaces/playground/test.yml +0 -0
  185. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/007-resources/templates/nginx/deployment.yml +0 -0
  186. {adeploy-1.3.4 → adeploy-1.3.5}/examples/jinja/007-resources/templates/redis/deployment.yml +0 -0
  187. {adeploy-1.3.4 → adeploy-1.3.5}/mkdocs.yml +0 -0
  188. {adeploy-1.3.4 → adeploy-1.3.5}/pyproject.toml +0 -0
  189. {adeploy-1.3.4 → adeploy-1.3.5}/renovate.json +0 -0
  190. {adeploy-1.3.4 → adeploy-1.3.5}/setup.cfg +0 -0
  191. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/__init__.py +0 -0
  192. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/__main__.py +0 -0
  193. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/__init__.py +0 -0
  194. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/args.py +0 -0
  195. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/colors.py +0 -0
  196. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/deployment.py +0 -0
  197. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/errors.py +0 -0
  198. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/jinja/__init__.py +0 -0
  199. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/jinja/dict.py +0 -0
  200. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/jinja/env.py +0 -0
  201. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/jinja/filters.py +0 -0
  202. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/jinja/globals.py +0 -0
  203. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/logging.py +0 -0
  204. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/provider.py +0 -0
  205. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/secrets/__init__.py +0 -0
  206. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/secrets/docker_registry_secret.py +0 -0
  207. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/secrets/secret.py +0 -0
  208. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/secrets_provider/__init__.py +0 -0
  209. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/secrets_provider/gopass_provider.py +0 -0
  210. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/secrets_provider/plaintext_provider.py +0 -0
  211. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/secrets_provider/provider.py +0 -0
  212. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/secrets_provider/random_provider.py +0 -0
  213. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/secrets_provider/shell_command_provider.py +0 -0
  214. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/version.py +0 -0
  215. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/yaml/__init__.py +0 -0
  216. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/yaml/find.py +0 -0
  217. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/yaml/labels.py +0 -0
  218. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/yaml/probes.py +0 -0
  219. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/yaml/resources.py +0 -0
  220. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/common/yaml/update.py +0 -0
  221. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/main.py +0 -0
  222. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/providers/__init__.py +0 -0
  223. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/providers/helm/README.md +0 -0
  224. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/providers/helm/__init__.py +0 -0
  225. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/providers/helm/common/__init__.py +0 -0
  226. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/providers/helm/common/helm.py +0 -0
  227. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/providers/helm/common/helm_output.py +0 -0
  228. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/providers/helm/common/helm_provider.py +0 -0
  229. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/providers/helm/deployer.py +0 -0
  230. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/providers/helm/renderer.py +0 -0
  231. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/providers/helm/watcher.py +0 -0
  232. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/providers/jinja/README.md +0 -0
  233. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/providers/jinja/__init__.py +0 -0
  234. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/providers/jinja/deployer.py +0 -0
  235. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/providers/jinja/renderer.py +0 -0
  236. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/providers/jinja/tester.py +0 -0
  237. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/steps/__init__.py +0 -0
  238. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/steps/deploy.py +0 -0
  239. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/steps/render.py +0 -0
  240. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy/steps/test.py +0 -0
  241. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy.egg-info/SOURCES.txt +0 -0
  242. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy.egg-info/dependency_links.txt +0 -0
  243. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy.egg-info/entry_points.txt +0 -0
  244. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy.egg-info/requires.txt +0 -0
  245. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy.egg-info/scm_file_list.json +0 -0
  246. {adeploy-1.3.4 → adeploy-1.3.5}/src/adeploy.egg-info/top_level.txt +0 -0
  247. {adeploy-1.3.4 → adeploy-1.3.5}/tests/test_release_fragments.py +0 -0
  248. {adeploy-1.3.4 → adeploy-1.3.5}/uv.lock +0 -0
@@ -109,3 +109,4 @@ venv.bak/
109
109
  .asandbox/
110
110
  bin
111
111
  code-quality-report.json
112
+ Dockerfile.test
@@ -104,3 +104,18 @@ adeploy-test-python3.14:
104
104
  - when: manual
105
105
  allow_failure: true
106
106
 
107
+ adeploy-test-python3.15:
108
+ stage: test
109
+ image: registry.awesome-it.de/upstream-dockerhub/python:3.15
110
+ script:
111
+ - *install_common
112
+ - *install_kubectl
113
+ - *install_adeploy
114
+ - *test_adeploy_jinja
115
+ - *install_helm
116
+ - *test_adeploy_helm
117
+ rules:
118
+ - if: ($CI_MERGE_REQUEST_TARGET_BRANCH_NAME == 'main' || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == 'master')
119
+ - when: manual
120
+ allow_failure: true
121
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: adeploy
3
- Version: 1.3.4
3
+ Version: 1.3.5
4
4
  Summary: Universal deployment tool for Kubernetes that supports rendering and deployment of lightweight Jinja templated k8s manifests as well as complex Helm charts.
5
5
  Author-email: Daniel Morlock <daniel.morlock@awesome-it.de>, Daniel Bross <daniel.bross@awesome-it.de>, Adrian Vielsack <adrian.vielsack@awesome-it.de>, Philip Flohr <philip.flohr@awesome-it.de>
6
6
  License-Expression: BSD-3-Clause
@@ -1,6 +1,6 @@
1
1
  import collections.abc
2
+ import importlib
2
3
  import logging
3
- import os
4
4
  import pkgutil
5
5
  import subprocess
6
6
  from collections import namedtuple
@@ -17,12 +17,18 @@ _log = logging.getLogger(__name__)
17
17
 
18
18
  def get_submodules(pkg):
19
19
  modules = []
20
- for module_finder, name, ispkg in pkgutil.iter_modules(
21
- [os.path.dirname(pkg.__file__)]
22
- ):
23
- module_spec = module_finder.find_spec(name)
24
- module = module_spec.loader.load_module()
25
- class_name = next(filter(lambda m: module.__name__ == m.lower(), dir(module)))
20
+ for _, name, ispkg in _iter_submodules(pkg):
21
+ if ispkg:
22
+ continue
23
+ module = importlib.import_module(f"{pkg.__name__}.{name}")
24
+ class_name = next(
25
+ (m for m in dir(module) if m.lower() == name and m[0].isupper()),
26
+ None,
27
+ )
28
+ if class_name is None:
29
+ _log.debug(f'Skipping submodule "{name}" without matching step class')
30
+ continue
31
+ module.__name__ = name
26
32
  modules.append((module, class_name))
27
33
 
28
34
  return modules
@@ -34,12 +40,9 @@ def get_provider(name):
34
40
 
35
41
  def get_providers() -> dict:
36
42
  found = {}
37
- for module_finder, name, ispkg in pkgutil.iter_modules(
38
- [os.path.dirname(providers.__file__)]
39
- ):
43
+ for _, name, ispkg in _iter_submodules(providers):
40
44
  if ispkg:
41
- module_spec = module_finder.find_spec(name)
42
- module = module_spec.loader.load_module()
45
+ module = importlib.import_module(f"{providers.__name__}.{name}")
43
46
  found[name] = namedtuple("Provider", "renderer tester deployer watcher")(
44
47
  renderer=module.Renderer,
45
48
  tester=module.Tester,
@@ -49,6 +52,15 @@ def get_providers() -> dict:
49
52
  return found
50
53
 
51
54
 
55
+ def _iter_submodules(pkg):
56
+ """List direct submodules/packages of a package.
57
+
58
+ Uses ``pkgutil.iter_modules`` over the package's ``__path__`` to discover
59
+ candidates; each name is later resolved through ``importlib``.
60
+ """
61
+ return pkgutil.iter_modules(pkg.__path__)
62
+
63
+
52
64
  def get_defaults(
53
65
  defaults_files: PosixPath | list[PosixPath],
54
66
  deployment=None,
@@ -116,9 +116,9 @@ def kubectl_create_secret(
116
116
  # Add labels
117
117
  manifest = dict_update_recursive(manifest, {"metadata": {"labels": labels}})
118
118
 
119
- fd = tempfile.NamedTemporaryFile(delete=False, mode="w") # noqa: SIM115
120
- yaml.dump(manifest, fd)
121
- fd.close()
119
+ fd, tmp_path = tempfile.mkstemp(suffix=".yml")
120
+ with os.fdopen(fd, "w") as f:
121
+ yaml.dump(manifest, f)
122
122
 
123
123
  # Apply manifest
124
124
  args = []
@@ -129,9 +129,9 @@ def kubectl_create_secret(
129
129
  args += ["-o", output]
130
130
 
131
131
  try:
132
- result = kubectl(log, ["apply", "-f", fd.name] + args, namespace)
132
+ result = kubectl(log, ["apply", "-f", tmp_path] + args, namespace)
133
133
  finally:
134
- os.remove(fd.name)
134
+ os.remove(tmp_path)
135
135
 
136
136
  return result
137
137
 
@@ -37,14 +37,14 @@ class GenericSecret(Secret):
37
37
  temp_files = []
38
38
  for k, v in self.data.items():
39
39
  data = self.get_value(v, log, dry_run=dry_run)
40
- fd = tempfile.NamedTemporaryFile( # noqa: SIM115
41
- delete=False, mode="wb" if isinstance(data, (bytes, bytearray)) else "w"
42
- )
43
- fd.write(data)
44
- fd.close()
40
+ fd, path = tempfile.mkstemp()
41
+ with os.fdopen(
42
+ fd, "wb" if isinstance(data, (bytes, bytearray)) else "w"
43
+ ) as f:
44
+ f.write(data)
45
45
 
46
- temp_files.append(fd.name)
47
- args.append(f"--from-file={k}={fd.name}")
46
+ temp_files.append(path)
47
+ args.append(f"--from-file={k}={path}")
48
48
 
49
49
  try:
50
50
  result = kubectl_create_secret(
@@ -101,25 +101,25 @@ class TlsSecret(Secret):
101
101
  if dry_run
102
102
  else self.get_value(self.cert, log, dry_run=False)
103
103
  )
104
- cert = tempfile.NamedTemporaryFile( # noqa: SIM115
105
- delete=False,
106
- mode="wb" if isinstance(cert_data, (bytes, bytearray)) else "w",
107
- )
108
- cert.write(cert_data)
109
- cert.close()
110
-
111
104
  key_data = (
112
105
  _DUMMY_DATA_KEY if dry_run else self.get_value(self.key, log, dry_run=False)
113
106
  )
114
- key = tempfile.NamedTemporaryFile( # noqa: SIM115
115
- delete=False, mode="wb" if isinstance(key_data, (bytes, bytearray)) else "w"
116
- )
117
- key.write(key_data)
118
- key.close()
107
+
108
+ cert_fd, cert_path = tempfile.mkstemp(suffix=".crt")
109
+ with os.fdopen(
110
+ cert_fd, "wb" if isinstance(cert_data, (bytes, bytearray)) else "w"
111
+ ) as f:
112
+ f.write(cert_data)
113
+
114
+ key_fd, key_path = tempfile.mkstemp(suffix=".key")
115
+ with os.fdopen(
116
+ key_fd, "wb" if isinstance(key_data, (bytes, bytearray)) else "w"
117
+ ) as f:
118
+ f.write(key_data)
119
119
 
120
120
  args = [
121
- f"--cert={cert.name}",
122
- f"--key={key.name}",
121
+ f"--cert={cert_path}",
122
+ f"--key={key_path}",
123
123
  ]
124
124
 
125
125
  try:
@@ -137,7 +137,7 @@ class TlsSecret(Secret):
137
137
  )
138
138
 
139
139
  finally:
140
- os.remove(cert.name)
141
- os.remove(key.name)
140
+ os.remove(cert_path)
141
+ os.remove(key_path)
142
142
 
143
143
  return result
@@ -125,12 +125,10 @@ class Tester(HelmProvider):
125
125
  with open(manifest_path) as fd_in:
126
126
  for manifest in fd_in.read().split("---\n"):
127
127
  if len(manifest.replace("\n", "").strip()) > 0:
128
- fd_out = tempfile.NamedTemporaryFile( # noqa: SIM115
129
- delete=False, mode="w"
130
- )
131
- fd_out.write(manifest)
132
- fd_out.close()
133
- manifest_files.append(fd_out.name)
128
+ fd_out, path_out = tempfile.mkstemp(suffix=".yml")
129
+ with os.fdopen(fd_out, "w") as f:
130
+ f.write(manifest)
131
+ manifest_files.append(path_out)
134
132
 
135
133
  for single_manifest_path in manifest_files:
136
134
  # Determine destination namespace
@@ -94,7 +94,7 @@ class Watcher(Provider):
94
94
  src_dir=src_dir,
95
95
  build_dir=build_dir,
96
96
  namespaces_dir=self.args.namespaces_dir,
97
- defaults_paths=str(self.args.defaults_path),
97
+ defaults_paths=self.args.defaults,
98
98
  args=self.args,
99
99
  log=self.log,
100
100
  )
@@ -103,7 +103,7 @@ class Watcher(Provider):
103
103
  src_dir=src_dir,
104
104
  build_dir=build_dir,
105
105
  namespaces_dir=self.args.namespaces_dir,
106
- defaults_paths=self.args.defaults_path,
106
+ defaults_paths=self.args.defaults,
107
107
  args=self.args,
108
108
  log=self.log,
109
109
  )
@@ -112,7 +112,7 @@ class Watcher(Provider):
112
112
  src_dir=src_dir,
113
113
  build_dir=build_dir,
114
114
  namespaces_dir=self.args.namespaces_dir,
115
- defaults_paths=self.args.defaults_path,
115
+ defaults_paths=self.args.defaults,
116
116
  args=self.args,
117
117
  log=self.log,
118
118
  )
@@ -159,7 +159,7 @@ class Watcher(Provider):
159
159
  self.create_restart_watcher(
160
160
  path=os.path.join(self.src_dir, self.templates_dir), recursive=True
161
161
  )
162
- self.create_restart_watcher(path=str(self.defaults_path), recursive=False)
162
+ self.create_restart_watcher(path=str(self.defaults_paths[0]), recursive=False)
163
163
  self.log.info("Startup finished. Watching for changes ...")
164
164
  try:
165
165
  while True:
@@ -32,7 +32,7 @@ class Config:
32
32
  src_dir=src_dir,
33
33
  build_dir=build_dir,
34
34
  namespaces_dir=self.args.namespaces_dir,
35
- defaults_paths=self.args.defaults_path,
35
+ defaults_paths=self.args.defaults,
36
36
  args=self.args,
37
37
  log=self.log,
38
38
  **vars(provider.renderer.get_parser().parse_args(config_args)),
@@ -33,7 +33,7 @@ class Watch:
33
33
  src_dir=src_dir,
34
34
  build_dir=build_dir,
35
35
  namespaces_dir=self.args.namespaces_dir,
36
- defaults_paths=self.args.defaults_path,
36
+ defaults_paths=self.args.defaults,
37
37
  args=self.args,
38
38
  log=self.log,
39
39
  provider=provider,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: adeploy
3
- Version: 1.3.4
3
+ Version: 1.3.5
4
4
  Summary: Universal deployment tool for Kubernetes that supports rendering and deployment of lightweight Jinja templated k8s manifests as well as complex Helm charts.
5
5
  Author-email: Daniel Morlock <daniel.morlock@awesome-it.de>, Daniel Bross <daniel.bross@awesome-it.de>, Adrian Vielsack <adrian.vielsack@awesome-it.de>, Philip Flohr <philip.flohr@awesome-it.de>
6
6
  License-Expression: BSD-3-Clause
@@ -1,8 +1,8 @@
1
1
  {
2
- "tag": "1.3.4",
2
+ "tag": "1.3.5",
3
3
  "distance": 0,
4
4
  "node": null,
5
5
  "dirty": false,
6
6
  "branch": "HEAD",
7
- "node_date": "2026-09-07"
7
+ "node_date": "2026-12-01"
8
8
  }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes