From feb6e829e0e09e520c1b893fe70d10de97588f0a Mon Sep 17 00:00:00 2001 From: Tanguy Herbron Date: Tue, 3 Jan 2023 01:27:06 +0100 Subject: [PATCH] feat(env): Add production value Makefile and env file update. Also remove root kustomization file, as it is no longer needed. --- Makefile | 3 +++ .../prod/kustomization.yaml | 9 ++++----- 2 files changed, 7 insertions(+), 5 deletions(-) rename kustomization.yaml => environments/prod/kustomization.yaml (78%) diff --git a/Makefile b/Makefile index f503d22..f0e7d09 100644 --- a/Makefile +++ b/Makefile @@ -1,2 +1,5 @@ dev: kubectl apply -k environments/dev --prune=true --all + +prod: + kubectl apply -k environments/prod --prune=true --all diff --git a/kustomization.yaml b/environments/prod/kustomization.yaml similarity index 78% rename from kustomization.yaml rename to environments/prod/kustomization.yaml index fa61be0..7ae3843 100644 --- a/kustomization.yaml +++ b/environments/prod/kustomization.yaml @@ -3,9 +3,8 @@ kind: Kustomization resources: - https://raw.githubusercontent.com/metallb/metallb/v0.13.7/config/manifests/metallb-native.yaml - - metallb - - ovh-config.yaml - - res + - ../../metallb + - ../../res - https://raw.githubusercontent.com/longhorn/longhorn/master/deploy/longhorn.yaml - - longhorn - - traefik + - ../../longhorn + - ../../traefik