Skip to content

Commit

Permalink
added urls to ks config and increase limits of ks (#188) (#189)
Browse files Browse the repository at this point in the history
Signed-off-by: Amir Malka <[email protected]>
  • Loading branch information
amirmalka authored Jun 7, 2023
1 parent a02c1a6 commit 8751b35
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
4 changes: 2 additions & 2 deletions labs/kubescape-relevancy/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ type: application
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)

version: 2.0.16
version: 2.0.17

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.

appVersion: 2.0.16
appVersion: 2.0.17

maintainers:
- name: Ben Hirschberg
Expand Down
4 changes: 4 additions & 0 deletions labs/kubescape-relevancy/templates/kubescape/configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ data:
config.json: |
{
"accountID": "{{ .Values.account }}",
"cloudReportURL": "{{ .Values.kubescape.urls.report }}",
"cloudAPIURL": "{{ .Values.kubescape.urls.api }}",
"cloudUIURL": "{{ .Values.kubescape.urls.ui }}",
"cloudAuthURL": "{{ .Values.kubescape.urls.auth }}",
"clusterName": "{{ regexReplaceAll "\\W+" .Values.clusterName "-" }}",
"clientID": "{{ .Values.clientID }}",
"secretKey": "{{ .Values.secretKey }}"
Expand Down
9 changes: 8 additions & 1 deletion labs/kubescape-relevancy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,14 @@ kubescape:
memory: 400Mi
limits:
cpu: 600m
memory: 800Mi
memory: 1Gi

# -- override the default URLs when using private cloud
urls:
report: ""
api: ""
ui: ""
auth: ""

# -- set the number of concurrent goroutines to process OPA rules
ruleProcessingConcurrency: 1
Expand Down

0 comments on commit 8751b35

Please sign in to comment.