diff --git a/cmd/helmChart.go b/cmd/helmChart.go index c1871318a..e6a1389b0 100644 --- a/cmd/helmChart.go +++ b/cmd/helmChart.go @@ -197,16 +197,16 @@ func runHelmChart() { } err = dumpHelmChart(map[string]interface{}{ - "00-namespace.yaml": template(namespace, namespaceMappings), - "01-service-account.yaml": template(serviceAccount, serviceAccountMappings), - "02-cluster-role.yaml": template(clusterRole, clusterRoleMappings), - "03-cluster-role-binding.yaml": template(clusterRoleBinding, clusterRoleBindingMappings), - "04-hub-pod.yaml": template(hubPod, hubPodMappings), - "05-hub-service.yaml": template(hubService, hubServiceMappings), - "06-front-pod.yaml": template(frontPod, frontPodMappings), - "07-front-service.yaml": template(frontService, frontServiceMappings), - "08-persistent-volume.yaml": template(persistentVolume, persistentVolumeMappings), - "09-worker-daemon-set.yaml": template(workerDaemonSet, workerDaemonSetMappings), + "00-namespace.yaml": template(namespace, namespaceMappings), + "01-service-account.yaml": template(serviceAccount, serviceAccountMappings), + "02-cluster-role.yaml": template(clusterRole, clusterRoleMappings), + "03-cluster-role-binding.yaml": template(clusterRoleBinding, clusterRoleBindingMappings), + "04-hub-pod.yaml": template(hubPod, hubPodMappings), + "05-hub-service.yaml": template(hubService, hubServiceMappings), + "06-front-pod.yaml": template(frontPod, frontPodMappings), + "07-front-service.yaml": template(frontService, frontServiceMappings), + "08-persistent-volume-claim.yaml": template(persistentVolume, persistentVolumeMappings), + "09-worker-daemon-set.yaml": template(workerDaemonSet, workerDaemonSetMappings), }) if err != nil { log.Error().Err(err).Send() diff --git a/cmd/manifests.go b/cmd/manifests.go index adaa76b8d..1f6ff5c93 100644 --- a/cmd/manifests.go +++ b/cmd/manifests.go @@ -60,16 +60,16 @@ func runManifests() { if config.Config.Manifests.Dump { err = dumpManifests(map[string]interface{}{ - "00-namespace.yaml": namespace, - "01-service-account.yaml": serviceAccount, - "02-cluster-role.yaml": clusterRole, - "03-cluster-role-binding.yaml": clusterRoleBinding, - "04-hub-pod.yaml": hubPod, - "05-hub-service.yaml": hubService, - "06-front-pod.yaml": frontPod, - "07-front-service.yaml": frontService, - "08-persistent-volume.yaml": persistentVolume, - "09-worker-daemon-set.yaml": workerDaemonSet, + "00-namespace.yaml": namespace, + "01-service-account.yaml": serviceAccount, + "02-cluster-role.yaml": clusterRole, + "03-cluster-role-binding.yaml": clusterRoleBinding, + "04-hub-pod.yaml": hubPod, + "05-hub-service.yaml": hubService, + "06-front-pod.yaml": frontPod, + "07-front-service.yaml": frontService, + "08-persistent-volume-claim.yaml": persistentVolume, + "09-worker-daemon-set.yaml": workerDaemonSet, }) } else { err = printManifests([]interface{}{ diff --git a/helm-chart/templates/08-persistent-volume.yaml b/helm-chart/templates/08-persistent-volume-claim.yaml similarity index 100% rename from helm-chart/templates/08-persistent-volume.yaml rename to helm-chart/templates/08-persistent-volume-claim.yaml diff --git a/manifests/08-persistent-volume.yaml b/manifests/08-persistent-volume-claim.yaml similarity index 100% rename from manifests/08-persistent-volume.yaml rename to manifests/08-persistent-volume-claim.yaml