Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix/kong config #11

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 3 additions & 11 deletions build.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
#!/bin/bash
#

helm package ./charts/supabase -d build/
helm repo index ./
# sed 's+build+head+g' ./index.yaml > ./index.yaml

# Crossplatform sed workaround from: https://unix.stackexchange.com/questions/92895/how-can-i-achieve-portability-with-sed-i-in-place-editing
case $(sed --help 2>&1) in
*GNU*) set sed -i;;
*) set sed -i '';;
esac

"$@" -e 's+build+https://supabase-community.github.io/supabase-kubernetes/build+g' ./index.yaml
helm package charts/supabase -d build/
helm repo index build --url https://raw.githubusercontent.com/supabase-community/supabase-kubernetes/master/build
19 changes: 19 additions & 0 deletions build/index.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: v1
entries:
supabase:
- apiVersion: v2
created: "2022-05-03T00:27:57.900418979+10:00"
dependencies:
- alias: database
condition: database.enabled
name: postgresql
repository: https://charts.bitnami.com/bitnami
version: 10.13.15
description: The open source Firebase alternative.
digest: f8e7ea20f97d238588ba6ddd3afe3f829db3388812c148aaf7a9080591823935
name: supabase
type: application
urls:
- https://raw.githubusercontent.com/supabase-community/supabase-kubernetes/master/build/supabase-0.0.2.tgz
version: 0.0.2
generated: "2022-05-03T00:27:57.895750437+10:00"
Binary file removed build/supabase-0.0.1.tgz
Binary file not shown.
Binary file added build/supabase-0.0.2.tgz
Binary file not shown.
2 changes: 1 addition & 1 deletion charts/supabase/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.1
version: 0.0.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 1 addition & 1 deletion charts/supabase/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ You can create a copy of this file and update the following values:
- `NAMESPACE`: Namespace used for the helm release.

```bash
helm repo add supabase https://supabase-community.github.io/supabase-kubernetes
helm repo add supabase https://raw.githubusercontent.com/supabase-community/supabase-kubernetes/fix/kong-config/build
helm install RELEASE_NAME supabase/supabase --namespace NAMESPACE -f your-values.yaml --create-namespace
```

Expand Down
93 changes: 0 additions & 93 deletions charts/supabase/values.example.yaml

This file was deleted.

4 changes: 4 additions & 0 deletions charts/supabase/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,10 @@ kong:

affinity: {}

credentials:
anonKey: ""
serviceRoleKey: ""

config: {}
# config: |
# _format_version: "1.1"
Expand Down
18 changes: 0 additions & 18 deletions index.yaml

This file was deleted.