135 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			135 lines
		
	
	
		
			2.6 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| apiVersion: grafana.integreatly.org/v1beta1
 | |
| kind: GrafanaFolder
 | |
| metadata:
 | |
|   name: grafana-folder-application
 | |
|   namespace: {{ .Release.Namespace }}
 | |
|   labels:
 | |
|     app.kubernetes.io/name: {{ .Release.Name }}
 | |
|     app.kubernetes.io/instance: {{ .Release.Name }}
 | |
| spec:
 | |
|   instanceSelector:
 | |
|     matchLabels:
 | |
|       app: grafana-main
 | |
|   title: Application
 | |
|   uid: grafana-folder-application
 | |
|   resyncPeriod: 30s
 | |
|   permissions: |
 | |
|     {
 | |
|       "items": [
 | |
|         {
 | |
|           "role": "Admin",
 | |
|           "permission": 4
 | |
|         },
 | |
|         {
 | |
|           "role": "Editor",
 | |
|           "permission": 2
 | |
|         },
 | |
|         {
 | |
|           "role": "Viewer",
 | |
|           "permission": 1
 | |
|         }
 | |
|       ]
 | |
|     }
 | |
| 
 | |
| ---
 | |
| apiVersion: grafana.integreatly.org/v1beta1
 | |
| kind: GrafanaFolder
 | |
| metadata:
 | |
|   name: grafana-folder-platform
 | |
|   namespace: {{ .Release.Namespace }}
 | |
|   labels:
 | |
|     app.kubernetes.io/name: {{ .Release.Name }}
 | |
|     app.kubernetes.io/instance: {{ .Release.Name }}
 | |
| spec:
 | |
|   instanceSelector:
 | |
|     matchLabels:
 | |
|       app: grafana-main
 | |
|   title: Platform
 | |
|   uid: grafana-folder-platform
 | |
|   resyncPeriod: 30s
 | |
|   permissions: |
 | |
|     {
 | |
|       "items": [
 | |
|         {
 | |
|           "role": "Admin",
 | |
|           "permission": 4
 | |
|         },
 | |
|         {
 | |
|           "role": "Editor",
 | |
|           "permission": 2
 | |
|         },
 | |
|         {
 | |
|           "role": "Viewer",
 | |
|           "permission": 1
 | |
|         }
 | |
|       ]
 | |
|     }
 | |
| 
 | |
| ---
 | |
| apiVersion: grafana.integreatly.org/v1beta1
 | |
| kind: GrafanaFolder
 | |
| metadata:
 | |
|   name: grafana-folder-service
 | |
|   namespace: {{ .Release.Namespace }}
 | |
|   labels:
 | |
|     app.kubernetes.io/name: {{ .Release.Name }}
 | |
|     app.kubernetes.io/instance: {{ .Release.Name }}
 | |
| spec:
 | |
|   instanceSelector:
 | |
|     matchLabels:
 | |
|       app: grafana-main
 | |
|   title: Service
 | |
|   uid: grafana-folder-service
 | |
|   resyncPeriod: 30s
 | |
|   permissions: |
 | |
|     {
 | |
|       "items": [
 | |
|         {
 | |
|           "role": "Admin",
 | |
|           "permission": 4
 | |
|         },
 | |
|         {
 | |
|           "role": "Editor",
 | |
|           "permission": 2
 | |
|         },
 | |
|         {
 | |
|           "role": "Viewer",
 | |
|           "permission": 1
 | |
|         }
 | |
|       ]
 | |
|     }
 | |
| 
 | |
| ---
 | |
| apiVersion: grafana.integreatly.org/v1beta1
 | |
| kind: GrafanaFolder
 | |
| metadata:
 | |
|   name: grafana-folder-system
 | |
|   namespace: {{ .Release.Namespace }}
 | |
|   labels:
 | |
|     app.kubernetes.io/name: {{ .Release.Name }}
 | |
|     app.kubernetes.io/instance: {{ .Release.Name }}
 | |
| spec:
 | |
|   instanceSelector:
 | |
|     matchLabels:
 | |
|       app.kubernetes.io/name: grafana-main
 | |
|   title: System
 | |
|   uid: grafana-folder-system
 | |
|   resyncPeriod: 30s
 | |
|   permissions: |
 | |
|     {
 | |
|       "items": [
 | |
|         {
 | |
|           "role": "Admin",
 | |
|           "permission": 4
 | |
|         },
 | |
|         {
 | |
|           "role": "Editor",
 | |
|           "permission": 2
 | |
|         },
 | |
|         {
 | |
|           "role": "Viewer",
 | |
|           "permission": 1
 | |
|         }
 | |
|       ]
 | |
|     }
 |