
This patchset copies the development-pipeline and standard-container into the sample network mongodb directory to begin testing the pipeline and standard-container in a namespace created by jarvis-system. Change-Id: I8448a122e8da218752ea57b15fb2983881e90ec9
15 lines
393 B
YAML
15 lines
393 B
YAML
{{- if and ($.Values.serviceAccount.create) ($.Values.role.bind) }}
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
|
kind: RoleBinding
|
|
metadata:
|
|
name: {{ $.Values.role.name }}
|
|
namespace: {{ $.Release.Namespace }}
|
|
subjects:
|
|
- kind: ServiceAccount
|
|
name: {{ $.Values.serviceAccount.name }}
|
|
roleRef:
|
|
apiGroup: rbac.authorization.k8s.io
|
|
kind: Role
|
|
name: {{ $.Values.role.name }}
|
|
{{- end }}
|