Skip to content

Commit 88031ce

Browse files
committed
Merge branch 'main' of https://github.com/stackabletech/demos into bump/nifi-2.2.0-git-registry-client
2 parents da17f59 + 00fbe76 commit 88031ce

File tree

8 files changed

+759
-3
lines changed

8 files changed

+759
-3
lines changed

Diff for: .pre-commit-config.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
default_language_version:
33
node: system
44

5+
exclude: '^stacks/_templates/minio-tls/rendered-chart\.yaml$'
6+
57
repos:
68
- repo: https://github.com/pre-commit/pre-commit-hooks
79
rev: 2c9f875913ee60ca25ce70243dc24d5b6415598c # 4.6.0

Diff for: docs/modules/demos/pages/signal-processing.adoc

+3
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ image::signal-processing/notebook.png[]
6565

6666
The notebook reads the measurement data in windowed batches using a loop, computes some predictions for each batch and persists the scores in a separate timescale table.
6767

68+
NOTE: Re-running the notebook *will* result in errors, due to collisions in indexed data created by these batch scores.
69+
Nifi is used to simulate the ingestion of streamed data by performing a one-off import and then re-calibrating the timestamps so that each batch created by the notebook will always "find" new data. Re-running the notebook will mean that batched (but *not* aggregated i.e. the timestamps are not altered) data will be written to the database a second time, resulting in a violation of a unique index constraint.
70+
6871
=== Adding libraries
6972

7073
There are two ways of doing this:

Diff for: stacks/_templates/minio-tls/README.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# MinIO with TLS from secret-operator
2+
3+
MinIO has a severe limitation whereby the TLS certificates must be named `public.crt`
4+
and `private.key`. This goes against Kubernetes naming of `tls.crt` and `tls.key`.
5+
6+
The upstream minio chart is also too limited:
7+
8+
- No way to add initContainers (to rename cert files in a shared volume).
9+
- No way to edit the container command (to rename cert files before starting minio).
10+
11+
Therefore, we will render the upstream chart here, and then apply the necessary
12+
customizations on top.
13+
14+
```yaml
15+
helm template minio minio/minio -f values.yaml > rendered-chart.yaml
16+
```

0 commit comments

Comments
 (0)