From 118994d7f5d294cae5abec7b1171521ba17ff0f3 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Wed, 28 Aug 2024 15:50:03 +1000 Subject: [PATCH] refactor --- .../base/{crb.yaml => cluster-role-binding.yaml} | 0 .../base/{cr.yaml => cluster-role.yaml} | 0 .../base/{cm.yaml => configmap.yaml} | 0 ...{crd.yaml => custom-resource-definition.yaml} | 0 .../argo-workflows/base/kustomization.yaml | 16 ++++++++-------- .../base/{pc.yaml => priority-class.yaml} | 0 .../base/{rb.yaml => role-binding.yaml} | 0 .../base/{sa.yaml => service-account.yaml} | 0 .../base/{svc.yaml => service.yaml} | 0 9 files changed, 8 insertions(+), 8 deletions(-) rename infrastructures/argo-workflows/base/{crb.yaml => cluster-role-binding.yaml} (100%) rename infrastructures/argo-workflows/base/{cr.yaml => cluster-role.yaml} (100%) rename infrastructures/argo-workflows/base/{cm.yaml => configmap.yaml} (100%) rename infrastructures/argo-workflows/base/{crd.yaml => custom-resource-definition.yaml} (100%) rename infrastructures/argo-workflows/base/{pc.yaml => priority-class.yaml} (100%) rename infrastructures/argo-workflows/base/{rb.yaml => role-binding.yaml} (100%) rename infrastructures/argo-workflows/base/{sa.yaml => service-account.yaml} (100%) rename infrastructures/argo-workflows/base/{svc.yaml => service.yaml} (100%) diff --git a/infrastructures/argo-workflows/base/crb.yaml b/infrastructures/argo-workflows/base/cluster-role-binding.yaml similarity index 100% rename from infrastructures/argo-workflows/base/crb.yaml rename to infrastructures/argo-workflows/base/cluster-role-binding.yaml diff --git a/infrastructures/argo-workflows/base/cr.yaml b/infrastructures/argo-workflows/base/cluster-role.yaml similarity index 100% rename from infrastructures/argo-workflows/base/cr.yaml rename to infrastructures/argo-workflows/base/cluster-role.yaml diff --git a/infrastructures/argo-workflows/base/cm.yaml b/infrastructures/argo-workflows/base/configmap.yaml similarity index 100% rename from infrastructures/argo-workflows/base/cm.yaml rename to infrastructures/argo-workflows/base/configmap.yaml diff --git a/infrastructures/argo-workflows/base/crd.yaml b/infrastructures/argo-workflows/base/custom-resource-definition.yaml similarity index 100% rename from infrastructures/argo-workflows/base/crd.yaml rename to infrastructures/argo-workflows/base/custom-resource-definition.yaml diff --git a/infrastructures/argo-workflows/base/kustomization.yaml b/infrastructures/argo-workflows/base/kustomization.yaml index 44b2f85..18c9e0b 100644 --- a/infrastructures/argo-workflows/base/kustomization.yaml +++ b/infrastructures/argo-workflows/base/kustomization.yaml @@ -1,14 +1,14 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - - ./crd.yaml - - ./sa.yaml + - ./custom-resource-definition.yaml + - ./service-account.yaml - ./role.yaml - - ./cr.yaml - - ./rb.yaml - - ./crb.yaml - - ./cm.yaml + - ./cluster-role.yaml + - ./role-binding.yaml + - ./cluster-role-binding.yaml + - ./configmap.yaml - ./secret.yaml - - ./svc.yaml - - ./pc.yaml + - ./service.yaml + - ./priority-class.yaml - ./deployment.yaml \ No newline at end of file diff --git a/infrastructures/argo-workflows/base/pc.yaml b/infrastructures/argo-workflows/base/priority-class.yaml similarity index 100% rename from infrastructures/argo-workflows/base/pc.yaml rename to infrastructures/argo-workflows/base/priority-class.yaml diff --git a/infrastructures/argo-workflows/base/rb.yaml b/infrastructures/argo-workflows/base/role-binding.yaml similarity index 100% rename from infrastructures/argo-workflows/base/rb.yaml rename to infrastructures/argo-workflows/base/role-binding.yaml diff --git a/infrastructures/argo-workflows/base/sa.yaml b/infrastructures/argo-workflows/base/service-account.yaml similarity index 100% rename from infrastructures/argo-workflows/base/sa.yaml rename to infrastructures/argo-workflows/base/service-account.yaml diff --git a/infrastructures/argo-workflows/base/svc.yaml b/infrastructures/argo-workflows/base/service.yaml similarity index 100% rename from infrastructures/argo-workflows/base/svc.yaml rename to infrastructures/argo-workflows/base/service.yaml