Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update deployments yamls with new fields in KE configmap. #565

Open
wants to merge 1 commit into
base: 2022.4
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ data:
AQUA_ME_IMAGE_NAME: "registry.aquasec.com/microenforcer:2022.4"
AQUA_KB_ME_REGISTRY_NAME: "aqua-registry"
AQUA_ENFORCER_DS_NAME: "aqua-agent" #Sets Daemonset name
AQUA_ME_GW_CERT_SECRET_NAME: ""
AQUA_ADMISSION_CONTROL_WHEN_GW_DISCONNECTED: "false"
AQUA_AUTO_WORKLOAD_DISCOVERY: "true"
AQUA_AUTO_WORKLOAD_SCAN: "false" # This option is available only if "AQUA_AUTO_WORKLOAD_DISCOVERY" is true
AQUA_AUTO_CONFIGURE_REGISTRIES: "false" # This option is available only if "AQUA_AUTO_WORKLOAD_DISCOVERY" is true
#Enable Skipping Kube-Bench on nodes based on node labels
# AQUA_NODE_LABELS_TO_SKIP_KB: "" #Comma-separated node-labels for nodes on which Kube-Bench is to be skipped. key1=val1,key2=val2,...

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,21 @@ spec:
value: "aqua-registry"
- name: AQUA_ENFORCER_DS_NAME
value: "aqua-agent" #Sets Daemonset name
- name: AQUA_ME_GW_CERT_SECRET_NAME
value: ""
- name: AQUA_ADMISSION_CONTROL_WHEN_GW_DISCONNECTED
value: "false"
- name: AQUA_AUTO_WORKLOAD_DISCOVERY
value: "true"
- name: AQUA_AUTO_WORKLOAD_SCAN # This option is available only if "AQUA_AUTO_WORKLOAD_DISCOVERY" is true
value: "false"
- name: AQUA_AUTO_CONFIGURE_REGISTRIES # This option is available only if "AQUA_AUTO_WORKLOAD_DISCOVERY" is true
value: "false"
- name: AQUA_ENVOY_MODE
value: "true"
# Enable KA policy scanning via starboard
- name: AQUA_KAP_ADD_ALL_CONTROL
value: "true"
- name: AQUA_WATCH_CONFIG_AUDIT_REPORT
value: "true"
- name: AQUA_LOGICAL_NAME
value: ""
#Enable Skipping Kube-Bench on nodes based on node labels
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,16 @@ spec:
# Enable KA policy scanning via Trivy-Operator
- name: AQUA_KAP_ADD_ALL_CONTROL
value: "true"
- name: AQUA_WATCH_CONFIG_AUDIT_REPORT
- name: AQUA_ME_GW_CERT_SECRET_NAME
value: ""
- name: AQUA_ADMISSION_CONTROL_WHEN_GW_DISCONNECTED
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ManojShastha Can you check if we need to add the property AQUA_ME_GW_CERT_SECRET_NAME in the Trivy-related deployment files? I noticed this property is included in the Starboard deployment files.

value: "false"
- name: AQUA_AUTO_WORKLOAD_DISCOVERY
value: "true"
- name: AQUA_AUTO_WORKLOAD_SCAN # This option is available only if "AQUA_AUTO_WORKLOAD_DISCOVERY" is true
value: "false"
- name: AQUA_AUTO_CONFIGURE_REGISTRIES # This option is available only if "AQUA_AUTO_WORKLOAD_DISCOVERY" is true
value: "false"
- name: AQUA_LOGICAL_NAME
value: ""
#Enable Skipping Kube-Bench on nodes based on node labels
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,14 @@ data:
AQUA_ME_IMAGE_NAME: "registry.aquasec.com/microenforcer:2022.4"
AQUA_KB_ME_REGISTRY_NAME: "aqua-registry"
AQUA_ENFORCER_DS_NAME: "aqua-agent" #Sets Daemonset name
AQUA_ME_GW_CERT_SECRET_NAME: ""
AQUA_ADMISSION_CONTROL_WHEN_GW_DISCONNECTED: "false"
AQUA_AUTO_WORKLOAD_DISCOVERY: "true"
AQUA_AUTO_WORKLOAD_SCAN: "false" # This option is available only if "AQUA_AUTO_WORKLOAD_DISCOVERY" is true
AQUA_AUTO_CONFIGURE_REGISTRIES: "false" # This option is available only if "AQUA_AUTO_WORKLOAD_DISCOVERY" is true
#Enable Skipping Kube-Bench on nodes based on node labels
# AQUA_NODE_LABELS_TO_SKIP_KB: "" #Comma-separated node-labels for nodes on which Kube-Bench is to be skipped. key1=val1,key2=val2,...

# Enable the below Env for mTLS between kube-enforcer and gateway
# AQUA_PUBLIC_KEY: "/opt/aquasec/ssl/aqua_kube-enforcer.crt"
# AQUA_PRIVATE_KEY: "/opt/aquasec/ssl/aqua_kube-enforcer.key"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,16 @@ data:
CLUSTER_NAME: "Default-cluster-name"
# Enable KA policy scanning via Trivy-Operator
AQUA_KAP_ADD_ALL_CONTROL: "true"
AQUA_ME_GW_CERT_SECRET_NAME: ""
AQUA_WATCH_CONFIG_AUDIT_REPORT: "true"
AQUA_KB_IMAGE_NAME: "aquasec/kube-bench:v0.7.3"
AQUA_ME_IMAGE_NAME: "registry.aquasec.com/microenforcer:2022.4"
AQUA_KB_ME_REGISTRY_NAME: "aqua-registry"
AQUA_ENFORCER_DS_NAME: "aqua-agent" #Sets Daemonset name
AQUA_ADMISSION_CONTROL_WHEN_GW_DISCONNECTED: "false"
AQUA_AUTO_WORKLOAD_DISCOVERY: "true"
AQUA_AUTO_WORKLOAD_SCAN: "false" # This option is available only if "AQUA_AUTO_WORKLOAD_DISCOVERY" is true
AQUA_AUTO_CONFIGURE_REGISTRIES: "false" # This option is available only if "AQUA_AUTO_WORKLOAD_DISCOVERY" is true
#Enable Skipping Kube-Bench on nodes based on node labels
# AQUA_NODE_LABELS_TO_SKIP_KB: "" #Comma-separated node-labels for nodes on which Kube-Bench is to be skipped. key1=val1,key2=val2,...

Expand Down