You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streampipes.apache.org by ri...@apache.org on 2023/06/29 20:37:05 UTC
[streampipes] branch improve-helm-chart created (now 08bf72e62)
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a change to branch improve-helm-chart
in repository https://gitbox.apache.org/repos/asf/streampipes.git
at 08bf72e62 [hotfix] Make storage sizes in helm charts configurable
This branch includes the following new commits:
new 08bf72e62 [hotfix] Make storage sizes in helm charts configurable
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
[streampipes] 01/01: [hotfix] Make storage sizes in helm charts configurable
Posted by ri...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch improve-helm-chart
in repository https://gitbox.apache.org/repos/asf/streampipes.git
commit 08bf72e625879a44859c55fd8d9ad61a03306205
Author: Dominik Riemer <do...@gmail.com>
AuthorDate: Thu Jun 29 22:36:29 2023 +0200
[hotfix] Make storage sizes in helm charts configurable
---
installer/k8s/templates/core/backend-pvc.yaml | 2 +-
installer/k8s/templates/core/ui-configmap.yaml | 2 +-
installer/k8s/templates/external/consul/consul-pv-pvc.yaml | 2 +-
installer/k8s/templates/external/couchdb/couchdb-pv-pvc.yaml | 2 +-
installer/k8s/templates/external/influxdb/influxdb-pvc.yaml | 2 +-
installer/k8s/templates/external/influxdb/influxdb2-pvc.yaml | 2 +-
installer/k8s/values.yaml | 9 +++++++--
7 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/installer/k8s/templates/core/backend-pvc.yaml b/installer/k8s/templates/core/backend-pvc.yaml
index 43ccf61fc..ed387d54b 100644
--- a/installer/k8s/templates/core/backend-pvc.yaml
+++ b/installer/k8s/templates/core/backend-pvc.yaml
@@ -26,4 +26,4 @@ spec:
- {{ .Values.persistentVolumeAccessModes }}
resources:
requests:
- storage: 50Mi
+ storage: {{ .Values.streampipes.core.persistence.storageSize }}
diff --git a/installer/k8s/templates/core/ui-configmap.yaml b/installer/k8s/templates/core/ui-configmap.yaml
index 31b2d3727..8afc386e7 100644
--- a/installer/k8s/templates/core/ui-configmap.yaml
+++ b/installer/k8s/templates/core/ui-configmap.yaml
@@ -21,7 +21,7 @@ data:
default.conf: |
server {
listen {{ .Values.streampipes.ui.port }} default_server;
- {{- if .Values.streampipes.ui.resolver }}
+ {{- if .Values.streampipes.ui.resolverActive }}
resolver {{ .Values.streampipes.ui.resolver }};
{{- end }}
root /usr/share/nginx/html;
diff --git a/installer/k8s/templates/external/consul/consul-pv-pvc.yaml b/installer/k8s/templates/external/consul/consul-pv-pvc.yaml
index 34885196f..c20f6b6b8 100644
--- a/installer/k8s/templates/external/consul/consul-pv-pvc.yaml
+++ b/installer/k8s/templates/external/consul/consul-pv-pvc.yaml
@@ -25,4 +25,4 @@ spec:
- {{ .Values.persistentVolumeAccessModes }}
resources:
requests:
- storage: 20M
+ storage: {{ .Values.external.consul.persistence.storageSize }}
diff --git a/installer/k8s/templates/external/couchdb/couchdb-pv-pvc.yaml b/installer/k8s/templates/external/couchdb/couchdb-pv-pvc.yaml
index 3b4152fef..e48c46241 100644
--- a/installer/k8s/templates/external/couchdb/couchdb-pv-pvc.yaml
+++ b/installer/k8s/templates/external/couchdb/couchdb-pv-pvc.yaml
@@ -25,4 +25,4 @@ spec:
- {{ .Values.persistentVolumeAccessModes }}
resources:
requests:
- storage: 50M
+ storage: {{ .Values.external.couchdb.persistence.storageSize }}
diff --git a/installer/k8s/templates/external/influxdb/influxdb-pvc.yaml b/installer/k8s/templates/external/influxdb/influxdb-pvc.yaml
index 1e6add053..30e25858a 100644
--- a/installer/k8s/templates/external/influxdb/influxdb-pvc.yaml
+++ b/installer/k8s/templates/external/influxdb/influxdb-pvc.yaml
@@ -25,4 +25,4 @@ spec:
- {{ .Values.persistentVolumeAccessModes }}
resources:
requests:
- storage: 250Mi
+ storage: {{ .Values.external.influxdb.persistence.storageSizeV1 }}
diff --git a/installer/k8s/templates/external/influxdb/influxdb2-pvc.yaml b/installer/k8s/templates/external/influxdb/influxdb2-pvc.yaml
index dada18938..7b90a31af 100644
--- a/installer/k8s/templates/external/influxdb/influxdb2-pvc.yaml
+++ b/installer/k8s/templates/external/influxdb/influxdb2-pvc.yaml
@@ -26,4 +26,4 @@ spec:
- {{ .Values.persistentVolumeAccessModes }}
resources:
requests:
- storage: 250Mi
+ storage: {{ .Values.external.influxdb.persistence.storageSize }}
diff --git a/installer/k8s/values.yaml b/installer/k8s/values.yaml
index 82464f320..33780da11 100644
--- a/installer/k8s/values.yaml
+++ b/installer/k8s/values.yaml
@@ -28,6 +28,7 @@ streampipes:
port: 8030
persistence:
storageClassName: ""
+ storageSize: "1Gi"
claimName: "backend-pvc"
pvName: "backend-pv"
service:
@@ -35,7 +36,7 @@ streampipes:
port: 8030
ui:
appName: "ui"
- resolverActive: true
+ resolverActive: false
# DNS resolver when using the Nginx proxy
resolver: "kube-dns.kube-system.svc.cluster.local"
service:
@@ -51,7 +52,7 @@ streampipes:
host: ""
# Ingressroute for running StreamPipes behind Traefik
ingressroute:
- active: false
+ active: true
annotations: {}
entryPoints:
- web
@@ -66,6 +67,7 @@ external:
version: 1.14.3
persistence:
storageClassName: ""
+ storageSize: "1Gi"
claimName: "consul-pvc"
pvName: "consul-pv"
couchdb:
@@ -75,6 +77,7 @@ external:
password: "admin"
persistence:
storageClassName: ""
+ storageSize: "1Gi"
claimName: "couchdb-pvc"
pvName: "couchdb-pv"
influxdb:
@@ -89,6 +92,8 @@ external:
initMode: "setup"
persistence:
storageClassName: ""
+ storageSize: "1Gi"
+ storageSizeV1: "1Gi"
claimName: "influxdb2-pvc"
claimNameV1: "influxdb-pvc"
pvName: "influxdb2-pv"