Skip to content

Commit 9a0c66c

Browse files
authored
feat: add ibmcloud_api prop, update to new secret ref, update to latest 272 alm (#111)
1 parent f23d653 commit 9a0c66c

File tree

3 files changed

+38
-2
lines changed

3 files changed

+38
-2
lines changed

ibm_catalog.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,13 @@
319319
"default_value": false,
320320
"description": "Set to `true` to force create a standard api key. By default the generated apikey will be a service api key. It is recommended to use a Git Token when using the service api key. In the case where the user has been invited to an account and that user not the account owner, during toolchain creation the default compliance repositories will be created in that user's account and the service api will not have access to those repositories. In this case a Git Token for the repositories is required. See `repo_git_token_secret_name` for more details. The alternative is to set `force_create_standard_api_key` to `true` to create a standard api key.",
321321
"required": false
322+
},
323+
{
324+
"key": "ibmcloud_api",
325+
"type": "string",
326+
"default_value": "",
327+
"description": "The environment URL. When left unset this will default to `https://cloud.ibm.com`",
328+
"required": false
322329
},
323330
{
324331
"key": "create_git_token",
@@ -842,6 +849,13 @@
842849
"default_value": false,
843850
"description": "Set to `true` to force create a standard api key. By default the generated apikey will be a service api key. It is recommended to use a Git Token when using the service api key. In the case where the user has been invited to an account and that user not the account owner, during toolchain creation the default compliance repositories will be created in that user's account and the service api will not have access to those repositories. In this case a Git Token for the repositories is required. See `repo_git_token_secret_name` for more details. The alternative is to set `force_create_standard_api_key` to `true` to create a standard api key.",
844851
"required": false
852+
},
853+
{
854+
"key": "ibmcloud_api",
855+
"type": "string",
856+
"default_value": "",
857+
"description": "The environment URL. When left unset this will default to `https://cloud.ibm.com`",
858+
"required": false
845859
},
846860
{
847861
"key": "create_git_token",

kubernetes/stack_definition.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@
5959
"hidden": false,
6060
"default": ""
6161
},
62+
{
63+
"name": "ibmcloud_api",
64+
"required": false,
65+
"type": "string",
66+
"hidden": false,
67+
"default": ""
68+
},
6269
{
6370
"name": "registry_namespace",
6471
"required": false,
@@ -651,7 +658,7 @@
651658
},
652659
{
653660
"name": "7 - DevSecOps Toolchains",
654-
"version_locator": "1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc.dbe53da3-d4cf-41ce-9f60-553aab0a2014-global",
661+
"version_locator": "1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc.40c697e5-a339-4bf2-90ed-c598f103c16b-global",
655662
"inputs": [
656663
{
657664
"name": "ibmcloud_api_key",
@@ -701,6 +708,10 @@
701708
"name": "cos_instance_crn",
702709
"value": "ref:../../members/2 - Cloud Object Storage/outputs/cos_instance_id"
703710
},
711+
{
712+
"name" : "ibmcloud_api",
713+
"value" : "ref:../../inputs/ibmcloud_api"
714+
},
704715
{
705716
"name" : "registry_namespace",
706717
"value" : "ref:../../inputs/registry_namespace"

stack_definition.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@
5959
"hidden": false,
6060
"default": ""
6161
},
62+
{
63+
"name": "ibmcloud_api",
64+
"required": false,
65+
"type": "string",
66+
"hidden": false,
67+
"default": ""
68+
},
6269
{
6370
"name": "registry_namespace",
6471
"required": false,
@@ -612,7 +619,7 @@
612619
},
613620
{
614621
"name": "7 - DevSecOps Toolchains",
615-
"version_locator": "1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc.1b108206-4284-4b9d-b6b7-1a613bebe627-global",
622+
"version_locator": "1082e7d2-5e2f-0a11-a3bc-f88a8e1931fc.3bf38800-70e9-40db-aeca-016c9911364f-global",
616623
"inputs": [
617624
{
618625
"name": "ibmcloud_api_key",
@@ -662,6 +669,10 @@
662669
"name": "cos_instance_crn",
663670
"value": "ref:../../members/2 - Cloud Object Storage/outputs/cos_instance_id"
664671
},
672+
{
673+
"name" : "ibmcloud_api",
674+
"value" : "ref:../../inputs/ibmcloud_api"
675+
},
665676
{
666677
"name": "registry_namespace",
667678
"value": "ref:../../inputs/registry_namespace"

0 commit comments

Comments
 (0)