Skip to content

Commit cded88d

Browse files
authored
Support configuration with Google PubSub (#20)
1 parent 927bbae commit cded88d

33 files changed

+645
-46
lines changed

README.adoc

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,16 @@ these instructions. Without modification of the values in the charts, it is not
1616

1717
Please feel free to visit our https://docs.featurehub.io[documentation] for further information.
1818

19-
== Steps
19+
== Local Development/Testing
20+
21+
The helm chart on the kind cluster installs with a default of Postgres and NATs. There
22+
are deploy scripts for using both, but a simple
23+
24+
$ helm upgrade -i featurehub featurehub -n featurehub
25+
26+
will work as long as the other kinD dependencies are installed. Below are the setup
27+
instructions for ensuring that kinD is installed and configured correctly (it needs
28+
an ingress running on port 80) before installing the charts.
2029

2130
=== 1. Install KinD
2231

@@ -131,6 +140,24 @@ out exactly what is wrong, and so should the endpoint.
131140

132141
== Changelog [[changelog]]
133142

143+
=== 4.1.0
144+
- support Google Pub/Sub configuration (including local dev)
145+
- clearly delineate application params vs env var based deployment
146+
- add better documentation and links
147+
- annotate for all fields so helmdocs pics up docs
148+
- add changelog
149+
150+
=== 4.0.9
151+
- Upgrade to support NATS
152+
- Upgrade to support Sync Waves for ArgoCD
153+
154+
=== 4.0.8
155+
- Ensure chart is properly tested
156+
- Fix values issue with env vars as secrets
157+
158+
=== 4.0.7
159+
- Introduce env vars as secrets
160+
134161
=== 4.0.6
135162

136163
Release for version 1.7.0

ct-docker.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/bash
2+
docker run -it --workdir=/data --volume $PWD:/data quay.io/helmpack/chart-testing:v3.7.1 /bin/bash

ct-test.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/sh
2+
cd helm/featurehub
3+
helm repo add bitnami https://raw.githubusercontent.com/bitnami/charts/archive-full-index/bitnami
4+
helm repo add nats https://nats-io.github.io/k8s/helm/charts/
5+
ct lint --config ../../.github/ct.yaml --chart-dirs . --charts . --target-branch main

helm/deploy-nats.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
helm upgrade -i featurehub featurehub --set dacha.envAsApplicationProperties=false,edge.envAsApplicationProperties=false,managementRepository.envAsApplicationProperties=false,nats.enabled=true,googlepubsub.enabled=false --namespace featurehub

helm/deploy-pubsub.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
helm upgrade -i pubsub-emulator pubsub-emulator --namespace featurehub --wait
3+
helm upgrade -i featurehub featurehub --set googlepubsub.enabled=true,nats.enabled=false --namespace featurehub

helm/featurehub/Chart.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,24 @@
11
apiVersion: v2
22
name: featurehub
3-
description: FeatureHub Release
3+
description: "FeatueHub is an Enterprise Grade, Cloud Native Feature Management platform that is available to suite any organisations requirements.
4+
This fully supported Helm chart is the Open Source version of the product, which has all the same features as the [SaaS product](https://app.featurehub.io).
5+
6+
7+
The project is hosted on [Github](https://github.com/featurehub-io/featurehub). It supports Postgres, MySQL, MariaDB or Oracle Database deployments, and uses
8+
NATS or Google PubSub as a streaming layer. Kinesis is available but has limited testing. Documentation on configuration is provided on [Featurehub Docs](https://docs.featurehub.io/featurehub/latest/configuration.html)
9+
10+
11+
NATS and Postgres are *NOT* requirements of the project and are included only for evaluation convenience and evaluation. It is expected people will install
12+
their own requirements.
13+
"
414
type: application
5-
version: 4.0.9
15+
version: 4.1.0
616
icon: https://raw.githubusercontent.com/featurehub-io/featurehub/main/docs/modules/ROOT/images/fh_icon.png
717
appVersion: "1.7.0"
818
maintainers:
919
- name: FeatureHub
1020
email: info@featurehub.io
21+
url: https://github.com/featurehub-io/featurehub-helm
1122
dependencies:
1223
- name: postgresql
1324
version: 12.1.13

helm/featurehub/LICENSE

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
Copyright 2023 Anyways Labs Ltd
2+
3+
MIT License
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6+
7+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8+
9+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

0 commit comments

Comments
 (0)