Skip to content

Commit f9f30aa

Browse files
committed
Adjust permissions
1 parent e9786c9 commit f9f30aa

File tree

11 files changed

+19
-5
lines changed

11 files changed

+19
-5
lines changed

charts/nginx-gateway-fabric/templates/clusterrole.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,15 @@ rules:
88
- apiGroups:
99
- ""
1010
- apps
11-
{{- if .Values.nginx.autoscaling.enabled }}
1211
- autoscaling
13-
{{- end }}
1412
resources:
1513
- secrets
1614
- configmaps
1715
- serviceaccounts
1816
- services
1917
- deployments
2018
- daemonsets
21-
{{- if .Values.nginx.autoscaling.enabled }}
2219
- horizontalpodautoscalers
23-
{{- end }}
2420
verbs:
2521
- create
2622
- update

charts/nginx-gateway-fabric/templates/hpa.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ spec:
3838
type: Utilization
3939
averageUtilization: {{ . }}
4040
{{- end }}
41-
{{- with .Values.autoscalingTemplate }}
41+
{{- with .Values.nginxGateway.autoscalingTemplate }}
4242
{{- toYaml . | nindent 2 }}
4343
{{- end }}
4444
{{- with .Values.nginxGateway.autoscaling.behavior }}

deploy/azure/deploy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,15 @@ rules:
5555
- apiGroups:
5656
- ""
5757
- apps
58+
- autoscaling
5859
resources:
5960
- secrets
6061
- configmaps
6162
- serviceaccounts
6263
- services
6364
- deployments
6465
- daemonsets
66+
- horizontalpodautoscalers
6567
verbs:
6668
- create
6769
- update

deploy/default/deploy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,15 @@ rules:
5555
- apiGroups:
5656
- ""
5757
- apps
58+
- autoscaling
5859
resources:
5960
- secrets
6061
- configmaps
6162
- serviceaccounts
6263
- services
6364
- deployments
6465
- daemonsets
66+
- horizontalpodautoscalers
6567
verbs:
6668
- create
6769
- update

deploy/experimental-nginx-plus/deploy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,15 @@ rules:
5555
- apiGroups:
5656
- ""
5757
- apps
58+
- autoscaling
5859
resources:
5960
- secrets
6061
- configmaps
6162
- serviceaccounts
6263
- services
6364
- deployments
6465
- daemonsets
66+
- horizontalpodautoscalers
6567
verbs:
6668
- create
6769
- update

deploy/experimental/deploy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,15 @@ rules:
5555
- apiGroups:
5656
- ""
5757
- apps
58+
- autoscaling
5859
resources:
5960
- secrets
6061
- configmaps
6162
- serviceaccounts
6263
- services
6364
- deployments
6465
- daemonsets
66+
- horizontalpodautoscalers
6567
verbs:
6668
- create
6769
- update

deploy/nginx-plus/deploy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,15 @@ rules:
5555
- apiGroups:
5656
- ""
5757
- apps
58+
- autoscaling
5859
resources:
5960
- secrets
6061
- configmaps
6162
- serviceaccounts
6263
- services
6364
- deployments
6465
- daemonsets
66+
- horizontalpodautoscalers
6567
verbs:
6668
- create
6769
- update

deploy/nodeport/deploy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,15 @@ rules:
5555
- apiGroups:
5656
- ""
5757
- apps
58+
- autoscaling
5859
resources:
5960
- secrets
6061
- configmaps
6162
- serviceaccounts
6263
- services
6364
- deployments
6465
- daemonsets
66+
- horizontalpodautoscalers
6567
verbs:
6668
- create
6769
- update

deploy/openshift/deploy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,15 @@ rules:
5555
- apiGroups:
5656
- ""
5757
- apps
58+
- autoscaling
5859
resources:
5960
- secrets
6061
- configmaps
6162
- serviceaccounts
6263
- services
6364
- deployments
6465
- daemonsets
66+
- horizontalpodautoscalers
6567
verbs:
6668
- create
6769
- update

deploy/snippets-filters-nginx-plus/deploy.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,15 @@ rules:
5555
- apiGroups:
5656
- ""
5757
- apps
58+
- autoscaling
5859
resources:
5960
- secrets
6061
- configmaps
6162
- serviceaccounts
6263
- services
6364
- deployments
6465
- daemonsets
66+
- horizontalpodautoscalers
6567
verbs:
6668
- create
6769
- update

0 commit comments

Comments
 (0)