Skip to content

Commit

Permalink
Merge pull request k8snetworkplumbingwg#165 from zshi-redhat/nri-cont…
Browse files Browse the repository at this point in the history
…rol-switch

NRI: use control switch configmap to enable hugepage injection
  • Loading branch information
adrianchiris authored Jul 20, 2021
2 parents 3ab6c04 + 54e3f2e commit a497982
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 12 additions & 0 deletions bindata/manifests/webhook/004-configmap.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: nri-control-switches
namespace: {{.Namespace}}
data:
config.json: |
{
"features": {
"enableHugePageDownApi": true
}
}
1 change: 0 additions & 1 deletion bindata/manifests/webhook/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ spec:
- -tls-cert-file=/etc/tls/tls.crt
- -alsologtostderr=true
- -insecure=true
- -injectHugepageDownApi=true
env:
- name: NAMESPACE
valueFrom:
Expand Down

0 comments on commit a497982

Please sign in to comment.