a1e1bfb155
Add missing registryk8s-registry Fix conflict. Add icr-registry and missing ghcr-registry Story: 2010394 Task: 47866 Signed-off-by: Elisamara Aoki Goncalves <elisamaraaoki.goncalves@windriver.com> Change-Id: Iddf5b5c807d1ae1ca5ea342ccce53cc9da2f576e
67 lines
3.4 KiB
ReStructuredText
67 lines
3.4 KiB
ReStructuredText
|
|
.. xss1596546751114
|
|
.. _install-portieris:
|
|
|
|
=================
|
|
Install Portieris
|
|
=================
|
|
|
|
You can install Portieris on |prod| from the command line.
|
|
|
|
.. rubric:: |proc|
|
|
|
|
.. note::
|
|
|
|
For systems upgraded from a previous release, please add service parameters
|
|
for the new icr registry that will contain images used by Portieris. You
|
|
will need to add 1 service parameter for the URL at a minimum: ``system
|
|
service-parameter-add docker icr-registry
|
|
url=myprivateregistry.abc.com:9001/icr.io``.
|
|
|
|
Refer to :ref:`About Changing External Registries for StarlingX
|
|
Installation
|
|
<about-changing-external-registries-for-starlingx-installation>` for more
|
|
details.
|
|
|
|
#. Locate the Portieris tarball in /usr/local/share/applications/helm.
|
|
|
|
For example:
|
|
|
|
/usr/local/share/applications/helm/portieris-<version>.tgz
|
|
|
|
#. Upload the application.
|
|
|
|
.. code-block:: none
|
|
|
|
~(keystone_admin)]$ system application-upload /usr/local/share/applications/helm/portieris-<version>.tgz
|
|
|
|
#. Set caCert helm overrides if applicable.
|
|
|
|
In order to specify registries or notary servers signed by a custom |CA|
|
|
certificate, the caCert: CERTIFICATE override must be added to the
|
|
portieris-certs helm chart. This must be passed as the b64enc of the |CA|
|
|
certificate and may contain 1 or more |CA| Certificates.
|
|
|
|
For example:
|
|
|
|
|
|
#. Create the caCert.yaml override file.
|
|
|
|
.. code-block:: none
|
|
|
|
~(keystone_admin)]$ echo 'caCert: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURYVENDQWtXZ0F3SUJBZ0lKQUpjVHBXcTk4SWNSTUEwR0NTcUdTSWIzRFFFQkN3VUFNRVV4Q3pBSkJn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2dTB0clltRElBMVRaanFtanlncFFiSmlGb0FPa255eHYveURLU0x6TXFNU2JIb0I1K1BhSQpnTERub0F6SnYxbzg3OEpkVllURjIyS2RUTU5wNWtITXVGMnpSTFFxc2lvenJQSUpWMDlVb2VHeHpPQ1pkYzZBCnpUblpCSy9DVTlRcnhVdzhIeDV6SEFVcHdVcGxONUE4MVROUmlMYVFVTXB5dzQ4Y08wNFcyOWY1aFA2aGMwVDMKSDJpU212OWY2K3Q5TjBvTTFuWVh1blgwWNJZll1aERmQy83c3N3eDhWcW5uTlNMN0lkQkhodGxhRHJGRXBzdQpGZzZOODBCbGlDclJiN2FPcUk4TWNjdzlCZW9UUk9uVGxVUU5RQkEzTjAyajJvTlhYL2loVHQvZkhNYlZGUFRQCi9nPT0KLS0tLS1FTkQgQ0VSVElGSUNBVEUtLS0tLQo=' > caCert.yaml
|
|
|
|
#. Apply the override file.
|
|
|
|
.. code-block:: none
|
|
|
|
~(keystone_admin)]$ system helm-override-update portieris portieris-certs portieris --values caCert.yaml
|
|
|
|
#. Apply the application.
|
|
|
|
.. code-block:: none
|
|
|
|
~(keystone_admin)]$ system application-apply portieris
|
|
|
|
|