Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
46 changes: 46 additions & 0 deletions .github/workflows/helm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# release.yaml
name: Release Charts

on:
push:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"

# Optional step if GPG signing is used
- name: Prepare GPG key
run: |
gpg_dir=.cr-gpg
mkdir "$gpg_dir"
keyring="$gpg_dir/secring.gpg"
base64 -d <<< "$GPG_KEYRING_BASE64" > "$keyring"
passphrase_file="$gpg_dir/passphrase"
echo "$GPG_PASSPHRASE" > "$passphrase_file"
echo "CR_PASSPHRASE_FILE=$passphrase_file" >> "$GITHUB_ENV"
echo "CR_KEYRING=$keyring" >> "$GITHUB_ENV"
echo "sign: true" > cr.yaml
echo "key: Smarter Project" >> cr.yaml
env:
GPG_KEYRING_BASE64: "${{ secrets.GPG_KEYRING_BASE64 }}"
GPG_PASSPHRASE: "${{ secrets.GPG_PASSPHRASE }}"

- name: Run chart-releaser
uses: helm/chart-releaser-action@v1.4.1
with:
config: cr.yaml
env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

35 changes: 17 additions & 18 deletions charts/demo/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
name: smarter-demo
description: smarter edge demo deployment chart

home: https://getsmarter.io
# A chart can be either an 'application' or a 'library' chart.
#
# Application charts are a collection of templates that can be packaged into versioned archives
Expand All @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 0.1.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand All @@ -32,24 +32,23 @@ dependencies:
repository: https://fluent.github.io/helm-charts
alias: fluent-bit
- name: smarter-gstreamer
version: 0.0.1
repository: https://smarter-project.github.io/documentation/charts
version: 0.0.2
repository: https://smarter-project.github.io/gstreamer
- name: smarter-pulseaudio
version: 0.0.1
repository: https://fluent.github.io/helm-charts/documentation/charts
version: 0.0.2
repository: https://smarter-project.github.io/pulseaudio
- name: smarter-image-detector
version: 0.0.1
repository: https://fluent.github.io/helm-charts/documentation/charts
version: 0.0.2
repository: https://smarter-project.github.io/image-detector
- name: smarter-audio-client
version: 0.0.1
repository: https://fluent.github.io/helm-charts/documentation/charts
- name: smarter-admission-controller
version: 0.0.1
repository: https://fluent.github.io/helm-charts/documentation/charts

version: 0.0.2
repository: https://smarter-project.github.io/audio-client
- name: smarter-inference
version: 0.0.2
repository: https://smarter-project.github.io/smarter-inference
icon: https://gitlab.com/uploads/-/system/group/avatar/59012546/ARM1636_Project_Logo_ST2_RGB_V1.png
sources:
- https://gitlab.com/smarter-project/documentation

- https://github.com/smarter-project/documentation
annotations:
artifacthub.io/changes: |
- Initial release
Expand All @@ -59,5 +58,5 @@ annotations:
email: ericvh@gmail.com
artifacthub.io/prerelease: "false"
artifacthub.io/signKey: |
fingerprint: 9696F0D196A59098A4CAD15188FFD5FB4A5FFF98
url: https://keybase.io/ericvh/pgp_keys.asc
fingerprint: 71EDA4E3D652DC73EB09E3A5387D298C169CF24E
url: https://smarter-project.github.io/documentation/pgp_keys.asc
3 changes: 1 addition & 2 deletions charts/demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@ For more information on smarter go to https://getsmarter.io
## TL;DR

```console
helm repo add smarter https://smarter-project.gitlab.io/documentation/charts
helm install --set domain=example.com demo smarter/demo
helm install --set domain=example.com demo charts/demo
```

# Overview
Expand Down
11 changes: 11 additions & 0 deletions charts/demo/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
Your SMARTER edge demo applications have been provisioned.
If you edge-nodes are labeled correctly with the node
4selectors as defined in values.yaml then the smarter edge demo daemonsets
will be automatically deployed to your edge nodes and forward data to your
cloud instance to be visualized in grafana.

If you haven't already done so, provision your cloud side infrastructure to
be able to receive data from your edgem nodes.

For more details and instructions go to https://getsmarter.io

2 changes: 1 addition & 1 deletion charts/demo/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Declare variables to be passed into your templates.

global:
domain: d.getsmarter.io
domain: example.com

fluent-bit:
fluentd:
Expand Down
9 changes: 4 additions & 5 deletions charts/smarter-cloud/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: smarter-cloud
description: smarter cloud deploymnent chart
description: smarter cloud deployment chart

home: https://gitlab.com/smarter-project/documentation

Expand All @@ -17,14 +17,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.0
version: 0.1.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "2.0.0"
logo: https://gitlab.com/uploads/-/system/group/avatar/6339043/ARM1636_Project_Logo_ST2_RGB_V1.png
kubeVersion: ">=1.18.0-0"

dependencies:
Expand Down Expand Up @@ -59,5 +58,5 @@ annotations:
email: ericvh@gmail.com
artifacthub.io/prerelease: "false"
artifacthub.io/signKey: |
fingerprint: 9696F0D196A59098A4CAD15188FFD5FB4A5FFF98
url: https://keybase.io/ericvh/pgp_keys.asc
fingerprint: 71EDA4E3D652DC73EB09E3A5387D298C169CF24E
url: https://smarter-project.github.io/documentation/pgp_keys.asc
3 changes: 1 addition & 2 deletions charts/smarter-cloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ For more information on smarter go to https://getsmarter.io
## TL;DR

```console
helm repo add smarter https://smarter-project.gitlab.io/documentation/charts
helm install --set domain=example.com --set email=youremail@mail.com my-smarter-cloud smarter-cloud
helm install --set domain=example.com --set email=youremail@mail.com smarter-cloud charts/smarter-cloud
```

# Overview
Expand Down
6 changes: 6 additions & 0 deletions charts/smarter-cloud/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Your SMARTER cloud instance has been deployed. Next deploy an edge server and edge nodes to connect to it.
For more details and instructions go to https://getsmarter.io

If you deployed your instance correctly, you should be able to log into grafana at
https://grafana.{{ .Values.domain }} with the username admin and the password {{ .Values.prometheus.grafana.adminPassword }}

2 changes: 0 additions & 2 deletions charts/smarter-cloud/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

namespace: smarter-cloud

domain: example.com

cert-manager:
Expand Down
20 changes: 10 additions & 10 deletions charts/smarter-edge/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
apiVersion: v2
name: smarter-edge
description: smarter edge deploymnent chart
description: smarter edge deployment chart

home: https://gitlab.com/smarter-project/documentation
home: https://getsmarter.io

# A chart can be either an 'application' or a 'library' chart.
#
Expand All @@ -17,7 +17,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.0.2
version: 0.0.3

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand All @@ -30,17 +30,17 @@ kubeVersion: ">=1.18.0-0"
dependencies:
- name: smarter-cni
version: 0.0.2
repository: https://smarter-project.gitlab.io/documentation/charts
repository: https://smarter-project.github.io/smarter-cni
- name: smarter-dns
version: 0.0.2
repository: https://smarter-project.gitlab.io/documentation/charts
repository: https://smarter-project.github.io/smarter-dns
- name: smarter-device-manager
version: 0.0.3
repository: https://smarter-project.gitlab.io/documentation/charts
version: 0.0.7
repository: https://smarter-project.github.io/smarter-device-manager

icon: https://gitlab.com/uploads/-/system/group/avatar/59012546/ARM1636_Project_Logo_ST2_RGB_V1.png
sources:
- https://gitlab.com/smarter-project/documentation
- https://github.com/smarter-project/documentation

annotations:
artifacthub.io/changes: |
Expand All @@ -51,5 +51,5 @@ annotations:
email: ericvh@gmail.com
artifacthub.io/prerelease: "false"
artifacthub.io/signKey: |
fingerprint: 9696F0D196A59098A4CAD15188FFD5FB4A5FFF98
url: https://keybase.io/ericvh/pgp_keys.asc
fingerprint: 71EDA4E3D652DC73EB09E3A5387D298C169CF24E
url: https://smarter-project.github.io/documentation/pgp_keys.asc
5 changes: 2 additions & 3 deletions charts/smarter-edge/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ For more information on smarter go to https://getsmarter.io
## TL;DR

```console
helm repo add smarter https://smarter-project.gitlab.io/documentation/charts
helm install my-smarter-edge smarter-edge
helm install smarter-edge charts/smarter-edge
```

# Overview
Expand All @@ -26,7 +25,7 @@ This chart assumes a full deployment of k3s with traefik, etc.
# Uninstalling the Chart

```
$ helm delete my-smarter-edge
$ helm delete smarter-edge
```

# Parameters
7 changes: 7 additions & 0 deletions charts/smarter-edge/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Your SMARTER edge infrastructure has been provisioned. If you edge-nodes are labeled correctly with the node
selectors as defined in values.yaml (default smarter.type: edge) then the smarter edge infrastructure daemonsets
will be automatically deployed to your edge nodes.

If you haven't already done so, provision your cloud side infrastructure to be able to receive data from your edgem nodes.
For more details and instructions go to https://getsmarter.io

2 changes: 0 additions & 2 deletions charts/smarter-edge/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

namespace: smarter

smarter-dns:
nodeSelector:
smarter.type: edge
Expand Down
10 changes: 5 additions & 5 deletions charts/test-pod/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
apiVersion: v2
name: smarter-test-pod
description: smarter-test-pod chart for SMARTER edge devices
home: https://gitlab.com/smarter-project/documentation/charts/test-pod
version: 0.0.1
home: https://getsmater.io
version: 0.0.2
appVersion: latest
kubeVersion: ">=1.16.0-0"
keywords:
- kubernetes
sources:
- https://gitlab.com/smarter-project/documentation/charts/test-pod
- https://github.com/smarter-project/documentation/charts/test-pod

annotations:
artifacthub.io/changes: |
Expand All @@ -20,5 +20,5 @@ annotations:
email: alexandref75@gmail.com
artifacthub.io/prerelease: "false"
artifacthub.io/signKey: |
fingerprint: 82AD709FEC4ECA4C84B093889BDC9DE410CFC23B
url: https://keybase.io/alexandref75/pgp_keys.asc
fingerprint: 71EDA4E3D652DC73EB09E3A5387D298C169CF24E
url: https://smarter-project.github.io/documentation/pgp_keys.asc