X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=ansible%2Froles%2Fkube_master%2Ftemplates%2Faudit-policy.yaml;fp=ansible%2Froles%2Fkube_master%2Ftemplates%2Faudit-policy.yaml;h=bf66c8e8a2ed8ca410f3ea71c92213b3df65266a;hb=8321feb501701dcb4023e3c052cb6a982d5db3fa;hp=0000000000000000000000000000000000000000;hpb=5c0c2acd0caea77595026e996555547312518395;p=ta%2Fcaas-kubernetes.git diff --git a/ansible/roles/kube_master/templates/audit-policy.yaml b/ansible/roles/kube_master/templates/audit-policy.yaml new file mode 100644 index 0000000..bf66c8e --- /dev/null +++ b/ansible/roles/kube_master/templates/audit-policy.yaml @@ -0,0 +1,23 @@ +{# +Copyright 2019 Nokia + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +#} +--- +apiVersion: audit.k8s.io/v1beta1 +kind: Policy +metadata: + name: kube-apiserver-audit-policy + namespace: kube-system +rules: +- level: Request