Skip to content

Commit

Permalink
Merge pull request #11 from vshn/add/minio
Browse files Browse the repository at this point in the history
Add minio helmchart for s3
  • Loading branch information
Kidswiss authored Jun 9, 2023
2 parents 9b96cc2 + a077591 commit 00c42a6
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 223 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
- uses: actions/checkout@v3

- name: Run vshnpostgresql
run: make vshnpostgresql
run: make vshnpostgresql -e enable_xfn=false
11 changes: 6 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ include kind/kind.mk
appcat-apiserver: vshnpostgresql ## Install appcat-apiserver dependencies

.PHONY: vshnpostgresql
vshnpostgresql: certmanager-setup stackgres-setup prometheus-setup ## Install vshn postgres dependencies
vshnpostgresql: certmanager-setup stackgres-setup prometheus-setup minio-setup ## Install vshn postgres dependencies

.PHONY: help
help: ## Show this help
Expand All @@ -37,9 +37,10 @@ $(crossplane_sentinel): kind-setup local-pv-setup load-comp-image
--set "args[0]='--debug'" \
--set "args[1]='--enable-composition-functions'" \
--set "args[2]='--enable-environment-configs'" \
--set "xfn.enabled=true" \
--set "xfn.enabled=$(enable_xfn)" \
--set "xfn.args[0]='--log-level'" \
--set "xfn.args[1]='1'" \
--set "xfn.args[2]='--devmode'" \
--set "xfn.image.repository=ghcr.io/vshn/appcat" \
--set "xfn.image.tag=latest" \
--wait
Expand Down Expand Up @@ -67,9 +68,9 @@ certmanager-setup: $(crossplane_sentinel)

minio-setup: export KUBECONFIG = $(KIND_KUBECONFIG)
minio-setup: crossplane-setup ## Install Minio Crossplane implementation
kubectl apply -f minio/s3-composite.yaml
kubectl apply -f minio/s3-composition.yaml
kubectl wait --for condition=Offered compositeresourcedefinition/xs3buckets.syn.tools
helm repo add minio https://charts.min.io/ || true
helm upgrade --install --create-namespace --namespace minio minio --version 5.0.7 minio/minio \
--values minio/values.yaml

k8up-setup: minio-setup prometheus-setup $(k8up_sentinel) ## Install K8up operator

Expand Down
1 change: 1 addition & 0 deletions Makefile.vars.mk
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ crossplane_sentinel = $(kind_dir)/crossplane-sentinel
k8up_sentinel = $(kind_dir)/k8up-sentinel
prometheus_sentinel = $(kind_dir)/prometheus-sentinel
local_pv_sentinel = $(kind_dir)/local_pv
enable_xfn = true

PROJECT_ROOT_DIR = .
PROJECT_NAME ?= kindev
Expand Down
39 changes: 0 additions & 39 deletions minio/s3-composite.yaml

This file was deleted.

178 changes: 0 additions & 178 deletions minio/s3-composition.yaml

This file was deleted.

10 changes: 10 additions & 0 deletions minio/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
fullnameOverride: minio-server
mode: standalone
persistence:
size: 1Gi
replicas: 1
resources:
requests:
memory: 128Mi
rootUser: minioadmin
rootPassword: minioadmin

0 comments on commit 00c42a6

Please sign in to comment.