Skip to content

Commit a3f2f7c

Browse files
authored
ci: disable CRA (#13)
1 parent 5eb0682 commit a3f2f7c

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

chart/cloud-pak-deployer/templates/install-job.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ metadata:
66
labels:
77
App: {{ .Values.deployer.prefix }}
88
annotations:
9+
# https://github.com/terraform-ibm-modules/terraform-ibm-cloudpak-data/issues/14
910
checkov.io/skip1: CKV_K8S_10
1011
checkov.io/skip2: CKV_K8S_11
1112
checkov.io/skip3: CKV_K8S_12
@@ -27,6 +28,7 @@ metadata:
2728
checkov.io/skip19: CKV_K8S_16
2829
checkov.io/skip20: CKV_K8S_8
2930
checkov.io/skip21: CKV_K8S_43
31+
checkov.io/skip22: CKV2_K8S_6
3032
spec:
3133
backoffLimit: 0
3234
completions: 1

chart/cloud-pak-deployer/templates/uninstall-job.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ metadata:
99
"helm.sh/hook": pre-delete
1010
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded,hook-failed
1111
"helm.sh/hook-weight": "4"
12+
# https://github.com/terraform-ibm-modules/terraform-ibm-cloudpak-data/issues/14
1213
checkov.io/skip1: CKV_K8S_21
1314
checkov.io/skip2: CKV_K8S_30
1415
checkov.io/skip3: CKV_K8S_28
@@ -29,6 +30,7 @@ metadata:
2930
checkov.io/skip18: CKV_K8S_12
3031
checkov.io/skip19: CKV_K8S_13
3132
checkov.io/skip20: CKV_K8S_14
33+
checkov.io/skip21: CKV2_K8S_6
3234
spec:
3335
parallelism: 1
3436
completions: 1

cra-config.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
#
77

88
version: "v1"
9-
CRA_TARGETS:
10-
- CRA_TARGET: "examples/basic" # Target directory for CRA scan. If not provided, the CRA Scan will not be run.
11-
CRA_IGNORE_RULES_FILE: "cra-tf-validate-ignore-rules.json"
12-
PROFILE_ID: "fe96bd4d-9b37-40f2-b39f-a62760e326a3" # SCC profile ID (currently set to 'IBM Cloud Framework for Financial Services' '1.7.0' profile).
13-
# SCC_INSTANCE_ID: "" # The SCC instance ID to use to download profile for CRA scan. If not provided, a default global value will be used.
14-
# SCC_REGION: "" # The IBM Cloud region that the SCC instance is in. If not provided, a default global value will be used.
15-
CRA_ENVIRONMENT_VARIABLES: # An optional map of environment variables for CRA, where the key is the variable name and value is the value. Useful for providing TF_VARs.
16-
TF_VAR_prefix: "roks-cpd"
17-
TF_VAR_region: "au-syd"
9+
CRA_TARGETS: [] # disable CRA since no SCC instance exists in the test account
10+
# - CRA_TARGET: "examples/basic" # Target directory for CRA scan. If not provided, the CRA Scan will not be run.
11+
# CRA_IGNORE_RULES_FILE: "cra-tf-validate-ignore-rules.json"
12+
# PROFILE_ID: "fe96bd4d-9b37-40f2-b39f-a62760e326a3" # SCC profile ID (currently set to 'IBM Cloud Framework for Financial Services' '1.7.0' profile).
13+
# # SCC_INSTANCE_ID: "" # The SCC instance ID to use to download profile for CRA scan. If not provided, a default global value will be used.
14+
# # SCC_REGION: "" # The IBM Cloud region that the SCC instance is in. If not provided, a default global value will be used.
15+
# CRA_ENVIRONMENT_VARIABLES: # An optional map of environment variables for CRA, where the key is the variable name and value is the value. Useful for providing TF_VARs.
16+
# TF_VAR_prefix: "roks-cpd"
17+
# TF_VAR_region: "au-syd"

0 commit comments

Comments
 (0)