airshipctl/playbooks
Vladislav Kuzmin 8dba799c18 Add secrets generator phase
This phase builded on top of generic executor container.
It uses kustomize generator to generate secrets
and SOPS function to encrypt secrets.

Usage:
    1. `curl -fsSL -o key.asc https://raw.githubusercontent.com/mozilla/sops/master/pgp/sops_functional_tests_key.asc`
       Copy existing key from sops project
    2. `export SOPS_IMPORT_PGP="$(cat key.asc)" && export SOPS_PGP_FP="FBC7B9E2A4F9289AC0C1D4843D16CEE4A27381B4"`
    3. `airshipctl phase run secret-generate`
        It will generate and encrypt secret in
        manifests/site/test-site/target/generator/results/generated/
    4. `KUSTOMIZE_PLUGIN_HOME=$(pwd)/manifests SOPS_IMPORT_PGP=$(cat key.asc) kustomize build --enable_alpha_plugins
        manifests/site/test-site/target/catalogues/ > output.txt`
	It will decrypt encrypted secret

Co-authored-by: Alexey Odinokov <aodinokov@mirantis.com>
Change-Id: I1682d71b7805eb36c407e712dcb747de799bc8bb
Relates-To: #379
2021-01-14 18:57:15 +00:00
..
files Check if commit is linked to github issue 2020-11-06 18:45:34 +00:00
vars Add secrets generator phase 2021-01-14 18:57:15 +00:00
airship-airshipctl-build-gate.yaml Update IPA packages in ironic 2020-12-10 15:07:04 +00:00
airship-airshipctl-build-images.yaml [#106] Add docker install role 2020-03-23 15:25:15 -05:00
airship-airshipctl-check-github-issues.yaml Check if commit is linked to github issue 2020-11-06 18:45:34 +00:00
airship-airshipctl-deploy-docker.yaml [#106] Add docker install role 2020-03-23 15:25:15 -05:00
airship-airshipctl-deploy-existing-k8s.yaml [#70] Resolve kubectl gate errors 2020-03-10 19:15:07 +00:00
airship-airshipctl-functional-existing-k8s.yaml Use in repo docker-install instead of install-docker from zuul-jobs 2020-05-08 18:59:00 +02:00
airship-airshipctl-golint.yaml Add golint as a non-voting gate 2020-05-29 11:40:45 -05:00
airship-airshipctl-lint.yaml Separate lint job from the test 2020-11-05 22:35:32 +00:00
airship-airshipctl-publish-images.yaml [#33] Publish airshipctl image on Quay 2020-02-26 10:49:22 -06:00
airship-airshipctl-unit.yaml Separate lint job from the test 2020-11-05 22:35:32 +00:00
airship-airshipctl-update-github-issues.yaml Use token for github Authentication 2020-10-26 13:44:27 +00:00
airship-airshipctl-validate-documents.yaml Add site doc validation gate 2020-06-04 18:04:47 -05:00
airship-collect-azure-logs.yaml Integration of Azure provider to Airship 2.0 2020-10-05 19:27:31 +00:00
airship-collect-logs.yaml Collect description of k8s object to job logs 2020-10-23 11:58:29 -05:00
airshipctl-gate-runner.yaml Add secrets generator phase 2021-01-14 18:57:15 +00:00
get-vm-config.yaml Add secrets generator phase 2021-01-14 18:57:15 +00:00