Skip to content

Commit

Permalink
Reverse order of NAPDOS maxDaemons and maxWorkers in Helm chart
Browse files Browse the repository at this point in the history
  • Loading branch information
ciarams87 committed May 17, 2023
1 parent 21f9d8f commit bcd7db9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions deployments/helm-chart/templates/controller-daemonset.yaml
Expand Up @@ -171,8 +171,8 @@ spec:
- -enable-app-protect-dos={{ .Values.controller.appprotectdos.enable }}
{{- if .Values.controller.appprotectdos.enable }}
- -app-protect-dos-debug={{ .Values.controller.appprotectdos.debug }}
- -app-protect-dos-max-daemons={{ .Values.controller.appprotectdos.maxWorkers }}
- -app-protect-dos-max-workers={{ .Values.controller.appprotectdos.maxDaemons }}
- -app-protect-dos-max-daemons={{ .Values.controller.appprotectdos.maxDaemons }}
- -app-protect-dos-max-workers={{ .Values.controller.appprotectdos.maxWorkers }}
- -app-protect-dos-memory={{ .Values.controller.appprotectdos.memory }}
{{ end }}
- -nginx-configmaps=$(POD_NAMESPACE)/{{ include "nginx-ingress.configName" . }}
Expand Down
4 changes: 2 additions & 2 deletions deployments/helm-chart/templates/controller-deployment.yaml
Expand Up @@ -176,8 +176,8 @@ spec:
- -enable-app-protect-dos={{ .Values.controller.appprotectdos.enable }}
{{- if .Values.controller.appprotectdos.enable }}
- -app-protect-dos-debug={{ .Values.controller.appprotectdos.debug }}
- -app-protect-dos-max-daemons={{ .Values.controller.appprotectdos.maxWorkers }}
- -app-protect-dos-max-workers={{ .Values.controller.appprotectdos.maxDaemons }}
- -app-protect-dos-max-daemons={{ .Values.controller.appprotectdos.maxDaemons }}
- -app-protect-dos-max-workers={{ .Values.controller.appprotectdos.maxWorkers }}
- -app-protect-dos-memory={{ .Values.controller.appprotectdos.memory }}
{{ end }}
- -nginx-configmaps=$(POD_NAMESPACE)/{{ include "nginx-ingress.configName" . }}
Expand Down

0 comments on commit bcd7db9

Please sign in to comment.