Skip to content

Commit

Permalink
Merge pull request #24 from vshn/remove/crossplane
Browse files Browse the repository at this point in the history
Remove Crossplane
  • Loading branch information
Kidswiss authored Aug 28, 2024
2 parents b80b79b + 6dfe82f commit 18478d9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ lint: ## All-in-one linting
@echo 'Check for uncommitted changes ...'
git diff --exit-code

kind-storage: kind-setup csi-host-path-setup

crossplane-setup: $(crossplane_sentinel) ## Install local Kubernetes cluster and install Crossplane

$(crossplane_sentinel): export KUBECONFIG = $(KIND_KUBECONFIG)
Expand All @@ -47,7 +49,7 @@ $(crossplane_sentinel): kind-setup csi-host-path-setup load-comp-image
@touch $@

stackgres-setup: export KUBECONFIG = $(KIND_KUBECONFIG)
stackgres-setup: $(crossplane_sentinel) ## Install StackGres
stackgres-setup: kind-setup csi-host-path-setup ## Install StackGres
helm repo add stackgres-charts https://stackgres.io/downloads/stackgres-k8s/stackgres/helm/
helm upgrade --install --version 1.7.0 --create-namespace --namespace stackgres stackgres-operator stackgres-charts/stackgres-operator --values stackgres/values.yaml --wait
kubectl -n stackgres wait --for condition=Available deployment/stackgres-operator --timeout 120s
Expand All @@ -74,13 +76,13 @@ stackgres-setup: $(crossplane_sentinel) ## Install StackGres
kubectl patch secrets --namespace stackgres stackgres-restapi-admin --type json -p "[{\"op\":\"add\",\"path\":\"/data/clearPassword\", \"value\":\"$${encoded}\"}]" | true

certmanager-setup: export KUBECONFIG = $(KIND_KUBECONFIG)
certmanager-setup: $(crossplane_sentinel)
certmanager-setup: kind-storage
kubectl apply -f https://github.com/cert-manager/cert-manager/releases/download/v1.11.0/cert-manager.yaml
kubectl -n cert-manager wait --for condition=Available deployment/cert-manager --timeout 120s
kubectl -n cert-manager wait --for condition=Available deployment/cert-manager-webhook --timeout 120s

minio-setup: export KUBECONFIG = $(KIND_KUBECONFIG)
minio-setup: crossplane-setup ## Install Minio Crossplane implementation
minio-setup: kind-storage ## Install Minio Crossplane implementation
helm repo add minio https://charts.min.io/ --force-update
helm upgrade --install --create-namespace --namespace minio minio --version 5.0.7 minio/minio \
--values minio/values.yaml
Expand Down

0 comments on commit 18478d9

Please sign in to comment.