diff --git a/infrastructure/base/storage-class/kustomization.yaml b/infrastructure/base/storage-class/kustomization.yaml new file mode 100644 index 0000000..fb97eb5 --- /dev/null +++ b/infrastructure/base/storage-class/kustomization.yaml @@ -0,0 +1,4 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - storage-class.yaml \ No newline at end of file diff --git a/infrastructure/base/storage-class/storage-class.yaml b/infrastructure/base/storage-class/storage-class.yaml new file mode 100644 index 0000000..d6fabeb --- /dev/null +++ b/infrastructure/base/storage-class/storage-class.yaml @@ -0,0 +1,7 @@ +apiVersion: storage.k8s.io/v1 +kind: StorageClass +metadata: + name: retain-local-path +provisioner: rancher.io/local-path +reclaimPolicy: Retain +volumeBindingMode: WaitForFirstConsumer \ No newline at end of file diff --git a/infrastructure/prod/kustomization.yaml b/infrastructure/prod/kustomization.yaml new file mode 100644 index 0000000..66cb7d1 --- /dev/null +++ b/infrastructure/prod/kustomization.yaml @@ -0,0 +1,7 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: + - ../base/storage-class + - cert-manager + - traefik + - authelia \ No newline at end of file