Skip to content

Commit

Permalink
understackdb: fix the instanceNamespace
Browse files Browse the repository at this point in the history
  • Loading branch information
skrobul committed Dec 5, 2024
1 parent 218ee01 commit b330c04
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion helm-charts/understackdb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ Helm chart to deploy MariaDB Database instances for Understack
| grants[0].table | string | `"*"` | list of tables that grant is for |
| image | string | `"mariadb:11.0.3"` | |
| imagePullPolicy | string | `"IfNotPresent"` | |
| instanceName | string | mariadb | instanceName is the name of the database instance |
| instanceName | string | `"mariadb"` | instanceName is the name of the database instance |
| instanceNamespace | string | `"openstack"` | instanceNamespace is the namespace where the MariaDB will be created |
| rootPasswordSecretKeyRef | object | name: mariadb, key: root-password, generate: false | rootPasswordSecretKeyRef is a reference to a Secret containing the root password |
| rootPasswordSecretKeyRef.generate | bool | false | generate determines whether a password should be generated if it's missing |
| rootPasswordSecretKeyRef.key | string | root-password | key is the key in the Secret containing the root password |
Expand Down
1 change: 1 addition & 0 deletions helm-charts/understackdb/templates/mariadb-instance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ apiVersion: k8s.mariadb.com/v1alpha1
kind: MariaDB
metadata:
name: {{ .Values.instanceName }}

Check failure on line 5 in helm-charts/understackdb/templates/mariadb-instance.yaml

View workflow job for this annotation

GitHub Actions / lint-yaml

5:11 [braces] too many spaces inside braces

Check failure on line 5 in helm-charts/understackdb/templates/mariadb-instance.yaml

View workflow job for this annotation

GitHub Actions / lint-yaml

5:32 [braces] too many spaces inside braces

Check failure on line 5 in helm-charts/understackdb/templates/mariadb-instance.yaml

View workflow job for this annotation

GitHub Actions / lint-yaml

5:11 [braces] too many spaces inside braces

Check failure on line 5 in helm-charts/understackdb/templates/mariadb-instance.yaml

View workflow job for this annotation

GitHub Actions / lint-yaml

5:32 [braces] too many spaces inside braces
namespace: {{ .Values.instanceNamespace }}

Check failure on line 6 in helm-charts/understackdb/templates/mariadb-instance.yaml

View workflow job for this annotation

GitHub Actions / lint-yaml

6:16 [braces] too many spaces inside braces

Check failure on line 6 in helm-charts/understackdb/templates/mariadb-instance.yaml

View workflow job for this annotation

GitHub Actions / lint-yaml

6:42 [braces] too many spaces inside braces

Check failure on line 6 in helm-charts/understackdb/templates/mariadb-instance.yaml

View workflow job for this annotation

GitHub Actions / lint-yaml

6:16 [braces] too many spaces inside braces

Check failure on line 6 in helm-charts/understackdb/templates/mariadb-instance.yaml

View workflow job for this annotation

GitHub Actions / lint-yaml

6:42 [braces] too many spaces inside braces
spec:
rootPasswordSecretKeyRef:
name: {{ .Values.rootPasswordSecretKeyRef.name }}

Check failure on line 9 in helm-charts/understackdb/templates/mariadb-instance.yaml

View workflow job for this annotation

GitHub Actions / lint-yaml

9:13 [braces] too many spaces inside braces

Check failure on line 9 in helm-charts/understackdb/templates/mariadb-instance.yaml

View workflow job for this annotation

GitHub Actions / lint-yaml

9:51 [braces] too many spaces inside braces

Check failure on line 9 in helm-charts/understackdb/templates/mariadb-instance.yaml

View workflow job for this annotation

GitHub Actions / lint-yaml

9:13 [braces] too many spaces inside braces

Check failure on line 9 in helm-charts/understackdb/templates/mariadb-instance.yaml

View workflow job for this annotation

GitHub Actions / lint-yaml

9:51 [braces] too many spaces inside braces
Expand Down
3 changes: 2 additions & 1 deletion helm-charts/understackdb/values.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Default values for understackdb.
# -- instanceName is the name of the database instance
# @default -- mariadb
instanceName: mariadb
# -- instanceNamespace is the namespace where the MariaDB will be created
instanceNamespace: openstack
# -- rootPasswordSecretKeyRef is a reference to a Secret containing the root password
# @default -- name: mariadb, key: root-password, generate: false
rootPasswordSecretKeyRef:
Expand Down

0 comments on commit b330c04

Please sign in to comment.