fix(dependency): update dependency common linking (#7746)

* fix(dependency): update dependency common linking

* ensure expandObjectName: false is actually set

* fix dependency tests

* attempt with new common update

* dont run collabora online as a dependency anymore and fix mariadb

* fix memcached
This commit is contained in:
Kjeld Schouten-Lebbing
2023-03-05 18:15:26 +01:00
committed by GitHub
parent 8e06598159
commit c9c3810386
29 changed files with 67 additions and 1367 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ appVersion: "6.0.4"
dependencies:
- name: common
repository: https://library-charts.truecharts.org
version: 12.2.1
version: 12.2.13
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.0
version: 5.0.1
annotations:
truecharts.org/catagories: |
- database
@@ -0,0 +1 @@
mongodbPassword: "testpassword"
+8 -3
View File
@@ -16,11 +16,13 @@ workload:
MONGODB_DATABASE: "{{ .Values.mongodbDatabase }}"
MONGODB_PASSWORD:
secretKeyRef:
name: "credentials"
expandObjectName: "{{ if .Values.mongodbPassword }}true{{ else }}false{{ end }}"
name: '{{ if .Values.mongodbPassword }}credentials{{ else if .Values.existingSecret }}{{ .Values.existingSecret }}{{ else }}{{ printf "%s-%s" .Release.Name "mongodbcreds" }}{{ end }}'
key: "mongodb-password"
MONGODB_ROOT_PASSWORD:
secretKeyRef:
name: "credentials"
expandObjectName: "{{ if .Values.mongodbPassword }}true{{ else }}false{{ end }}"
name: '{{ if .Values.mongodbPassword }}credentials{{ else if .Values.existingSecret }}{{ .Values.existingSecret }}{{ else }}{{ printf "%s-%s" .Release.Name "mongodbcreds" }}{{ end }}'
key: "mongodb-root-password"
# -- Probe configuration
# -- [[ref]](https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/)
@@ -93,10 +95,13 @@ volumeClaimTemplates:
enabled: true
mountPath: "/bitnami/mongodb"
mongodbPassword: "testpass"
mongodbUsername: "test"
mongodbDatabase: "test"
mongodbRootPassword: "testroot"
# -- Secret or password
# One of these options is required, unless used as a dependency for another TrueCharts chart.
mongodbPassword: ""
existingSecret: ""
secret: