Remove non-moqui charts.
Showing
6 changed files
with
0 additions
and
125 deletions
1 | apiVersion: elasticsearch.k8s.elastic.co/v1 | ||
2 | kind: Elasticsearch | ||
3 | metadata: | ||
4 | name: moqui | ||
5 | spec: | ||
6 | version: 8.2.3 | ||
7 | nodeSets: | ||
8 | - name: default | ||
9 | count: 2 | ||
10 | config: | ||
11 | node.store.allow_mmap: false | ||
12 | --- | ||
13 | apiVersion: kibana.k8s.elastic.co/v1 | ||
14 | kind: Kibana | ||
15 | metadata: | ||
16 | name: moqui | ||
17 | spec: | ||
18 | version: 8.2.3 | ||
19 | count: 1 | ||
20 | elasticsearchRef: | ||
21 | name: moqui | ||
22 | --- | ||
23 |
charts/elasticsearch/es_isready
deleted
100644 → 0
1 | #!/bin/sh | ||
2 | set -ex | ||
3 | |||
4 | elasticsearch_timeout=${elasticsearch_timeout:-3} | ||
5 | |||
6 | check_es() { | ||
7 | status="$(curl -o /dev/null -w "%{http_code}" --max-time ${elasticsearch_timeout} -XGET -g -s -k -u "${elasticsearch_user}:${elasticsearch_password}" "${elasticsearch_url}")" | ||
8 | if [ "z$status" = z200 ]; then | ||
9 | return 0 | ||
10 | fi | ||
11 | return 1 | ||
12 | } | ||
13 | |||
14 | while ! check_es; do | ||
15 | echo "Waiting for Elasticsearch" 1>&2 | ||
16 | sleep 1 | ||
17 | count=5 | ||
18 | while [ $count -gt 0 ] && ! check_es; do | ||
19 | count=$(($count - 1)) | ||
20 | sleep 1 | ||
21 | done | ||
22 | done |
charts/postgresql/kustomization.yaml
deleted
100644 → 0
charts/postgresql/pg_isready
deleted
100644 → 0
1 | #!/bin/sh | ||
2 | set -ex | ||
3 | |||
4 | # POSTGRES_HOST | ||
5 | # POSTGRES_USER | ||
6 | # POSTGRES_DATABASE | ||
7 | # PGPASSWORD | ||
8 | |||
9 | check_pg() { | ||
10 | pg_isready -h "${POSTGRES_HOST}" -U "${POSTGRES_USER}" | ||
11 | } | ||
12 | |||
13 | check_auth() { | ||
14 | psql -h "${POSTGRES_HOST}" -U "${POSTGRES_USER}" "${POSTGRES_DATABASE}" | ||
15 | } | ||
16 | |||
17 | loop() { | ||
18 | checker="$1" | ||
19 | message="$2" | ||
20 | while ! $checker; do | ||
21 | echo "$message" 1>&2 | ||
22 | sleep 1 | ||
23 | count=5 | ||
24 | while [ $count -gt 0 ] && ! $checker; do | ||
25 | count=$(($count - 1)) | ||
26 | sleep 1 | ||
27 | done | ||
28 | done | ||
29 | } | ||
30 | |||
31 | loop check_pg "Waiting for database to be up" | ||
32 | loop check_auth "Waiting for user+password to be active" |
charts/postgresql/postgresql.yaml
deleted
100644 → 0
1 | --- | ||
2 | apiVersion: "acid.zalan.do/v1" | ||
3 | kind: postgresql | ||
4 | metadata: | ||
5 | name: moqui-postgresql | ||
6 | spec: | ||
7 | enableLogicalBackup: true | ||
8 | teamId: "moqui" | ||
9 | volume: | ||
10 | size: 1Gi | ||
11 | numberOfInstances: 2 | ||
12 | users: | ||
13 | zalando: # database owner | ||
14 | - superuser | ||
15 | - createdb | ||
16 | moqui: | ||
17 | - login | ||
18 | databases: | ||
19 | moqui: moqui | ||
20 | postgresql: | ||
21 | version: "14" | ||
22 | --- |
-
Please register or sign in to post a comment