mas-cli 15.1.5__py3-none-any.whl → 15.1.6__py3-none-any.whl
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.
Potentially problematic release.
This version of mas-cli might be problematic. Click here for more details.
- mas/cli/__init__.py +1 -1
- mas/cli/aiservice/install/app.py +2 -0
- mas/cli/aiservice/install/argBuilder.py +2 -0
- mas/cli/aiservice/install/argParser.py +6 -0
- mas/cli/aiservice/install/params.py +1 -1
- mas/cli/cli.py +1 -1
- mas/cli/templates/ibm-mas-tekton.yaml +284 -190
- {mas_cli-15.1.5.dist-info → mas_cli-15.1.6.dist-info}/METADATA +1 -1
- {mas_cli-15.1.5.dist-info → mas_cli-15.1.6.dist-info}/RECORD +12 -12
- {mas_cli-15.1.5.data → mas_cli-15.1.6.data}/scripts/mas-cli +0 -0
- {mas_cli-15.1.5.dist-info → mas_cli-15.1.6.dist-info}/WHEEL +0 -0
- {mas_cli-15.1.5.dist-info → mas_cli-15.1.6.dist-info}/top_level.txt +0 -0
mas/cli/__init__.py
CHANGED
mas/cli/aiservice/install/app.py
CHANGED
|
@@ -661,6 +661,8 @@ class AiServiceInstallApp(BaseApp, aiServiceInstallArgBuilderMixin, aiServiceIns
|
|
|
661
661
|
self.promptForString("RSL url", "rsl_url")
|
|
662
662
|
self.promptForString("ORG Id of RSL", "rsl_org_id")
|
|
663
663
|
self.promptForString("Token for RSL", "rsl_token", isPassword=True)
|
|
664
|
+
if self.yesOrNo("Does the RSL API use a self-signed certificate?"):
|
|
665
|
+
self.promptForString("RSL CA certificate (PEM format)", "rsl_ca_crt")
|
|
664
666
|
|
|
665
667
|
# These are all candidates to centralise in a new mixin used by both install and aiservice-install
|
|
666
668
|
|
|
@@ -171,6 +171,8 @@ class aiServiceInstallArgBuilderMixin():
|
|
|
171
171
|
command += f" --rsl-org-id \"{self.getParam('rsl_org_id')}\"{newline}"
|
|
172
172
|
if self.getParam('rsl_token') != "":
|
|
173
173
|
command += f" --rsl-token \"{self.getParam('rsl_token')}\"{newline}"
|
|
174
|
+
if self.getParam('rsl_ca_crt') != "":
|
|
175
|
+
command += f" --rsl-ca-crt \"{self.getParam('rsl_ca_crt')}\"{newline}"
|
|
174
176
|
|
|
175
177
|
command += " --accept-license --no-confirm"
|
|
176
178
|
return command
|
|
@@ -391,6 +391,12 @@ aibrokerArgGroup.add_argument(
|
|
|
391
391
|
required=False,
|
|
392
392
|
help="token for rsl"
|
|
393
393
|
)
|
|
394
|
+
aibrokerArgGroup.add_argument(
|
|
395
|
+
"--rsl-ca-crt",
|
|
396
|
+
dest="rsl_ca_crt",
|
|
397
|
+
required=False,
|
|
398
|
+
help="CA certificate for RSL API (PEM format, optional, only if using self-signed certs)"
|
|
399
|
+
)
|
|
394
400
|
aibrokerArgGroup.add_argument(
|
|
395
401
|
"--environment-type",
|
|
396
402
|
dest="environment_type",
|
mas/cli/cli.py
CHANGED
|
@@ -117,7 +117,7 @@ class BaseApp(PrintMixin, PromptMixin):
|
|
|
117
117
|
logging.getLogger('asyncio').setLevel(logging.INFO)
|
|
118
118
|
|
|
119
119
|
# Supports extended semver, unlike mas.cli.__version__
|
|
120
|
-
self.version = "15.1.
|
|
120
|
+
self.version = "15.1.6"
|
|
121
121
|
self.h1count = 0
|
|
122
122
|
self.h2count = 0
|
|
123
123
|
|