mirror of
https://github.com/nikdoof/ohayodash.git
synced 2025-12-22 22:39:22 +00:00
Add chart
This commit is contained in:
1
charts/ohayodash/templates/NOTES.txt
Normal file
1
charts/ohayodash/templates/NOTES.txt
Normal file
@@ -0,0 +1 @@
|
||||
{{ include "common.notes.defaultNotes" . }}
|
||||
1
charts/ohayodash/templates/common.yaml
Normal file
1
charts/ohayodash/templates/common.yaml
Normal file
@@ -0,0 +1 @@
|
||||
{{ include "common.all" . }}
|
||||
25
charts/ohayodash/templates/rbac.yaml
Normal file
25
charts/ohayodash/templates/rbac.yaml
Normal file
@@ -0,0 +1,25 @@
|
||||
{{- if .Values.serviceAccount.create }}
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRole
|
||||
metadata:
|
||||
name: {{ include "common.names.fullname" . }}
|
||||
labels: {{- include "common.labels" . | nindent 4 }}
|
||||
rules:
|
||||
- apiGroups: ["", "extensions", "networking.k8s.io"]
|
||||
resources: ["ingresses", "namespaces"]
|
||||
verbs: ["get", "list"]
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
kind: ClusterRoleBinding
|
||||
metadata:
|
||||
name: {{ include "common.names.fullname" . }}
|
||||
labels: {{- include "common.labels" . | nindent 4 }}
|
||||
roleRef:
|
||||
apiGroup: rbac.authorization.k8s.io
|
||||
kind: ClusterRole
|
||||
name: {{ include "common.names.fullname" . }}
|
||||
subjects:
|
||||
- kind: ServiceAccount
|
||||
name: {{ include "common.names.fullname" . }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user