Skip to content

Commit e7a10fd

Browse files
committed
feat: update images in values for bitnami helm charts
1 parent 6a9fee4 commit e7a10fd

File tree

4 files changed

+23
-3
lines changed

4 files changed

+23
-3
lines changed

.github/workflows/helm-deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@ jobs:
4343
kbld version
4444
4545
- name: start minikube
46-
if: github.event_name == 'push' && !startsWith(github.ref, 'refs/heads/release-please--')
46+
if: github.event_name == 'pull_request' && !startsWith(github.head_ref, 'release-please--')
4747
id: minikube
4848
uses: medyagh/setup-minikube@v0.0.18
4949
with:
5050
addons: ingress
5151

5252
- name: Deploy to minikube
53-
if: github.event_name == 'push' && !startsWith(github.ref, 'refs/heads/release-please--')
53+
if: github.event_name == 'pull_request' && !startsWith(github.head_ref, 'release-please--')
5454
working-directory: ./helm
5555
run: make deploy KAPP_ARGS="-y --logs-all"

helm/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ docker-build-minikube:
4444
cd .. && make docker-build-minikube
4545

4646
update-kc-realm:
47-
kubectl create configmap realm --from-file=realm.json=../docker/keycloak/realm.json --dry-run=client -o yaml > realm-config-map.yaml
47+
kubectl create configmap realm --from-file=realm.json=../docker/keycloak/realm.json --dry-run=client -o yaml > realm-config-map.yaml

helm/cosmo/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ This is the official Helm Chart for WunderGraph Cosmo - The Full Lifecycle Graph
4444
| clickhouse.auth.password | string | `"changeme"` | |
4545
| clickhouse.auth.username | string | `"default"` | |
4646
| clickhouse.commonAnnotations."kapp.k14s.io/change-group" | string | `"cosmo.apps.clickhouse.wundergraph.com/deployment"` | |
47+
| clickhouse.image.registry | string | `"docker.io"` | |
48+
| clickhouse.image.repository | string | `"bitnamilegacy/clickhouse"` | |
4749
| 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"` | |
4850
| clickhouse.persistence.annotations."kapp.k14s.io/owned-for-deletion" | string | `""` | |
4951
| clickhouse.persistence.size | string | `"2Gi"` | |
@@ -202,6 +204,8 @@ This is the official Helm Chart for WunderGraph Cosmo - The Full Lifecycle Graph
202204
| minio.auth.rootUser | string | `"minio"` | |
203205
| minio.commonAnnotations."kapp.k14s.io/change-group" | string | `"cosmo.apps.minio.wundergraph.com/deployment"` | |
204206
| minio.defaultBuckets | string | `"cosmo"` | |
207+
| minio.image.registry | string | `"docker.io"` | |
208+
| minio.image.repository | string | `"bitnamilegacy/minio"` | |
205209
| minio.persistence.annotations."kapp.k14s.io/owned-for-deletion" | string | `""` | |
206210
| minio.persistence.size | string | `"1Gi"` | |
207211
| minio.service.ports.minio | int | `9000` | |
@@ -219,6 +223,8 @@ This is the official Helm Chart for WunderGraph Cosmo - The Full Lifecycle Graph
219223
| postgresql.auth.password | string | `"changeme"` | |
220224
| postgresql.auth.username | string | `"postgres"` | |
221225
| postgresql.commonAnnotations."kapp.k14s.io/change-group" | string | `"cosmo.apps.postgresql.wundergraph.com/deployment"` | |
226+
| postgresql.image.registry | string | `"docker.io"` | |
227+
| postgresql.image.repository | string | `"bitnamilegacy/postgresql"` | |
222228
| postgresql.primary.initdb.password | string | `"changeme"` | |
223229
| postgresql.primary.initdb.scripts."01_init_keycloak.sql" | string | `"-- Create the database for Keycloak\nCREATE DATABASE \"keycloak\";\n"` | |
224230
| postgresql.primary.initdb.user | string | `"postgres"` | |
@@ -228,6 +234,8 @@ This is the official Helm Chart for WunderGraph Cosmo - The Full Lifecycle Graph
228234
| redis.auth.enabled | bool | `false` | |
229235
| redis.commonAnnotations."kapp.k14s.io/change-group" | string | `"cosmo.apps.redis.wundergraph.com/deployment"` | |
230236
| 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"` | |
237+
| redis.image.registry | string | `"docker.io"` | |
238+
| redis.image.repository | string | `"bitnamilegacy/redis"` | |
231239
| redis.master.persistence.annotations."kapp.k14s.io/owned-for-deletion" | string | `""` | |
232240
| redis.master.persistence.enabled | bool | `true` | |
233241
| redis.master.persistence.size | string | `"1Gi"` | |

helm/cosmo/values.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,9 @@ keycloak:
399399
# ClickHouse for the Cosmo Controlplane & Collectors
400400
# https://artifacthub.io/packages/helm/bitnami/clickhouse
401401
clickhouse:
402+
image:
403+
registry: docker.io
404+
repository: bitnamilegacy/clickhouse
402405
shards: 1
403406
# 1 replica for development
404407
replicaCount: 1
@@ -431,6 +434,9 @@ clickhouse:
431434
# Postgres for the Cosmo Controlplane
432435
# https://artifacthub.io/packages/helm/bitnami/postgresql
433436
postgresql:
437+
image:
438+
registry: docker.io
439+
repository: bitnamilegacy/postgresql
434440
commonAnnotations:
435441
# Support for k14s.io. This annotation will form a group to coordinate deployments with kapp.
436442
kapp.k14s.io/change-group: 'cosmo.apps.postgresql.wundergraph.com/deployment'
@@ -460,6 +466,9 @@ postgresql:
460466
# Minio for the Cosmo Controlplane
461467
# https://artifacthub.io/packages/helm/bitnami/minio
462468
minio:
469+
image:
470+
registry: docker.io
471+
repository: bitnamilegacy/minio
463472
persistence:
464473
size: 1Gi
465474
annotations:
@@ -481,6 +490,9 @@ minio:
481490
# https://artifacthub.io/packages/helm/bitnami/redis
482491

483492
redis:
493+
image:
494+
registry: docker.io
495+
repository: bitnamilegacy/redis
484496
auth:
485497
enabled: false
486498
replica:

0 commit comments

Comments
 (0)