Skip to content

Commit

Permalink
add some additional configuration got access controller
Browse files Browse the repository at this point in the history
  • Loading branch information
egid-fertal-inno committed Oct 22, 2024
1 parent befc793 commit 20a99e6
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@ metadata:
| accessController.authServicePort | int | `5051` | |
| accessController.containerPort | int | `80` | |
| accessController.dnsHost | string | `""` | |
| accessController.filterConfiguration.faceOrderConfiguration.enabled | bool | `true` | |
| accessController.filterConfiguration.faceOrderConfiguration.order | int | `1` | |
| accessController.filterConfiguration.openingDebounceConfiguration.openingDebounceEnabled | bool | `true` | |
| accessController.filterConfiguration.openingDebounceConfiguration.openingDebounceMs | int | `4000` | |
| accessController.filterConfiguration.spoofCheckConfiguration.denyingDebounceMs | int | `4000` | |
| accessController.filterConfiguration.spoofCheckConfiguration.enabled | bool | `true` | |
| accessController.image.digest | string | `nil` | Overrides the image tag with an image digest |
| accessController.image.pullPolicy | string | `"IfNotPresent"` | Docker image pull policy |
| accessController.image.registry | string | `nil` | The Docker registry, overrides `global.image.registry` |
Expand Down
12 changes: 12 additions & 0 deletions templates/edge-streams/access-controller-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,18 @@ spec:
value: {{ .Values.accessController.mqttConfig.topic | quote }}
- name: "MQTT__SendImageData"
value: {{ .Values.accessController.mqttConfig.sendImageData | quote }}
- name: "FilterConfiguration__FaceOrderConfiguration__Enabled"
value: {{ .Values.accessController.filterConfiguration.faceOrderConfiguration.enabled | quote }}
- name: "FilterConfiguration__FaceOrderConfiguration__Order"
value: {{ .Values.accessController.filterConfiguration.faceOrderConfiguration.order | quote }}
- name: "FilterConfiguration__OpeningDebounceConfiguration__OpeningDebounceEnabled"
value: {{ .Values.accessController.filterConfiguration.openingDebounceConfiguration.openingDebounceEnabled | quote }}
- name: "FilterConfiguration__OpeningDebounceConfiguration__OpeningDebounceMs"
value: {{ .Values.accessController.filterConfiguration.openingDebounceConfiguration.openingDebounceMs | quote }}
- name: "FilterConfiguration__SpoofCheckConfiguration__Enabled"
value: {{ .Values.accessController.filterConfiguration.spoofCheckConfiguration.enabled | quote }}
- name: "FilterConfiguration__SpoofCheckConfiguration__DenyingDebounceMs"
value: {{ .Values.accessController.filterConfiguration.spoofCheckConfiguration.denyingDebounceMs | quote }}
resources:
{{- toYaml .Values.accessController.resources | nindent 10 }}
volumeMounts:
Expand Down
10 changes: 10 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -739,6 +739,16 @@ accessController:
enabled: true
topic: "edge-stream/{sourceId}/access-notifications/{notificationType}"
sendImageData: false
filterConfiguration:
faceOrderConfiguration:
enabled: true
order: 1
openingDebounceConfiguration:
openingDebounceEnabled: true
openingDebounceMs: 4000
spoofCheckConfiguration:
enabled: true
denyingDebounceMs: 4000

station:
enabled: false
Expand Down

0 comments on commit 20a99e6

Please sign in to comment.