feat(dependency): move solr, clickhouse and mongodb to deployment instead of statefullset (#7818)

**Description**
We're not planning to use HA deployments via the dependency train every
and instead will opt for offloading HA to purpose build operators

**⚙️ Type of change**

- [x] ⚙️ Feature/App addition
- [x] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**
<!--
Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration
-->

**📃 Notes:**
<!-- Please enter any other relevant information here -->

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🪞 I have opened a PR on
[truecharts/containers](https://github.com/truecharts/containers) adding
the container to TrueCharts mirror repo.
- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
This commit is contained in:
Kjeld Schouten-Lebbing
2023-03-19 18:21:22 +01:00
committed by GitHub
parent aa61d235d7
commit 60bb9ad37f
12 changed files with 18 additions and 25 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ appVersion: "23.2.1.253"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.2.26
version: 12.2.28
deprecated: false
description: ClickHouse is a column-oriented database management system (DBMS) for online analytical processing of queries (OLAP).
home: https://truecharts.org/charts/dependency/clickhouse
@@ -23,7 +23,7 @@ sources:
- https://hub.docker.com/r/clickhouse/clickhouse-server
- https://clickhouse.com/
type: application
version: 4.0.10
version: 5.0.0
annotations:
truecharts.org/catagories: |
- database
+1 -1
View File
@@ -72,7 +72,7 @@ questions:
default: false
# Include{serviceExpert}
# Include{serviceList}
# Include{vctRoot}
# Include{persistenceRoot}
additional_attrs: true
type: dict
attrs:
+1 -4
View File
@@ -5,9 +5,7 @@ image:
workload:
main:
type: StatefulSet
replicas: 1
strategy: RollingUpdate
podSpec:
containers:
main:
@@ -20,7 +18,6 @@ workload:
expandObjectName: "{{ if .Values.clickhousePassword }}true{{ else }}false{{ end }}"
name: '{{ if .Values.clickhousePassword }}credentials{{ else if .Values.existingSecret }}{{ .Values.existingSecret }}{{ else }}{{ printf "%s-%s" .Release.Name "clickhousecreds" }}{{ end }}'
key: "clickhouse-password"
probes:
liveness:
type: http
@@ -53,7 +50,7 @@ service:
protocol: http
targetPort: 8123
volumeClaimTemplates:
persistence:
data:
enabled: true
mountPath: /var/lib/clickhouse
+2 -2
View File
@@ -3,7 +3,7 @@ appVersion: "10.11.2"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.2.26
version: 12.2.28
deprecated: false
description: Fast, reliable, scalable, and easy to use open-source relational database system.
home: https://truecharts.org/charts/dependency/mariadb
@@ -26,7 +26,7 @@ sources:
- https://github.com/prometheus/mysqld_exporter
- https://mariadb.org
type: application
version: 7.0.0
version: 7.0.1
annotations:
truecharts.org/catagories: |
- database
+2 -2
View File
@@ -3,7 +3,7 @@ appVersion: "1.6.18"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.2.26
version: 12.2.28
deprecated: false
description: Memcached is a memory-backed database caching solution
home: https://truecharts.org/charts/dependency/memcached
@@ -24,7 +24,7 @@ sources:
- https://github.com/bitnami/bitnami-docker-memcached
- http://memcached.org/
type: application
version: 6.0.10
version: 6.0.11
annotations:
truecharts.org/catagories: |
- database
+2 -2
View File
@@ -3,7 +3,7 @@ appVersion: "6.0.4"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.2.26
version: 12.2.28
deprecated: false
description: Fast, reliable, scalable, and easy to use open-source no-sql database system.
home: https://truecharts.org/charts/dependency/mongodb
@@ -24,7 +24,7 @@ sources:
- https://github.com/bitnami/bitnami-docker-mongodb
- https://www.mongodb.com
type: application
version: 5.0.10
version: 6.0.0
annotations:
truecharts.org/catagories: |
- database
+1 -1
View File
@@ -66,7 +66,7 @@ questions:
default: false
# Include{serviceExpert}
# Include{serviceList}
# Include{vctRoot}
# Include{persistenceRoot}
additional_attrs: true
type: dict
attrs:
+1 -3
View File
@@ -6,8 +6,6 @@ image:
workload:
main:
replicas: 1
type: StatefulSet
strategy: RollingUpdate
podSpec:
containers:
main:
@@ -90,7 +88,7 @@ securityContext:
runAsGroup: 0
readOnlyRootFilesystem: false
volumeClaimTemplates:
persistence:
data:
enabled: true
mountPath: "/bitnami/mongodb"
+2 -2
View File
@@ -3,7 +3,7 @@ appVersion: "7.0.8"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.2.26
version: 12.2.28
deprecated: false
description: Open source, advanced key-value store.
home: https://truecharts.org/charts/dependency/redis
@@ -24,7 +24,7 @@ sources:
- https://github.com/bitnami/bitnami-docker-redis
- http://redis.io/
type: application
version: 6.0.16
version: 6.0.17
annotations:
truecharts.org/catagories: |
- database
+2 -2
View File
@@ -3,7 +3,7 @@ appVersion: "9.1.1"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.2.26
version: 12.2.28
deprecated: false
description: Apache Solr
home: https://truecharts.org/charts/dependency/solr
@@ -23,7 +23,7 @@ sources:
- https://hub.docker.com/r/bitnami/solr
- https://github.com/apache/solr
type: application
version: 3.0.8
version: 4.0.0
annotations:
truecharts.org/catagories: |
- search
+1 -1
View File
@@ -68,7 +68,7 @@ questions:
default: false
# Include{serviceExpert}
# Include{serviceList}
# Include{vctRoot}
# Include{persistenceRoot}
additional_attrs: true
type: dict
attrs:
+1 -3
View File
@@ -5,9 +5,7 @@ image:
workload:
main:
type: StatefulSet
replicas: 1
strategy: RollingUpdate
podSpec:
containers:
main:
@@ -104,7 +102,7 @@ service:
port: 8983
targetPort: 8983
volumeClaimTemplates:
persistence:
db:
enabled: true
mountPath: "/bitnami/solr"