Skip to content
Snippets Groups Projects
Verified Commit b229b8b4 authored by Martin Weise's avatar Martin Weise
Browse files

Fixed the chart and added documentation

parent c023c5c5
No related branches found
No related tags found
3 merge requests!268Master,!266Dev,!265Dev
...@@ -11,9 +11,6 @@ dependencies: ...@@ -11,9 +11,6 @@ dependencies:
- name: mariadb-galera - name: mariadb-galera
repository: https://charts.bitnami.com/bitnami repository: https://charts.bitnami.com/bitnami
version: 11.0.1 version: 11.0.1
- name: postgresql-ha
repository: https://charts.bitnami.com/bitnami
version: 12.1.7
- name: rabbitmq - name: rabbitmq
repository: https://charts.bitnami.com/bitnami repository: https://charts.bitnami.com/bitnami
version: 14.0.0 version: 14.0.0
...@@ -23,5 +20,5 @@ dependencies: ...@@ -23,5 +20,5 @@ dependencies:
- name: tusd - name: tusd
repository: https://charts.sagikazarmark.dev repository: https://charts.sagikazarmark.dev
version: 0.1.2 version: 0.1.2
digest: sha256:4333491b03ef44cc76010790d1b94075b8964bdc473fcf58dc4a54bca8f9adbf digest: sha256:f724e33944ae5284b9417a3424a4af9cd67eb8bea0baa0ebeddc76f4c0c9c63a
generated: "2024-05-16T19:02:57.574235186+02:00" generated: "2024-05-17T21:25:35.919266246+02:00"
...@@ -96,11 +96,12 @@ The command removes all the Kubernetes components associated with the chart and ...@@ -96,11 +96,12 @@ The command removes all the Kubernetes components associated with the chart and
### Data Database ### Data Database
| Name | Description | Value | | Name | Description | Value |
| -------------------------- | ----------------------------------------------------------- | -------- | | ---------------------------- | ----------------------------------------------------------- | -------- |
| `datadb.enabled` | Enable the Data Database. | `true` | | `datadb.enabled` | Enable the Data Database. | `true` |
| `datadb.image.debug` | Set the logging level to `trace`. Otherwise, set to `info`. | `false` | | `datadb.image.debug` | Set the logging level to `trace`. Otherwise, set to `info`. | `false` |
| `datadb.rootUser.user` | The root username. | `root` | | `datadb.rootUser.user` | The root username. | `root` |
| `datadb.rootUser.password` | The root user password. | `dbrepo` | | `datadb.rootUser.password` | The root user password. | `dbrepo` |
| `datadb.persistence.enabled` | Enable persistent storage. Requires PV-provisioner. | `false` |
| `datadb.replicaCount` | The number of replicas, should be uneven (2n+1). | `3` | | `datadb.replicaCount` | The number of replicas, should be uneven (2n+1). | `3` |
### Search Database ### Search Database
...@@ -113,7 +114,7 @@ The command removes all the Kubernetes components associated with the chart and ...@@ -113,7 +114,7 @@ The command removes all the Kubernetes components associated with the chart and
| `searchdb.username` | The admin username. | `admin` | | `searchdb.username` | The admin username. | `admin` |
| `searchdb.password` | The admin user password. | `admin` | | `searchdb.password` | The admin user password. | `admin` |
| `searchdb.replicas` | The number of replicas. | `3` | | `searchdb.replicas` | The number of replicas. | `3` |
| `searchdb.persistence.enabled` | Enable persistent storage. Requires PV-provisioner. | `true` | | `searchdb.persistence.enabled` | Enable persistent storage. Requires PV-provisioner. | `false` |
### Upload Service ### Upload Service
...@@ -164,7 +165,7 @@ The command removes all the Kubernetes components associated with the chart and ...@@ -164,7 +165,7 @@ The command removes all the Kubernetes components associated with the chart and
| `metadataservice.s3.endpoint` | The S3-capable endpoint the microservice connects to. | `http://storageservice-s3:9000` | | `metadataservice.s3.endpoint` | The S3-capable endpoint the microservice connects to. | `http://storageservice-s3:9000` |
| `metadataservice.s3.auth.username` | The S3-capable endpoint username (or access key id). | `seaweedfsadmin` | | `metadataservice.s3.auth.username` | The S3-capable endpoint username (or access key id). | `seaweedfsadmin` |
| `metadataservice.s3.auth.password` | The S3-capable endpoint user password (or access key secret). | `seaweedfsadmin` | | `metadataservice.s3.auth.password` | The S3-capable endpoint user password (or access key secret). | `seaweedfsadmin` |
| `metadataservice.replicaCount` | The number of replicas. | `1` | | `metadataservice.replicaCount` | The number of replicas. | `2` |
### Data Service ### Data Service
......
{{- if .Values.authservice.enabled }}
apiVersion: v1
kind: Secret
metadata:
name: auth-service-secret
namespace: {{ .Values.namespace }}
stringData:
db-host: "{{ .Values.authdb.host }}"
db-port: "{{ .Values.authdb.port }}"
db-name: "{{ .Values.authdb.postgresql.database }}"
db-username: "{{ .Values.authdb.postgresql.username }}"
db-password: "{{ .Values.authdb.postgresql.password }}"
{{- end }}
...@@ -45,94 +45,6 @@ ...@@ -45,94 +45,6 @@
}, },
"type": "object" "type": "object"
}, },
"authdb": {
"properties": {
"enabled": {
"type": "boolean"
},
"fullnameOverride": {
"type": "string"
},
"host": {
"type": "string"
},
"metrics": {
"properties": {
"enabled": {
"type": "boolean"
}
},
"type": "object"
},
"persistence": {
"properties": {
"enabled": {
"type": "boolean"
},
"size": {
"type": "string"
}
},
"type": "object"
},
"pgpool": {
"properties": {
"adminPassword": {
"type": "string"
},
"adminUsername": {
"type": "string"
}
},
"type": "object"
},
"port": {
"type": "integer"
},
"postgresql": {
"properties": {
"database": {
"type": "string"
},
"password": {
"type": "string"
},
"postgresPassword": {
"type": "string"
},
"replicaCount": {
"type": "integer"
},
"repmgrPassword": {
"type": "string"
},
"username": {
"type": "string"
}
},
"type": "object"
},
"service": {
"properties": {
"annotations": {
"properties": {},
"type": "object"
},
"loadBalancerIP": {
"type": "string"
},
"loadBalancerSourceRanges": {
"type": "array"
},
"type": {
"type": "string"
}
},
"type": "object"
}
},
"type": "object"
},
"authservice": { "authservice": {
"properties": { "properties": {
"auth": { "auth": {
...@@ -163,29 +75,6 @@ ...@@ -163,29 +75,6 @@
"endpoint": { "endpoint": {
"type": "string" "type": "string"
}, },
"externalDatabase": {
"properties": {
"existingSecret": {
"type": "string"
},
"existingSecretDatabaseKey": {
"type": "string"
},
"existingSecretHostKey": {
"type": "string"
},
"existingSecretPasswordKey": {
"type": "string"
},
"existingSecretPortKey": {
"type": "string"
},
"existingSecretUserKey": {
"type": "string"
}
},
"type": "object"
},
"extraEnvVarsCM": { "extraEnvVarsCM": {
"type": "string" "type": "string"
}, },
...@@ -254,6 +143,14 @@ ...@@ -254,6 +143,14 @@
}, },
"postgresql": { "postgresql": {
"properties": { "properties": {
"auth": {
"properties": {
"postgresPassword": {
"type": "string"
}
},
"type": "object"
},
"enabled": { "enabled": {
"type": "boolean" "type": "boolean"
} }
...@@ -376,9 +273,6 @@ ...@@ -376,9 +273,6 @@
"properties": { "properties": {
"enabled": { "enabled": {
"type": "boolean" "type": "boolean"
},
"size": {
"type": "string"
} }
}, },
"type": "object" "type": "object"
...@@ -440,19 +334,15 @@ ...@@ -440,19 +334,15 @@
"extraVolumes": { "extraVolumes": {
"items": { "items": {
"properties": { "properties": {
"name": { "emptyDir": {
"type": "string" "properties": {},
"type": "object"
}, },
"persistentVolumeClaim": { "name": {
"properties": {
"claimName": {
"type": "string" "type": "string"
} }
}, },
"type": "object" "type": "object"
}
},
"type": "object"
}, },
"type": "array" "type": "array"
}, },
...@@ -491,6 +381,14 @@ ...@@ -491,6 +381,14 @@
}, },
"type": "object" "type": "object"
}, },
"persistence": {
"properties": {
"enabled": {
"type": "boolean"
}
},
"type": "object"
},
"replicaCount": { "replicaCount": {
"type": "integer" "type": "integer"
}, },
...@@ -505,14 +403,6 @@ ...@@ -505,14 +403,6 @@
}, },
"type": "object" "type": "object"
}, },
"s3": {
"properties": {
"enabled": {
"type": "boolean"
}
},
"type": "object"
},
"service": { "service": {
"properties": { "properties": {
"extraPorts": { "extraPorts": {
...@@ -560,6 +450,28 @@ ...@@ -560,6 +450,28 @@
"image": { "image": {
"type": "string" "type": "string"
}, },
"livenessProbe": {
"properties": {
"exec": {
"properties": {
"command": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"initialDelaySeconds": {
"type": "integer"
},
"periodSeconds": {
"type": "integer"
}
},
"type": "object"
},
"name": { "name": {
"type": "string" "type": "string"
}, },
...@@ -580,6 +492,28 @@ ...@@ -580,6 +492,28 @@
}, },
"type": "array" "type": "array"
}, },
"readinessProbe": {
"properties": {
"exec": {
"properties": {
"command": {
"items": {
"type": "string"
},
"type": "array"
}
},
"type": "object"
},
"initialDelaySeconds": {
"type": "integer"
},
"periodSeconds": {
"type": "integer"
}
},
"type": "object"
},
"securityContext": { "securityContext": {
"properties": { "properties": {
"allowPrivilegeEscalation": { "allowPrivilegeEscalation": {
...@@ -1078,14 +1012,6 @@ ...@@ -1078,14 +1012,6 @@
"host": { "host": {
"type": "string" "type": "string"
}, },
"image": {
"properties": {
"debug": {
"type": "boolean"
}
},
"type": "object"
},
"masterService": { "masterService": {
"type": "string" "type": "string"
}, },
...@@ -1096,9 +1022,6 @@ ...@@ -1096,9 +1022,6 @@
"properties": { "properties": {
"enabled": { "enabled": {
"type": "boolean" "type": "boolean"
},
"size": {
"type": "string"
} }
}, },
"type": "object" "type": "object"
......
...@@ -129,7 +129,7 @@ authservice: ...@@ -129,7 +129,7 @@ authservice:
extraVolumeMounts: extraVolumeMounts:
- name: config-map - name: config-map
mountPath: /opt/bitnami/keycloak/data/import mountPath: /opt/bitnami/keycloak/data/import
replicaCount: 1 replicaCount: 2
## @section Data Database ## @section Data Database
...@@ -145,6 +145,7 @@ authservice: ...@@ -145,6 +145,7 @@ authservice:
## @skip datadb.sidecars ## @skip datadb.sidecars
## @skip datadb.extraVolumeMounts ## @skip datadb.extraVolumeMounts
## @skip datadb.extraVolumes ## @skip datadb.extraVolumes
## @param datadb.persistence.enabled Enable persistent storage. Requires PV-provisioner.
## @param datadb.replicaCount The number of replicas, should be uneven (2n+1). ## @param datadb.replicaCount The number of replicas, should be uneven (2n+1).
## ##
datadb: datadb:
...@@ -213,6 +214,8 @@ datadb: ...@@ -213,6 +214,8 @@ datadb:
extraVolumes: extraVolumes:
- name: s3 - name: s3
emptyDir: { } emptyDir: { }
persistence:
enabled: false
replicaCount: 3 replicaCount: 3
## @section Search Database ## @section Search Database
...@@ -249,7 +252,7 @@ searchdb: ...@@ -249,7 +252,7 @@ searchdb:
sysctlInit: sysctlInit:
enabled: true enabled: true
persistence: persistence:
enabled: true enabled: false
service: service:
type: ClusterIP type: ClusterIP
annotations: { } annotations: { }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment