Skip to content

Commit

Permalink
In this change, I added keys for Admission Control when GW disconnect…
Browse files Browse the repository at this point in the history
…ed, Enable workload discovery, Register discovered pod images, Add discovered registries.Also removed AQUA_WATCH_CONFIG_AUDIT_REPORT key as it is no longer supported
  • Loading branch information
Vikrant Gaikwad committed Sep 14, 2022
1 parent 3c86538 commit 7641f53
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ data:
CLUSTER_NAME: "Default-cluster-name"
# Enable KA policy scanning via starboard
AQUA_KAP_ADD_ALL_CONTROL: "true"
AQUA_WATCH_CONFIG_AUDIT_REPORT: "true"
AQUA_KB_IMAGE_NAME: "aquasec/kube-bench:v0.6.8"
AQUA_ME_IMAGE_NAME: "registry.aquasec.com/microenforcer:2022.4"
AQUA_KB_ME_REGISTRY_NAME: "aqua-registry"
AQUA_ENFORCER_DS_NAME: "aqua-agent" #Sets Deamonset Name
AQUA_ME_GW_CERT_SECRET_NAME: ""
AQUA_ADMISSION_CONTROL_WHEN_GW_DISCONNECTED: "false"
AQUA_AUTO_WORKLOAD_DISCOVERY: "true"
AQUA_AUTO_WORKLOAD_SCAN: "true"
AQUA_AUTO_CONFIGURE_REGISTRIES: "false"
# 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 @@ -84,13 +84,19 @@ spec:
value: "aqua-agent" #Sets Deamonset 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
value: "true"
- name: AQUA_AUTO_CONFIGURE_REGISTRIES
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: ""
- name: POD_NAME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@ data:
CLUSTER_NAME: "Default-cluster-name"
# Enable KA policy scanning via starboard
AQUA_KAP_ADD_ALL_CONTROL: "true"
AQUA_WATCH_CONFIG_AUDIT_REPORT: "true"
AQUA_KB_IMAGE_NAME: "aquasec/kube-bench:v0.6.8"
AQUA_ME_IMAGE_NAME: "registry.aquasec.com/microenforcer:2022.4"
AQUA_KB_ME_REGISTRY_NAME: "aqua-registry"
AQUA_ENFORCER_DS_NAME: "aqua-agent" #Sets Deamonset Name
AQUA_ME_GW_CERT_SECRET_NAME: ""
AQUA_ADMISSION_CONTROL_WHEN_GW_DISCONNECTED: "false"
AQUA_AUTO_WORKLOAD_DISCOVERY: "true"
AQUA_AUTO_WORKLOAD_SCAN: "true"
AQUA_AUTO_CONFIGURE_REGISTRIES: "false"
# 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 @@ -781,7 +781,6 @@ data:
CLUSTER_NAME: "Default-cluster-name"
# Enable KA policy scanning via starboard
AQUA_KAP_ADD_ALL_CONTROL: "true"
AQUA_WATCH_CONFIG_AUDIT_REPORT: "true"
# 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 @@ -805,7 +805,6 @@ data:
CLUSTER_NAME: "Default-cluster-name"
# Enable KA policy scanning via starboard
AQUA_KAP_ADD_ALL_CONTROL: "true"
AQUA_WATCH_CONFIG_AUDIT_REPORT: "true"
# 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

0 comments on commit 7641f53

Please sign in to comment.