Skip to content

Commit

Permalink
Upgrade query string to fix vuln
Browse files Browse the repository at this point in the history
  • Loading branch information
jpellizzari committed Nov 30, 2022
1 parent 2c8db32 commit ee693f9
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 10 deletions.
11 changes: 11 additions & 0 deletions charts/gitops-server/templates/admin-user-roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,35 @@ rules:
- apiGroups: ["*"]
resources: ["*"]
verbs: [ "get", "list", "watch" ]

- apiGroups: ["source.toolkit.fluxcd.io"]
resources: [ "buckets", "helmcharts", "gitrepositories", "helmrepositories", "ocirepositories" ]
verbs: [ "get", "list", "watch", "patch" ]

- apiGroups: ["kustomize.toolkit.fluxcd.io"]
resources: [ "kustomizations" ]
verbs: [ "get", "list", "watch", "patch" ]

- apiGroups: ["helm.toolkit.fluxcd.io"]
resources: [ "helmreleases" ]
verbs: [ "get", "list", "watch", "patch" ]

- apiGroups: [ "notification.toolkit.fluxcd.io" ]
resources: [ "providers", "alerts" ]
verbs: [ "get", "list", "watch" ]

- apiGroups: ["infra.contrib.fluxcd.io"]
resources: ["terraforms"]
verbs: [ "get", "list", "watch", "patch" ]

- apiGroups: ["apiextensions.k8s.io"]
resources: ["customresourcedefinitions"]
verbs: ["list", "watch"]

- apiGroups: [ "notification.toolkit.fluxcd.io" ]
resources: [ "providers", "alerts" ]
verbs: [ "get", "list", "watch", "patch" ]

{{- if gt (len $.Values.rbac.additionalRules) 0 -}}
{{- toYaml $.Values.rbac.additionalRules | nindent 2 -}}
{{- end -}}
Expand Down
30 changes: 20 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ee693f9

Please sign in to comment.