8000 update rbac and pvc · nginx/kubernetes-ingress@3cd079b · GitHub
[go: up one dir, main page]

Skip to content

Commit 3cd079b

Browse files
committed
update rbac and pvc
Signed-off-by: Haywood Shannon <5781935+haywoodsh@users.noreply.github.com> Signed-off-by: Haywood Shannon <5781935+haywoodsh@users.noreply.github.com>
1 parent c273611 commit 3cd079b

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

charts/nginx-ingress/templates/_helpers.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ List of volumes for controller.
403403
- name: nginx-log
404404
emptyDir: {}
405405
{{- else if .Values.controller.cache.enableShared }}
406-
- name: nginx-cache
406+
- name: {{ .Values.controller.cache.sharedPVCName }}
407407
persistentVolumeClaim:
408408
claimName: {{ .Values.controller.cache.sharedPVCName }}
409409
{{- end }}
@@ -467,7 +467,7 @@ volumeMounts:
467467
name: nginx-log
468468
{{- else if .Values.controller.cache.enableShared }}
469469
- mountPath: /var/cache/nginx
470-
name: nginx-cache
470+
name: {{ .Values.controller.cache.sharedPVCName }}
471471
{{- end }}
472472
{{- if .Values.controller.appprotect.v5 }}
473473
- name: app-protect-bd-config

charts/nginx-ingress/templates/clusterrole.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ rules:
7171
resources:
7272
- replicasets
7373
- daemonsets
74+
- statefulsets
7475
verbs:
7576
- get
7677
- apiGroups:

deployments/rbac/rbac.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ rules:
1616
resources:
1717
- replicasets
1818
- daemonsets
19+
- statefulsets
1920
verbs:
2021
- get
2122
- apiGroups:

0 commit comments

Comments
 (0)
0