Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions .github/workflows/helm-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@ jobs:
kbld version

- name: start minikube
if: github.event_name == 'push' && !startsWith(github.ref, 'refs/heads/release-please--')
if: github.event_name == 'pull_request' && !startsWith(github.head_ref, 'release-please--')
id: minikube
uses: medyagh/setup-minikube@v0.0.18
with:
addons: ingress

- name: Deploy to minikube
if: github.event_name == 'push' && !startsWith(github.ref, 'refs/heads/release-please--')
if: github.event_name == 'pull_request' && !startsWith(github.head_ref, 'release-please--')
working-directory: ./helm
run: make deploy KAPP_ARGS="-y --logs-all"
2 changes: 1 addition & 1 deletion helm/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ docker-build-minikube:
cd .. && make docker-build-minikube

update-kc-realm:
kubectl create configmap realm --from-file=realm.json=../docker/keycloak/realm.json --dry-run=client -o yaml > realm-config-map.yaml
kubectl create configmap realm --from-file=realm.json=../docker/keycloak/realm.json --dry-run=client -o yaml > realm-config-map.yaml
8 changes: 8 additions & 0 deletions helm/cosmo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ This is the official Helm Chart for WunderGraph Cosmo - The Full Lifecycle Graph
| clickhouse.auth.password | string | `"changeme"` | |
| clickhouse.auth.username | string | `"default"` | |
| clickhouse.commonAnnotations."kapp.k14s.io/change-group" | string | `"cosmo.apps.clickhouse.wundergraph.com/deployment"` | |
| clickhouse.image.registry | string | `"docker.io"` | |
| clickhouse.image.repository | string | `"bitnamilegacy/clickhouse"` | |
| clickhouse.initdbScripts."db-init.sh" | string | `"#!/bin/bash\nset -e\nclickhouse-client --user $CLICKHOUSE_ADMIN_USER --password $CLICKHOUSE_ADMIN_PASSWORD -n <<-EOSQL\n CREATE DATABASE IF NOT EXISTS cosmo;\nEOSQL\n"` | |
| clickhouse.persistence.annotations."kapp.k14s.io/owned-for-deletion" | string | `""` | |
| clickhouse.persistence.size | string | `"2Gi"` | |
Expand Down Expand Up @@ -202,6 +204,8 @@ This is the official Helm Chart for WunderGraph Cosmo - The Full Lifecycle Graph
| minio.auth.rootUser | string | `"minio"` | |
| minio.commonAnnotations."kapp.k14s.io/change-group" | string | `"cosmo.apps.minio.wundergraph.com/deployment"` | |
| minio.defaultBuckets | string | `"cosmo"` | |
| minio.image.registry | string | `"docker.io"` | |
| minio.image.repository | string | `"bitnamilegacy/minio"` | |
| minio.persistence.annotations."kapp.k14s.io/owned-for-deletion" | string | `""` | |
| minio.persistence.size | string | `"1Gi"` | |
| minio.service.ports.minio | int | `9000` | |
Expand All @@ -219,6 +223,8 @@ This is the official Helm Chart for WunderGraph Cosmo - The Full Lifecycle Graph
| postgresql.auth.password | string | `"changeme"` | |
| postgresql.auth.username | string | `"postgres"` | |
| postgresql.commonAnnotations."kapp.k14s.io/change-group" | string | `"cosmo.apps.postgresql.wundergraph.com/deployment"` | |
| postgresql.image.registry | string | `"docker.io"` | |
| postgresql.image.repository | string | `"bitnamilegacy/postgresql"` | |
| postgresql.primary.initdb.password | string | `"changeme"` | |
| postgresql.primary.initdb.scripts."01_init_keycloak.sql" | string | `"-- Create the database for Keycloak\nCREATE DATABASE \"keycloak\";\n"` | |
| postgresql.primary.initdb.user | string | `"postgres"` | |
Expand All @@ -228,6 +234,8 @@ This is the official Helm Chart for WunderGraph Cosmo - The Full Lifecycle Graph
| redis.auth.enabled | bool | `false` | |
| redis.commonAnnotations."kapp.k14s.io/change-group" | string | `"cosmo.apps.redis.wundergraph.com/deployment"` | |
| redis.commonConfiguration | string | `"# Enable AOF https://redis.io/topics/persistence#append-only-file\nappendonly yes\n# Enable RDB persistence (backup every 24h)\nsave \"86400 1\"\n# Disable maxmemory-policy https://redis.io/topics/lru-cache#eviction-policies\nmaxmemory-policy noeviction\n# Set maxmemory to 100mb\nmaxmemory 100mb"` | |
| redis.image.registry | string | `"docker.io"` | |
| redis.image.repository | string | `"bitnamilegacy/redis"` | |
| redis.master.persistence.annotations."kapp.k14s.io/owned-for-deletion" | string | `""` | |
| redis.master.persistence.enabled | bool | `true` | |
| redis.master.persistence.size | string | `"1Gi"` | |
Expand Down
12 changes: 12 additions & 0 deletions helm/cosmo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,9 @@ keycloak:
# ClickHouse for the Cosmo Controlplane & Collectors
# https://artifacthub.io/packages/helm/bitnami/clickhouse
clickhouse:
image:
registry: docker.io
repository: bitnamilegacy/clickhouse
shards: 1
# 1 replica for development
replicaCount: 1
Expand Down Expand Up @@ -431,6 +434,9 @@ clickhouse:
# Postgres for the Cosmo Controlplane
# https://artifacthub.io/packages/helm/bitnami/postgresql
postgresql:
image:
registry: docker.io
repository: bitnamilegacy/postgresql
commonAnnotations:
# Support for k14s.io. This annotation will form a group to coordinate deployments with kapp.
kapp.k14s.io/change-group: 'cosmo.apps.postgresql.wundergraph.com/deployment'
Expand Down Expand Up @@ -460,6 +466,9 @@ postgresql:
# Minio for the Cosmo Controlplane
# https://artifacthub.io/packages/helm/bitnami/minio
minio:
image:
registry: docker.io
repository: bitnamilegacy/minio
persistence:
size: 1Gi
annotations:
Expand All @@ -481,6 +490,9 @@ minio:
# https://artifacthub.io/packages/helm/bitnami/redis

redis:
image:
registry: docker.io
repository: bitnamilegacy/redis
auth:
enabled: false
replica:
Expand Down
Loading