Skip to content

Commit

Permalink
Add R2Devops and Promyze charts (#23)
Browse files Browse the repository at this point in the history
* Add R2Devops chart

* Add Promyze chart
  • Loading branch information
devpro authored Aug 2, 2023
1 parent 2f0a8ce commit bfa9ad2
Show file tree
Hide file tree
Showing 11 changed files with 178 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Helm charts to ease the deployment of containers on Kubernetes clusters and get
* [PostgreSQL](charts/postgresql/README.md) 🗸
* [RabbitMQ](charts/rabbitmq/README.md) 🗸
* [Redis](charts/redis/README.md) 🗸
* Learning Platforms
* Learning platforms
* [HobbyFarm](charts/hobbyfarm/README.md) 🗸
* Networking / Messaging
* [cert-manager](charts/cert-manager/README.md) 🗸
Expand Down Expand Up @@ -79,6 +79,8 @@ Helm charts to ease the deployment of containers on Kubernetes clusters and get
* [Jenkins](charts/jenkins/README.md) 🗸
* [Jira](charts/jira/README.md)
* [Nexus](charts/nexus/README.md)
* [R2Devops](charts/r2devops/README.md) 🗸
* [Promyze](charts/promyze/README.md) 🗸
* [SonarQube](charts/sonarqube/README.md) 🗸
* [Tekton](charts/tekton/README.md)
* Testing
Expand Down
43 changes: 43 additions & 0 deletions charts/promyze/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Contribute

## How to update the dependencies

```bash
# makes sure the repository has been added and refreshed
helm repo add promyze https://promyze.github.io/helm-charts
helm repo update

# searches for the latest version
helm search repo -l promyze --versions

# manual: update version number in Chart.yaml

# updates Chart.lock
helm dependency update
```

## How to check the manifest code quality

```bash
# checks code style
helm lint

# checks the Kubernetes objects generated from the chart
helm template promyze . -f values.yaml --namespace promyze-beta > temp.yaml
```

## How to deploy the chart from the sources

### Example with NGINX Ingress Controller

```bash
# gets Ingress Controller external IP
NGINX_PUBLIC_IP=`kubectl get service -n ingress-nginx ingress-nginx-controller --output jsonpath='{.status.loadBalancer.ingress[0].ip}'`

# installs on a cluster
helm upgrade --install promyze . -f values.yaml --create-namespace \
--namespace promyze-beta \
--debug

# manual: open http://promyze.${NGINX_PUBLIC_IP}.sslip.io/
```
14 changes: 14 additions & 0 deletions charts/promyze/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: v2
name: promyze
description: Helm chart for managing Promyze
type: application
version: "0.1.0"
appVersion: "4.12.1"
dependencies:
- name: promyze
version: 0.3.4
repository: https://promyze.github.io/helm-charts
maintainers:
- name: devpro
email: bertrand@devpro.fr
home: https://github.com/devpro/helm-charts/tree/main/charts/promyze
24 changes: 24 additions & 0 deletions charts/promyze/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Helm chart for Promyze

This Helm chart will install [Promyze](https://www.promyze.com/) in a Kubernetes cluster.
It is based on the [official Helm chart](https://promyze.github.io/helm-charts/) ([code](https://github.com/promyze/helm-charts),
[docs](https://docs.promyze.com/on-premise-version/install-the-self-hosted-version)).

## Usage

```bash
# if not already done, adds devpro repository in helm
helm repo add promyze https://promyze.github.io/helm-charts
helm repo update

# installs the chart with default parameters
helm upgrade --install promyze devpro/promyze --create-namespace --namespace promyze

# cleans up
helm uninstall promyze -n promyze
kubectl delete ns promyze
```

## Going further

Look at [Contibuting](CONTRIBUTING.md) page.
2 changes: 2 additions & 0 deletions charts/promyze/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# https://github.com/promyze/helm-charts/blob/main/charts/promyze/values.yaml
promyze: {}
45 changes: 45 additions & 0 deletions charts/r2devops/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# Contribute

## How to update the dependencies

```bash
# makes sure the repository has been added and refreshed
helm repo add r2devops https://charts.r2devops.io
helm repo update

# searches for the latest version
helm search repo -l r2devops --versions

# manual: update version number in Chart.yaml

# updates Chart.lock
helm dependency update
```

## How to check the manifest code quality

```bash
# checks code style
helm lint

# checks the Kubernetes objects generated from the chart
helm template r2devops . -f values.yaml --namespace r2devops-beta > temp.yaml
```

## How to deploy the chart from the sources

### Example with NGINX Ingress Controller and sslip.io

```bash
# gets Ingress Controller external IP
NGINX_PUBLIC_IP=`kubectl get service -n ingress-nginx ingress-nginx-controller --output jsonpath='{.status.loadBalancer.ingress[0].ip}'`

# manual steps: follow https://github.com/r2devops/self-managed/blob/main/charts/r2devops/CONTIBUTING.md

# installs on a cluster
helm upgrade --install r2devops . -f values.yaml --create-namespace \
--namespace r2devops-beta \
--debug

# manual step: open http://r2devops.${NGINX_PUBLIC_IP}.sslip.io/
```
6 changes: 6 additions & 0 deletions charts/r2devops/Chart.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
dependencies:
- name: r2devops
repository: https://charts.r2devops.io
version: 0.2.3
digest: sha256:f8aceadb79f7ca74fece51320b95c43a9df3d82dfa11938efc02d4f6a64aea5d
generated: "2023-08-02T15:36:19.705603475+02:00"
14 changes: 14 additions & 0 deletions charts/r2devops/Chart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: v2
name: r2devops
description: Helm chart for managing R2Devops
type: application
version: "0.1.0"
appVersion: "1.14.1"
dependencies:
- name: r2devops
version: 0.2.3
repository: https://charts.r2devops.io
maintainers:
- name: devpro
email: bertrand@devpro.fr
home: https://github.com/devpro/helm-charts/tree/main/charts/r2devops
23 changes: 23 additions & 0 deletions charts/r2devops/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Helm chart for R2Devops

This Helm chart will install [R2Devops](https://r2devops.io/) in a Kubernetes cluster.
It is based on the [official Helm chart](https://charts.r2devops.io) ([code](https://github.com/r2devops/self-managed), [docs](https://docs.r2devops.io/self-managed/kubernetes/)).

## Usage

```bash
# if not already done, adds devpro repository in helm
helm repo add r2devops https://charts.r2devops.io
helm repo update

# installs the chart with default parameters
helm upgrade --install r2devops devpro/r2devops --create-namespace --namespace r2devops

# cleans up
helm uninstall r2devops -n r2devops
kubectl delete ns r2devops
```

## Going further

Look at [Contibuting](CONTRIBUTING.md) page.
2 changes: 2 additions & 0 deletions charts/r2devops/values.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# https://github.com/r2devops/self-managed/blob/main/charts/r2devops/values.yaml
r2devops: {}
2 changes: 2 additions & 0 deletions scripts/add_helm_repo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ helm repo add neuvector https://neuvector.github.io/neuvector-helm
helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts
helm repo add ory https://k8s.ory.sh/helm/charts
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add promyze https://promyze.github.io/helm-charts
helm repo add r2devops https://charts.r2devops.io
helm repo add rancher-latest https://releases.rancher.com/server-charts/latest
helm repo add reportportal https://reportportal.github.io/kubernetes
helm repo add s3gw https://aquarist-labs.github.io/s3gw-charts
Expand Down

0 comments on commit bfa9ad2

Please sign in to comment.