Skip to content

Commit 198d2f9

Browse files
committed
chore: update airgap support
1 parent 24154ab commit 198d2f9

File tree

3 files changed

+301
-345
lines changed

3 files changed

+301
-345
lines changed

ibm_catalog.json

Lines changed: 64 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,20 @@
151151
"description": "Set to `true` to create a Continuous Delivery Service. This is required for running the DevSecOps toolchain pipelines and to successfuly interact with a DevOps Insights integration.",
152152
"required": false
153153
},
154+
{
155+
"key": "project_ci_name",
156+
"required": false,
157+
"type": "string",
158+
"default_value": "CI_Project",
159+
"description": "The name of the IBM Cloud Code Engine CI project."
160+
},
161+
{
162+
"key": "project_cd_name",
163+
"required": false,
164+
"type": "string",
165+
"default_value": "CD_Project",
166+
"description": "The name of the IBM Cloud Code Engine CD project."
167+
},
154168
{
155169
"key": "pipeline_ibmcloud_api_key_secret_name",
156170
"type": "string",
@@ -292,90 +306,20 @@
292306
"description": "Name of the Git token secret in the secret provider used for accessing the sample (or bring your own) application repository.",
293307
"required": false
294308
},
295-
{
296-
"key": "project_names",
297-
"required": false,
298-
"type": "array",
299-
"default_value": ["CI_Project", "CD_Project"],
300-
"description": "The names of the projects to add the IBM Cloud Code Engine."
301-
},
302309
{
303310
"key": "existing_secrets_manager_crn",
304311
"required": false,
305312
"type": "string",
306313
"default_value": "__NULL__",
307314
"description": "The CRN of an existing Secrets Manager instance"
308315
},
309-
{
310-
"key": "autostart",
311-
"required": false,
312-
"type": "boolean",
313-
"default_value": false,
314-
"description": "Set to `true` to automatically run the CI pipeline."
315-
},
316316
{
317317
"key": "create_git_token",
318318
"required": false,
319319
"type": "boolean",
320320
"default_value": false,
321321
"description": "Set to `true` to create a Git Token secret in the speficied Secrets Manager, using the name set in `repo_git_token_secret_name` and the value set in `repo_git_token_secret_value`."
322322
},
323-
{
324-
"key": "custom_app_repo_title",
325-
"type": "string",
326-
"default_value": "",
327-
"description": "(Optional) The title of the server. e.g. My Git Enterprise Server. Applies to the sample application repository, pipeline config repository and additionally the deployment repository of the CD toolchain. Takes precedence over `repo_title`, if also set.",
328-
"required": false
329-
},
330-
{
331-
"key": "custom_app_repo_root_url",
332-
"type": "string",
333-
"default_value": "",
334-
"description": "(Optional) The Root URL of the server. e.g. https://git.example.com. Applies to the sample application repository, pipeline config repository and additionally the deployment repository of the CD toolchain. Takes precedence over `repo_root_url`, if also set.",
335-
"required": false
336-
},
337-
{
338-
"key": "custom_app_repo_blind_connection",
339-
"type": "string",
340-
"default_value": "false",
341-
"description": "Setting this value to `true` means the server is not addressable on the public internet. IBM Cloud will not be able to validate the connection details you provide. Certain functionality that requires API access to the git server will be disabled. Delivery pipeline will only work using a private worker that has network access to the git server.",
342-
"required": false
343-
},
344-
{
345-
"key": "custom_app_repo_git_id",
346-
"type": "string",
347-
"default_value": "",
348-
"description": "The Git ID for the application repositories. Used by the sample application repository, pipeline config repository and additionally the deployment repository of the CD toolchain. Takes precedence for these repositories over the value set in `repo_git_id`.",
349-
"required": false
350-
},
351-
{
352-
"key": "custom_app_repo_group",
353-
"type": "string",
354-
"default_value": "",
355-
"description": "Specify the Git user or group for your application. This must be set if the repository authentication type is `pat` (personal access token). Used by the sample application repository, pipeline config repository and additionally the deployment repository of the CD toolchain. Takes precedence for these repositories over the value set in `repo_group`.",
356-
"required": false
357-
},
358-
{
359-
"key": "custom_app_repo_git_provider",
360-
"type": "string",
361-
"default_value": "",
362-
"description": "The Git provider type. Used by the sample application repository, pipeline config repository and additionally the deployment repository of the CD toolchain. Takes precedence for these repositories over the value set in `repo_git_provider`.",
363-
"required": false
364-
},
365-
{
366-
"key": "custom_app_repo_git_token_secret_name",
367-
"type": "string",
368-
"default_value": "",
369-
"description": "The name of the Git token secret in the secret provider used for accessing the sample application repository, pipeline config repository and additionally the deployment repository of the CD toolchain. Takes precedence for these repositories over the value set in `repo_git_token_secret_name`.",
370-
"required": false
371-
},
372-
{
373-
"key": "custom_app_repo_git_token_secret_value",
374-
"type": "password",
375-
"default_value": "",
376-
"description": "The personal access token that will be added to the `custom_app_repo_git_token_secret_name` secret in the secrets provider. Note if also using `repo_git_token_secret_name` to set a Git Token in Secrets Manager, the names of the secrets must be different.",
377-
"required": false
378-
},
379323
{
380324
"key": "repo_git_token_secret_name",
381325
"required": false,
@@ -397,6 +341,13 @@
397341
"default_value": "",
398342
"description": "The name of the Git repository owner/group. This setting applies to all all the compliance repositories and sample app."
399343
},
344+
{
345+
"key": "repo_apply_settings_to_compliance_repos",
346+
"type": "boolean",
347+
"default_value": true,
348+
"description": "Set to `true` to apply the same settings to all the default compliance repositories. Set to `false` to apply these settings to only the sample application, pipeline config and the deployment repositories.",
349+
"required": false
350+
},
400351
{
401352
"key": "repo_git_provider",
402353
"type": "string",
@@ -542,6 +493,20 @@
542493
"type": "password",
543494
"description": "The private worker service api key that will be added to the `privateworker_credentials_secret_name` secret in the secrets provider.",
544495
"required": false
496+
},
497+
{
498+
"key": "toolchain_access_group_name",
499+
"type": "string",
500+
"default_value": "devsecops-toolchain",
501+
"description": "The name of the DevSecOps access group that is created.",
502+
"required": false
503+
},
504+
{
505+
"key": "use_legacy_ref",
506+
"type": "boolean",
507+
"default_value": true,
508+
"description": "Set to `true` to use the legacy secret reference format for Secrets Manager secrets.",
509+
"required": false
545510
}
546511
],
547512
"outputs": [
@@ -625,13 +590,6 @@
625590
}
626591
}
627592
},
628-
{
629-
"key": "cluster_name",
630-
"type": "string",
631-
"default_value": "mycluster",
632-
"description": "The name of cluster. Treats the dev and prod cluster as the same cluster.",
633-
"required": true
634-
},
635593
{
636594
"key": "prefix",
637595
"type": "string",
@@ -674,6 +632,13 @@
674632
"description": "Set to `true` to create a Continuous Delivery Service. This is required for running the DevSecOps toolchain pipelines and to successfuly interact with a DevOps Insights integration.",
675633
"required": false
676634
},
635+
{
636+
"key": "cluster_name",
637+
"type": "string",
638+
"default_value": "mycluster",
639+
"description": "The name of cluster. Treats the dev and prod cluster as the same cluster.",
640+
"required": true
641+
},
677642
{
678643
"key": "ci_cluster_name",
679644
"type": "string",
@@ -712,7 +677,7 @@
712677
{
713678
"key": "cd_cluster_namespace",
714679
"type": "string",
715-
"default_value": "dev",
680+
"default_value": "prod",
716681
"description": "The name of production cluster namespace.",
717682
"required": false
718683
},
@@ -864,13 +829,6 @@
864829
"default_value": "__NULL__",
865830
"description": "The CRN of an existing Secrets Manager instance"
866831
},
867-
{
868-
"key": "autostart",
869-
"required": false,
870-
"type": "boolean",
871-
"default_value": false,
872-
"description": "Set to `true` to automatically run the CI pipeline."
873-
},
874832
{
875833
"key": "create_git_token",
876834
"required": false,
@@ -900,6 +858,13 @@
900858
"description": "The name of the Git repository owner/group. This setting applies to all all the compliance repositories and sample app."
901859
},
902860
{
861+
"key": "repo_apply_settings_to_compliance_repos",
862+
"type": "boolean",
863+
"default_value": true,
864+
"description": "Set to `true` to apply the same settings to all the default compliance repositories. Set to `false` to apply these settings to only the sample application, pipeline config and the deployment repositories.",
865+
"required": false
866+
},
867+
{
903868
"key": "repo_git_provider",
904869
"type": "string",
905870
"default_value": "",
@@ -1044,6 +1009,20 @@
10441009
"type": "password",
10451010
"description": "The private worker service api key that will be added to the `privateworker_credentials_secret_name` secret in the secrets provider.",
10461011
"required": false
1012+
},
1013+
{
1014+
"key": "toolchain_access_group_name",
1015+
"type": "string",
1016+
"default_value": "devsecops-toolchain",
1017+
"description": "The name of the DevSecOps access group that is created.",
1018+
"required": false
1019+
},
1020+
{
1021+
"key": "use_legacy_ref",
1022+
"type": "boolean",
1023+
"default_value": true,
1024+
"description": "Set to `true` to use the legacy secret reference format for Secrets Manager secrets.",
1025+
"required": false
10471026
}
10481027
],
10491028
"outputs": [

0 commit comments

Comments
 (0)