From 98f63feb05589d4876812c0a5b8bcb190dbdbfa7 Mon Sep 17 00:00:00 2001 From: Matt Rogers Date: Wed, 13 Nov 2024 11:31:28 +0000 Subject: [PATCH] fix: enable apprisk by default --- .../broker_deployment_disablesuffixes_test.yaml.snap | 8 ++++++++ ...r_deployment_ingress_disablesuffixes_test.yaml.snap | 2 ++ .../broker_deployment_ingress_test.yaml.snap | 2 ++ .../broker_deployment_scm_token_pool_test.yaml.snap | 6 ++++++ .../__snapshot__/broker_deployment_test.yaml.snap | 10 ++++++++++ charts/snyk-broker/values.yaml | 2 +- 6 files changed, 29 insertions(+), 1 deletion(-) diff --git a/charts/snyk-broker/tests/__snapshot__/broker_deployment_disablesuffixes_test.yaml.snap b/charts/snyk-broker/tests/__snapshot__/broker_deployment_disablesuffixes_test.yaml.snap index 3bc0e09..937e291 100644 --- a/charts/snyk-broker/tests/__snapshot__/broker_deployment_disablesuffixes_test.yaml.snap +++ b/charts/snyk-broker/tests/__snapshot__/broker_deployment_disablesuffixes_test.yaml.snap @@ -54,6 +54,8 @@ HA mode on: value: "true" - name: ACCEPT_IAC value: tf,yaml,yml,json,tpl + - name: ACCEPT_APPRISK + value: "true" - name: BROKER_HA_MODE_ENABLED value: "true" - name: BROKER_DISPATCHER_BASE_URL @@ -203,6 +205,8 @@ HA mode on with 4 replicas: value: "true" - name: ACCEPT_IAC value: tf,yaml,yml,json,tpl + - name: ACCEPT_APPRISK + value: "true" - name: BROKER_HA_MODE_ENABLED value: "true" - name: BROKER_DISPATCHER_BASE_URL @@ -352,6 +356,8 @@ default values: value: "true" - name: ACCEPT_IAC value: tf,yaml,yml,json,tpl + - name: ACCEPT_APPRISK + value: "true" - name: BROKER_DISPATCHER_BASE_URL value: https://api.test.snyk.io image: snyk/broker:github-com @@ -499,6 +505,8 @@ preflight checks off: value: "true" - name: ACCEPT_IAC value: tf,yaml,yml,json,tpl + - name: ACCEPT_APPRISK + value: "true" - name: PREFLIGHT_CHECKS_ENABLED value: "false" - name: BROKER_DISPATCHER_BASE_URL diff --git a/charts/snyk-broker/tests/__snapshot__/broker_deployment_ingress_disablesuffixes_test.yaml.snap b/charts/snyk-broker/tests/__snapshot__/broker_deployment_ingress_disablesuffixes_test.yaml.snap index 0283307..8970674 100644 --- a/charts/snyk-broker/tests/__snapshot__/broker_deployment_ingress_disablesuffixes_test.yaml.snap +++ b/charts/snyk-broker/tests/__snapshot__/broker_deployment_ingress_disablesuffixes_test.yaml.snap @@ -54,6 +54,8 @@ ingress: value: "true" - name: ACCEPT_IAC value: tf,yaml,yml,json,tpl + - name: ACCEPT_APPRISK + value: "true" - name: BROKER_DISPATCHER_BASE_URL value: https://api.test.snyk.io image: snyk/broker:github-com diff --git a/charts/snyk-broker/tests/__snapshot__/broker_deployment_ingress_test.yaml.snap b/charts/snyk-broker/tests/__snapshot__/broker_deployment_ingress_test.yaml.snap index df7d27f..88eb7b6 100644 --- a/charts/snyk-broker/tests/__snapshot__/broker_deployment_ingress_test.yaml.snap +++ b/charts/snyk-broker/tests/__snapshot__/broker_deployment_ingress_test.yaml.snap @@ -54,6 +54,8 @@ ingress: value: "true" - name: ACCEPT_IAC value: tf,yaml,yml,json,tpl + - name: ACCEPT_APPRISK + value: "true" - name: BROKER_DISPATCHER_BASE_URL value: https://api.test.snyk.io image: snyk/broker:github-com diff --git a/charts/snyk-broker/tests/__snapshot__/broker_deployment_scm_token_pool_test.yaml.snap b/charts/snyk-broker/tests/__snapshot__/broker_deployment_scm_token_pool_test.yaml.snap index cbf50db..d25a466 100644 --- a/charts/snyk-broker/tests/__snapshot__/broker_deployment_scm_token_pool_test.yaml.snap +++ b/charts/snyk-broker/tests/__snapshot__/broker_deployment_scm_token_pool_test.yaml.snap @@ -59,6 +59,8 @@ github token pool configured: value: "true" - name: ACCEPT_IAC value: tf,yaml,yml,json,tpl + - name: ACCEPT_APPRISK + value: "true" - name: BROKER_DISPATCHER_BASE_URL value: https://api.test.snyk.io image: snyk/broker:github-com @@ -219,6 +221,8 @@ github token pool configured with enabled useExternalSecretScmTokenPool: value: "true" - name: ACCEPT_IAC value: tf,yaml,yml,json,tpl + - name: ACCEPT_APPRISK + value: "true" - name: BROKER_DISPATCHER_BASE_URL value: https://api.test.snyk.io image: snyk/broker:github-com @@ -373,6 +377,8 @@ gitlab token pool configured: value: "true" - name: ACCEPT_IAC value: tf,yaml,yml,json,tpl + - name: ACCEPT_APPRISK + value: "true" - name: BROKER_DISPATCHER_BASE_URL value: https://api.test.snyk.io image: snyk/broker:gitlab diff --git a/charts/snyk-broker/tests/__snapshot__/broker_deployment_test.yaml.snap b/charts/snyk-broker/tests/__snapshot__/broker_deployment_test.yaml.snap index 6ed929e..fc1dccf 100644 --- a/charts/snyk-broker/tests/__snapshot__/broker_deployment_test.yaml.snap +++ b/charts/snyk-broker/tests/__snapshot__/broker_deployment_test.yaml.snap @@ -54,6 +54,8 @@ HA mode on: value: "true" - name: ACCEPT_IAC value: tf,yaml,yml,json,tpl + - name: ACCEPT_APPRISK + value: "true" - name: BROKER_HA_MODE_ENABLED value: "true" - name: BROKER_DISPATCHER_BASE_URL @@ -203,6 +205,8 @@ HA mode on with 4 replicas: value: "true" - name: ACCEPT_IAC value: tf,yaml,yml,json,tpl + - name: ACCEPT_APPRISK + value: "true" - name: BROKER_HA_MODE_ENABLED value: "true" - name: BROKER_DISPATCHER_BASE_URL @@ -356,6 +360,8 @@ HTTPS enabled: value: "true" - name: ACCEPT_IAC value: tf,yaml,yml,json,tpl + - name: ACCEPT_APPRISK + value: "true" - name: BROKER_DISPATCHER_BASE_URL value: https://api.test.snyk.io image: snyk/broker:github-com @@ -518,6 +524,8 @@ default values: value: "true" - name: ACCEPT_IAC value: tf,yaml,yml,json,tpl + - name: ACCEPT_APPRISK + value: "true" - name: BROKER_DISPATCHER_BASE_URL value: https://api.test.snyk.io image: snyk/broker:github-com @@ -665,6 +673,8 @@ preflight checks off: value: "true" - name: ACCEPT_IAC value: tf,yaml,yml,json,tpl + - name: ACCEPT_APPRISK + value: "true" - name: PREFLIGHT_CHECKS_ENABLED value: "false" - name: BROKER_DISPATCHER_BASE_URL diff --git a/charts/snyk-broker/values.yaml b/charts/snyk-broker/values.yaml index 4283502..9d56726 100644 --- a/charts/snyk-broker/values.yaml +++ b/charts/snyk-broker/values.yaml @@ -219,7 +219,7 @@ crImage: "latest" ##### AppRisk ##### # Set to 'true' to enable AppRisk -enableAppRisk: "" +enableAppRisk: "true" ##### Code Agent #####