mirror of https://github.com/helm/helm
Improve --show-only flag (#7816)
* Improve --show-only flag * Ensure consistent manifest orderingpull/7867/head
parent
c20d06d930
commit
6414791e08
@ -0,0 +1,23 @@
|
||||
---
|
||||
# Source: subchart1/templates/subdir/role.yaml
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: Role
|
||||
metadata:
|
||||
name: subchart1-role
|
||||
rules:
|
||||
- resources: ["*"]
|
||||
verbs: ["get","list","watch"]
|
||||
---
|
||||
# Source: subchart1/templates/subdir/rolebinding.yaml
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: subchart1-binding
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
name: subchart1-role
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: subchart1-sa
|
||||
namespace: default
|
@ -0,0 +1,7 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: Role
|
||||
metadata:
|
||||
name: {{ .Chart.Name }}-role
|
||||
rules:
|
||||
- resources: ["*"]
|
||||
verbs: ["get","list","watch"]
|
@ -0,0 +1,12 @@
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: RoleBinding
|
||||
metadata:
|
||||
name: {{ .Chart.Name }}-binding
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: Role
|
||||
name: {{ .Chart.Name }}-role
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ .Chart.Name }}-sa
|
||||
namespace: default
|
@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: ServiceAccount
|
||||
metadata:
|
||||
name: {{ .Chart.Name }}-sa
|
Loading…
Reference in new issue