mirror of
https://github.com/bitnami/charts.git
synced 2026-03-14 14:57:22 +08:00
[bitnami/*] Use common macro to define RBAC apiVersion (#5585)
This commit is contained in:
committed by
GitHub
parent
6d5ffcbc78
commit
71fb99f541
@@ -1,6 +1,6 @@
|
||||
dependencies:
|
||||
- name: common
|
||||
repository: https://charts.bitnami.com/bitnami
|
||||
version: 1.3.9
|
||||
digest: sha256:de03bcd37a85979dadc44edf9094170791b0eb5004c9901b74c61c3a5c5f3af7
|
||||
generated: "2021-02-17T01:33:24.637413597Z"
|
||||
version: 1.4.0
|
||||
digest: sha256:f8634e5c0ac4598321ccb7148b2d2495c1c4d5e503219a632a4dd145cd81e56a
|
||||
generated: "2021-02-22T16:25:52.425637+01:00"
|
||||
|
||||
@@ -26,4 +26,4 @@ name: nginx-ingress-controller
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-nginx-ingress-controller
|
||||
- https://github.com/kubernetes/ingress-nginx
|
||||
version: 7.4.4
|
||||
version: 7.4.5
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{- if and .Values.rbac.create (not .Values.scope.enabled) -}}
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: {{ include "common.names.fullname" . }}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{- if and .Values.rbac.create (not .Values.scope.enabled) -}}
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: {{ include "common.names.fullname" . }}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{- if .Values.rbac.create -}}
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
|
||||
kind: Role
|
||||
metadata:
|
||||
name: {{ template "common.names.fullname" . }}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{{- if .Values.rbac.create -}}
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: {{ template "common.names.fullname" . }}
|
||||
|
||||
Reference in New Issue
Block a user