![Marcelo Loebens](/assets/img/avatar_default.png)
Included a default entries for the fields: - 'commonName' - default now is <cert_short_name> - 'localities' - default now is <region> - 'organization' - default now is 'starlingx' Where: <region> is the region name <cert_short_name> is an internal proper name used for each of the platform certs. These fields can still be overridden by the user during bootstrap / CA update. The override 'subject_prefix' is now removed. Modified update_platform_certificates.yml playbook to delete/recreate the leaf certificates instead of re-configuring it. In some cases, just re-configuring would not change nested values in the Certificate spec entries. Also, waited for the local OpenLDAP cert to be ready before progressing, avoiding issues with remaining tasks caused by delays in cert-manager. Test plan: PASS: Bootstrap system without overriding 'subject_L', 'subject_O' or 'subject_CN'. Verify that the default fields are included. PASS: W/ default values, test Horizon access. PASS: W/ default values, test access through remote CLI. PASS: W/ default values, test pulling images from the local registry externally (outside the system). PASS: Update platform certificates overriding all 'subject_*' fields. Verify that the overridden values are included in the respective fields. Story: 2009811 Task: 49831 Change-Id: I208c30a6eb2c60397d50e6ea411ee5994fa27f9a Signed-off-by: Marcelo Loebens <Marcelo.DeCastroLoebens@windriver.com>
stx-ansible-playbooks
StarlingX Bootstrap and Deployment Ansible1 Playbooks
Execution environment
- Unix like OS (recent Linux based distributions, MacOS, Cygwin)
- Python 3.8 and later
Additional Required Packages
In addition to the pakages listed in requirements.txt and test-requirements.txt, the following packages are required to run the playbooks remotely:
- python3-pexpect
- python3-ptyprocess
- sshpass
Supported StarlingX Releases
The playbooks are compatible with StarlingX R8.0 and later.
Executing StarlingX Playbooks
Bootstrap Playbook
For instructions on how to set up and execute the bootstrap playbook
from another host, please refer to the StarlingX Documentation2, at
Installation Guides
, section Configure
controller-0 of the respective system deployment type.
Developer Notes
This repository is not intended to be developed standalone, but rather as part of the StarlingX Source System, which is defined by the StarlingX manifest3.
References
Description
Languages
Jinja
81.2%
Python
13.5%
Shell
5.2%