DRY up resource names

This commit is contained in:
Cory O'Daniel
2019-03-19 16:21:00 -07:00
parent 5fcf652cbf
commit 7e0e5cd188
3 changed files with 73 additions and 51 deletions

View File

@@ -12,12 +12,18 @@ resources:
- 0prometheus-operator-service.yaml
- 0prometheus-operator-serviceAccount.yaml
- 0prometheus-operator-serviceMonitor.yaml
- node-exporter-clusterRole.yaml
- node-exporter-clusterRoleBinding.yaml
- node-exporter-daemonset.yaml
- node-exporter-service.yaml
- node-exporter-serviceAccount.yaml
- node-exporter-serviceMonitor.yaml
- alertmanager-alertmanager.yaml
- alertmanager-secret.yaml
- alertmanager-service.yaml
- alertmanager-serviceAccount.yaml
- alertmanager-serviceMonitor.yaml
- grafana-dashboardDatasources.yaml
- grafana-dashboardDefinitions.yaml
- grafana-dashboardSources.yaml
- grafana-deployment.yaml
- grafana-service.yaml
- grafana-serviceAccount.yaml
- grafana-serviceMonitor.yaml
- kube-state-metrics-clusterRole.yaml
- kube-state-metrics-clusterRoleBinding.yaml
- kube-state-metrics-deployment.yaml
@@ -26,11 +32,22 @@ resources:
- kube-state-metrics-service.yaml
- kube-state-metrics-serviceAccount.yaml
- kube-state-metrics-serviceMonitor.yaml
- alertmanager-alertmanager.yaml
- alertmanager-secret.yaml
- alertmanager-service.yaml
- alertmanager-serviceAccount.yaml
- alertmanager-serviceMonitor.yaml
- node-exporter-clusterRole.yaml
- node-exporter-clusterRoleBinding.yaml
- node-exporter-daemonset.yaml
- node-exporter-service.yaml
- node-exporter-serviceAccount.yaml
- node-exporter-serviceMonitor.yaml
- prometheus-adapter-apiService.yaml
- prometheus-adapter-clusterRole.yaml
- prometheus-adapter-clusterRoleBinding.yaml
- prometheus-adapter-clusterRoleBindingDelegator.yaml
- prometheus-adapter-clusterRoleServerResources.yaml
- prometheus-adapter-configMap.yaml
- prometheus-adapter-deployment.yaml
- prometheus-adapter-roleBindingAuthReader.yaml
- prometheus-adapter-service.yaml
- prometheus-adapter-serviceAccount.yaml
- prometheus-clusterRole.yaml
- prometheus-clusterRoleBinding.yaml
- prometheus-prometheus.yaml
@@ -47,20 +64,3 @@ resources:
- prometheus-serviceMonitorKubeControllerManager.yaml
- prometheus-serviceMonitorKubeScheduler.yaml
- prometheus-serviceMonitorKubelet.yaml
- prometheus-adapter-apiService.yaml
- prometheus-adapter-clusterRole.yaml
- prometheus-adapter-clusterRoleBinding.yaml
- prometheus-adapter-clusterRoleBindingDelegator.yaml
- prometheus-adapter-clusterRoleServerResources.yaml
- prometheus-adapter-configMap.yaml
- prometheus-adapter-deployment.yaml
- prometheus-adapter-roleBindingAuthReader.yaml
- prometheus-adapter-service.yaml
- prometheus-adapter-serviceAccount.yaml
- grafana-dashboardDatasources.yaml
- grafana-dashboardDefinitions.yaml
- grafana-dashboardSources.yaml
- grafana-deployment.yaml
- grafana-service.yaml
- grafana-serviceAccount.yaml
- grafana-serviceMonitor.yaml