From 3c1b10a931c0f021aec6a34eacb46c44e261e3b0 Mon Sep 17 00:00:00 2001 From: James Callahan Date: Wed, 24 Jul 2024 00:52:42 +1000 Subject: [PATCH] kustomize: move base resources to a subfolder retains a top level kustomization file for compatibility --- kustomize/base/kustomization.yaml | 8 ++++++++ kustomize/{ => base}/resources.yaml | 0 kustomize/kustomization.yaml | 6 +----- 3 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 kustomize/base/kustomization.yaml rename kustomize/{ => base}/resources.yaml (100%) diff --git a/kustomize/base/kustomization.yaml b/kustomize/base/kustomization.yaml new file mode 100644 index 0000000..a18fe46 --- /dev/null +++ b/kustomize/base/kustomization.yaml @@ -0,0 +1,8 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +commonLabels: + app.kubernetes.io/name: tkhq-frames +resources: + - resources.yaml +images: + - name: ghcr.io/tkhq/frames diff --git a/kustomize/resources.yaml b/kustomize/base/resources.yaml similarity index 100% rename from kustomize/resources.yaml rename to kustomize/base/resources.yaml diff --git a/kustomize/kustomization.yaml b/kustomize/kustomization.yaml index a18fe46..3c2f51f 100644 --- a/kustomize/kustomization.yaml +++ b/kustomize/kustomization.yaml @@ -1,8 +1,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization -commonLabels: - app.kubernetes.io/name: tkhq-frames resources: - - resources.yaml -images: - - name: ghcr.io/tkhq/frames + - ./base