Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions chart/cloud-pak-deployer/templates/install-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ metadata:
labels:
App: {{ .Values.deployer.prefix }}
annotations:
# https://github.com/terraform-ibm-modules/terraform-ibm-cloudpak-data/issues/14
checkov.io/skip1: CKV_K8S_10
checkov.io/skip2: CKV_K8S_11
checkov.io/skip3: CKV_K8S_12
Expand All @@ -27,6 +28,7 @@ metadata:
checkov.io/skip19: CKV_K8S_16
checkov.io/skip20: CKV_K8S_8
checkov.io/skip21: CKV_K8S_43
checkov.io/skip22: CKV2_K8S_6
spec:
backoffLimit: 0
completions: 1
Expand Down
2 changes: 2 additions & 0 deletions chart/cloud-pak-deployer/templates/uninstall-job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ metadata:
"helm.sh/hook": pre-delete
"helm.sh/hook-delete-policy": before-hook-creation,hook-succeeded,hook-failed
"helm.sh/hook-weight": "4"
# https://github.com/terraform-ibm-modules/terraform-ibm-cloudpak-data/issues/14
checkov.io/skip1: CKV_K8S_21
checkov.io/skip2: CKV_K8S_30
checkov.io/skip3: CKV_K8S_28
Expand All @@ -29,6 +30,7 @@ metadata:
checkov.io/skip18: CKV_K8S_12
checkov.io/skip19: CKV_K8S_13
checkov.io/skip20: CKV_K8S_14
checkov.io/skip21: CKV2_K8S_6
spec:
parallelism: 1
completions: 1
Expand Down
18 changes: 9 additions & 9 deletions cra-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
#

version: "v1"
CRA_TARGETS:
- CRA_TARGET: "examples/basic" # Target directory for CRA scan. If not provided, the CRA Scan will not be run.
CRA_IGNORE_RULES_FILE: "cra-tf-validate-ignore-rules.json"
PROFILE_ID: "fe96bd4d-9b37-40f2-b39f-a62760e326a3" # SCC profile ID (currently set to 'IBM Cloud Framework for Financial Services' '1.7.0' profile).
# 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.
# SCC_REGION: "" # The IBM Cloud region that the SCC instance is in. If not provided, a default global value will be used.
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.
TF_VAR_prefix: "roks-cpd"
TF_VAR_region: "au-syd"
CRA_TARGETS: [] # disable CRA since no SCC instance exists in the test account
# - CRA_TARGET: "examples/basic" # Target directory for CRA scan. If not provided, the CRA Scan will not be run.
# CRA_IGNORE_RULES_FILE: "cra-tf-validate-ignore-rules.json"
# PROFILE_ID: "fe96bd4d-9b37-40f2-b39f-a62760e326a3" # SCC profile ID (currently set to 'IBM Cloud Framework for Financial Services' '1.7.0' profile).
# # 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.
# # SCC_REGION: "" # The IBM Cloud region that the SCC instance is in. If not provided, a default global value will be used.
# 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.
# TF_VAR_prefix: "roks-cpd"
# TF_VAR_region: "au-syd"