Skip to content
This repository was archived by the owner on Sep 15, 2022. It is now read-only.

Commit ac28bc2

Browse files
author
David Wertenteil
committed
remove specific attributes from configMap
1 parent 4e628bf commit ac28bc2

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

charts/armo-components/templates/armo-kubescape-configmap.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ metadata:
1010
app: {{ .Values.armoKubescape.name }}-config
1111
tier: {{ .Values.global.namespaceTier }}
1212
data:
13-
clusterName: {{ regexReplaceAll "\\W+" .Values.clusterName "-" | lower }} # deprecate
1413
config.json: |
1514
{
1615
"accountID": "{{ .Values.accountGuid }}",

charts/armo-components/templates/armo-vulnScanScheduler-configmap.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if and .Values.armoVulnScanScheduler.enabled .Values.armoKubescape.enabled .Values.armoKubescape.submit }}
1+
{{- if and .Values.armoVulnScanScheduler.enabled .Values.armoKubescape.submit }}
22
kind: ConfigMap
33
apiVersion: v1
44
metadata:
@@ -9,5 +9,5 @@ metadata:
99
tier: {{ .Values.global.namespaceTier }}
1010
data:
1111
request-body.json: |-
12-
{"commands":[{"commandName":"scan","designators":[{"designatorType":"Attributes","attributes":{"cluster":"dwertent","namespace":"systest-ns-ty8m"}}]}]}
12+
{"commands":[{"commandName":"scan","designators":[{"designatorType":"Attributes","attributes":{}}]}]}
1313
{{- end }}

charts/armo-components/templates/armo-vulnScanScheduler-cronjob.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{- if and .Values.armoVulnScanScheduler.enabled .Values.armoKubescape.enabled .Values.armoKubescape.submit }}
1+
{{- if and .Values.armoVulnScanScheduler.enabled .Values.armoKubescape.submit }}
22
{{- if .Capabilities.APIVersions.Has "batch/v1/CronJob" }}
33
apiVersion: batch/v1
44
{{- else }}

0 commit comments

Comments
 (0)