Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@ repos:
rev: v6.0.0
hooks:
- id: trailing-whitespace
exclude: (^operators/|^tests/results/|\.avdl$|_generated.go$)
exclude: (^tests/results/|\.avdl$|_generated.go$)
- id: end-of-file-fixer
exclude: (^operators/)
- id: check-yaml
args: [--allow-multiple-documents]
exclude: (^operators/|^charts/nginx-gateway-fabric/templates)
- id: check-added-large-files
exclude: (^operators/)
exclude: (^charts/nginx-gateway-fabric/templates)
- id: check-merge-conflict
- id: check-case-conflict
- id: check-vcs-permalinks
Expand All @@ -26,7 +23,7 @@ repos:
args: [--fix=lf]
- id: no-commit-to-branch
- id: detect-private-key
exclude: (^operators/|^examples/|^docs/|.*_test.go$)
exclude: (^examples/|^docs/|.*_test.go$)

- repo: https://github.com/gitleaks/gitleaks
rev: v8.28.0
Expand Down
6 changes: 2 additions & 4 deletions .yamllint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ ignore:
- config/crd/bases/
- deploy
- site/static
- operators/

rules:
braces: enable
Expand All @@ -18,7 +17,6 @@ rules:
comments-indentation:
ignore: |
charts/nginx-gateway-fabric/values.yaml
operators/
document-end: disable
document-start: disable
empty-lines: enable
Expand All @@ -30,7 +28,7 @@ rules:
indent-sequences: consistent
check-multi-line-strings: true
ignore: |
operators/
operators/**/*
key-duplicates: enable
key-ordering: disable
line-length:
Expand All @@ -42,6 +40,7 @@ rules:
tests/suite/manifests/longevity/cronjob.yaml
.goreleaser.yml
charts/nginx-gateway-fabric/
operators/config/crd/bases/gateway.nginx.org_nginxgatewayfabrics.yaml
new-line-at-end-of-file: enable
new-lines: enable
octal-values: disable
Expand All @@ -50,4 +49,3 @@ rules:
truthy:
ignore: |
.github/workflows/
operators/
22 changes: 20 additions & 2 deletions charts/nginx-gateway-fabric/templates/clusterrole.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,33 @@ metadata:
rules:
- apiGroups:
- ""
- apps
- autoscaling
resources:
- secrets
- configmaps
- serviceaccounts
- services
verbs:
- create
- update
- delete
- list
- get
- watch
- apiGroups:
- apps
resources:
- deployments
- daemonsets
verbs:
- create
- update
- delete
- list
- get
- watch
- apiGroups:
- autoscaling
resources:
- horizontalpodautoscalers
verbs:
- create
Expand Down
22 changes: 20 additions & 2 deletions deploy/azure/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,33 @@ metadata:
rules:
- apiGroups:
- ""
- apps
- autoscaling
resources:
- secrets
- configmaps
- serviceaccounts
- services
verbs:
- create
- update
- delete
- list
- get
- watch
- apiGroups:
- apps
resources:
- deployments
- daemonsets
verbs:
- create
- update
- delete
- list
- get
- watch
- apiGroups:
- autoscaling
resources:
- horizontalpodautoscalers
verbs:
- create
Expand Down
22 changes: 20 additions & 2 deletions deploy/default/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,33 @@ metadata:
rules:
- apiGroups:
- ""
- apps
- autoscaling
resources:
- secrets
- configmaps
- serviceaccounts
- services
verbs:
- create
- update
- delete
- list
- get
- watch
- apiGroups:
- apps
resources:
- deployments
- daemonsets
verbs:
- create
- update
- delete
- list
- get
- watch
- apiGroups:
- autoscaling
resources:
- horizontalpodautoscalers
verbs:
- create
Expand Down
22 changes: 20 additions & 2 deletions deploy/experimental-nginx-plus/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,33 @@ metadata:
rules:
- apiGroups:
- ""
- apps
- autoscaling
resources:
- secrets
- configmaps
- serviceaccounts
- services
verbs:
- create
- update
- delete
- list
- get
- watch
- apiGroups:
- apps
resources:
- deployments
- daemonsets
verbs:
- create
- update
- delete
- list
- get
- watch
- apiGroups:
- autoscaling
resources:
- horizontalpodautoscalers
verbs:
- create
Expand Down
22 changes: 20 additions & 2 deletions deploy/experimental/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,33 @@ metadata:
rules:
- apiGroups:
- ""
- apps
- autoscaling
resources:
- secrets
- configmaps
- serviceaccounts
- services
verbs:
- create
- update
- delete
- list
- get
- watch
- apiGroups:
- apps
resources:
- deployments
- daemonsets
verbs:
- create
- update
- delete
- list
- get
- watch
- apiGroups:
- autoscaling
resources:
- horizontalpodautoscalers
verbs:
- create
Expand Down
22 changes: 20 additions & 2 deletions deploy/nginx-plus/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,33 @@ metadata:
rules:
- apiGroups:
- ""
- apps
- autoscaling
resources:
- secrets
- configmaps
- serviceaccounts
- services
verbs:
- create
- update
- delete
- list
- get
- watch
- apiGroups:
- apps
resources:
- deployments
- daemonsets
verbs:
- create
- update
- delete
- list
- get
- watch
- apiGroups:
- autoscaling
resources:
- horizontalpodautoscalers
verbs:
- create
Expand Down
22 changes: 20 additions & 2 deletions deploy/nodeport/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,33 @@ metadata:
rules:
- apiGroups:
- ""
- apps
- autoscaling
resources:
- secrets
- configmaps
- serviceaccounts
- services
verbs:
- create
- update
- delete
- list
- get
- watch
- apiGroups:
- apps
resources:
- deployments
- daemonsets
verbs:
- create
- update
- delete
- list
- get
- watch
- apiGroups:
- autoscaling
resources:
- horizontalpodautoscalers
verbs:
- create
Expand Down
22 changes: 20 additions & 2 deletions deploy/openshift/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,33 @@ metadata:
rules:
- apiGroups:
- ""
- apps
- autoscaling
resources:
- secrets
- configmaps
- serviceaccounts
- services
verbs:
- create
- update
- delete
- list
- get
- watch
- apiGroups:
- apps
resources:
- deployments
- daemonsets
verbs:
- create
- update
- delete
- list
- get
- watch
- apiGroups:
- autoscaling
resources:
- horizontalpodautoscalers
verbs:
- create
Expand Down
22 changes: 20 additions & 2 deletions deploy/snippets-filters-nginx-plus/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,33 @@ metadata:
rules:
- apiGroups:
- ""
- apps
- autoscaling
resources:
- secrets
- configmaps
- serviceaccounts
- services
verbs:
- create
- update
- delete
- list
- get
- watch
- apiGroups:
- apps
resources:
- deployments
- daemonsets
verbs:
- create
- update
- delete
- list
- get
- watch
- apiGroups:
- autoscaling
resources:
- horizontalpodautoscalers
verbs:
- create
Expand Down
Loading
Loading