From 3a1b36d18b6659d700dd5aeac1831b6a6a6e7111 Mon Sep 17 00:00:00 2001 From: jnobrega Date: Sat, 11 May 2024 18:17:12 +0100 Subject: [PATCH] feat: add books ns --- k8s/apps/books/_pvs/books-nfs.yaml | 2 +- k8s/apps/books/_pvs/kustomization.yaml | 6 ++++++ k8s/apps/books/kustomization.yaml | 6 ++++++ k8s/apps/books/namespace.yaml | 4 ++++ 4 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 k8s/apps/books/_pvs/kustomization.yaml create mode 100644 k8s/apps/books/kustomization.yaml create mode 100644 k8s/apps/books/namespace.yaml diff --git a/k8s/apps/books/_pvs/books-nfs.yaml b/k8s/apps/books/_pvs/books-nfs.yaml index 50d7c14c..9e8d41b7 100644 --- a/k8s/apps/books/_pvs/books-nfs.yaml +++ b/k8s/apps/books/_pvs/books-nfs.yaml @@ -25,7 +25,7 @@ apiVersion: v1 kind: PersistentVolumeClaim metadata: name: books-nfs-share-pvc - namespace: media + namespace: books spec: accessModes: - ReadWriteMany diff --git a/k8s/apps/books/_pvs/kustomization.yaml b/k8s/apps/books/_pvs/kustomization.yaml new file mode 100644 index 00000000..d16641eb --- /dev/null +++ b/k8s/apps/books/_pvs/kustomization.yaml @@ -0,0 +1,6 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - ./books-nfs.yaml + diff --git a/k8s/apps/books/kustomization.yaml b/k8s/apps/books/kustomization.yaml new file mode 100644 index 00000000..8a0314a2 --- /dev/null +++ b/k8s/apps/books/kustomization.yaml @@ -0,0 +1,6 @@ +--- +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - ./namespace.yaml + diff --git a/k8s/apps/books/namespace.yaml b/k8s/apps/books/namespace.yaml new file mode 100644 index 00000000..e630cdc1 --- /dev/null +++ b/k8s/apps/books/namespace.yaml @@ -0,0 +1,4 @@ +apiVersion: v1 +kind: Namespace +metadata: + name: books