Skip to content

Commit

Permalink
use NAMESPACE_SELECTOR instead of WEBHOOK_SELECTOR
Browse files Browse the repository at this point in the history
  • Loading branch information
pbalogh-sa committed Sep 23, 2019
1 parent 1a2755c commit 0647620
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion anchore-policy-validator/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@ The following tables lists configurable parameters of the anchore-policy-validat
|externalAnchore.anchorePass |external anchore-engine password |"" |
|rbac.enabled |enable RBAC |true |
|rbac.psp.enabled |add PSP resources if enabled |false |
|webhookSelector |webHookConfig namespaceSelector behaviour |"" (exclude) |
|namespaceSelector |webHookConfig namespaceSelector behaviour |"" (exclude) |
4 changes: 2 additions & 2 deletions anchore-policy-validator/templates/validator-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ spec:
value: {{ .Values.externalAnchore.anchorePass }}
- name: ANCHORE_ENGINE_URL
value: {{ .Values.externalAnchore.anchoreHost }}
- name: WEBHOOK_SELECTOR
value: {{ default "exclude" .Values.webhookSelector }}
- name: NAMESPACE_SELECTOR
value: {{ default "exclude" .Values.namespaceSelector }}
securityContext:
readOnlyRootFilesystem: true
allowPrivilegeEscalation: false
Expand Down
2 changes: 1 addition & 1 deletion anchore-policy-validator/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ externalAnchore:
anchorePass: ""
resources: {}

webhookSelector: ""
namespaceSelector: ""

## Node selector
## ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#nodeselector
Expand Down

0 comments on commit 0647620

Please sign in to comment.