-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial changes for 1.11 helm chart changes
Signed-off-by: anushkamittal2001 <[email protected]>
- Loading branch information
1 parent
5b8c630
commit 24147a9
Showing
23 changed files
with
457 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
195 changes: 195 additions & 0 deletions
195
charts/nirmata/templates/admission-controller/flowschema.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,195 @@ | ||
{{- if .Values.admissionController.apiPriorityAndFairness }} | ||
apiVersion: {{ template "kyverno.flowcontrol.apiVersion" . }} | ||
kind: FlowSchema | ||
metadata: | ||
name: {{ template "kyverno.admission-controller.name" . }} | ||
labels: | ||
{{- include "kyverno.admission-controller.labels" . | nindent 4 }} | ||
spec: | ||
priorityLevelConfiguration: | ||
name: {{ template "kyverno.admission-controller.name" . }} | ||
rules: | ||
- resourceRules: | ||
- apiGroups: | ||
- admissionregistration.k8s.io | ||
clusterScope: true | ||
resources: | ||
- mutatingwebhookconfigurations | ||
- validatingwebhookconfigurations | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- deletecollection | ||
- apiGroups: | ||
- rbac.authorization.k8s.io | ||
clusterScope: true | ||
resources: | ||
- clusterroles | ||
- clusterrolebindings | ||
verbs: | ||
- watch | ||
- list | ||
- apiGroups: | ||
- rbac.authorization.k8s.io | ||
namespaces: | ||
- '*' | ||
resources: | ||
- roles | ||
- rolebindings | ||
verbs: | ||
- watch | ||
- list | ||
- apiGroups: | ||
- kyverno.io | ||
clusterScope: true | ||
resources: | ||
- clusterpolicies | ||
- clusterpolicies/status | ||
- clusteradmissionreports | ||
- clusterbackgroundscanreports | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- deletecollection | ||
- apiGroups: | ||
- kyverno.io | ||
namespaces: | ||
- '*' | ||
resources: | ||
- policies | ||
- policies/status | ||
- updaterequests | ||
- updaterequests/status | ||
- admissionreports | ||
- backgroundscanreports | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- deletecollection | ||
- apiGroups: | ||
- wgpolicyk8s.io | ||
clusterScope: true | ||
resources: | ||
- clusterpolicyreports | ||
- clusterpolicyreports/status | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- deletecollection | ||
- apiGroups: | ||
- wgpolicyk8s.io | ||
namespaces: | ||
- '*' | ||
resources: | ||
- policyreports | ||
- policyreports/status | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- list | ||
- patch | ||
- update | ||
- watch | ||
- deletecollection | ||
- apiGroups: | ||
- "" | ||
- events.k8s.io | ||
namespaces: | ||
- '*' | ||
resources: | ||
- events | ||
verbs: | ||
- create | ||
- update | ||
- patch | ||
- apiGroups: | ||
- authorization.k8s.io | ||
clusterScope: true | ||
resources: | ||
- subjectaccessreviews | ||
verbs: | ||
- create | ||
- apiGroups: | ||
- '*' | ||
namespaces: | ||
- '*' | ||
resources: | ||
- '*' | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- '' | ||
namespaces: | ||
- {{ template "kyverno.namespace" . }} | ||
resources: | ||
- secrets | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- apiGroups: | ||
- '' | ||
namespaces: | ||
- {{ template "kyverno.namespace" . }} | ||
resources: | ||
- configmaps | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- apiGroups: | ||
- coordination.k8s.io | ||
namespaces: | ||
- {{ template "kyverno.namespace" . }} | ||
resources: | ||
- leases | ||
verbs: | ||
- create | ||
- delete | ||
- get | ||
- patch | ||
- update | ||
- apiGroups: | ||
- apps | ||
namespaces: | ||
- {{ template "kyverno.namespace" . }} | ||
resources: | ||
- deployments | ||
- deployments/scale | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- patch | ||
- update | ||
subjects: | ||
- kind: ServiceAccount | ||
serviceAccount: | ||
name: {{ template "kyverno.admission-controller.serviceAccountName" . }} | ||
namespace: {{ template "kyverno.namespace" . }} | ||
{{- end }} |
2 changes: 1 addition & 1 deletion
2
charts/nirmata/templates/admission-controller/poddisruptionbudget.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.