diff --git a/.gitignore b/.gitignore index cfa4e0e9..f1e1d9ba 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,6 @@ _deps test_scripts/curl/token.json .vscode/c_cpp_properties.json test_scripts/curl/result.json +*.swp +helm/charts/* +!helm/charts/.gitkeep diff --git a/helm/.gitkeep b/helm/.gitkeep new file mode 100644 index 00000000..e69de29b diff --git a/helm/Chart.lock b/helm/Chart.lock new file mode 100644 index 00000000..731a3508 --- /dev/null +++ b/helm/Chart.lock @@ -0,0 +1,12 @@ +dependencies: +- name: postgresql + repository: https://charts.bitnami.com/bitnami + version: 10.9.2 +- name: mysql + repository: https://charts.bitnami.com/bitnami + version: 8.8.3 +- name: mariadb + repository: https://charts.bitnami.com/bitnami + version: 9.4.2 +digest: sha256:1fdae7cbea906e41dccd8618ff9e2c68d0c684724ae27c79a12bb6089968df5c +generated: "2021-08-17T12:18:40.341427893+03:00" diff --git a/helm/Chart.yaml b/helm/Chart.yaml index cebd185b..f4aaae9b 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -1,5 +1,18 @@ -apiVersion: v1 +apiVersion: v2 appVersion: "1.0" description: A Helm chart for Kubernetes name: ucentralgw version: 0.1.0 +dependencies: +- name: postgresql + repository: https://charts.bitnami.com/bitnami + version: 10.9.2 + condition: postgresql.enabled +- name: mysql + repository: https://charts.bitnami.com/bitnami + version: 8.8.3 + condition: mysql.enabled +- name: mariadb + repository: https://charts.bitnami.com/bitnami + version: 9.4.2 + condition: mariadb.enabled diff --git a/helm/values.yaml b/helm/values.yaml index efe3834f..8e0408c5 100644 --- a/helm/values.yaml +++ b/helm/values.yaml @@ -428,3 +428,64 @@ certsCAs: L+/DtiR5fDVMNdBSGU89UNTi0wHY9+RFuNlIuvZC+x/swF0V9R5mN+ywquTPtDLA 5IOM7ItsRmen6u3qu+JXros54e4juQ== -----END CERTIFICATE----- + +# PostgreSQL (https://github.com/bitnami/charts/tree/master/bitnami/postgresql) +postgresql: + enabled: false + + image: + registry: docker.io + repository: bitnami/postgresql + tag: 11.13.0-debian-10-r0 + + postgresqlPostgresPassword: "" + postgresqlUsername: postgres + postgresqlPassword: "" + postgresqlDatabase: "" + + persistence: + enabled: true + storageClass: "" + size: 8Gi + +# MySQL (https://github.com/bitnami/charts/tree/master/bitnami/mysql) +mysql: + enabled: false + + image: + registry: docker.io + repository: bitnami/mysql + tag: 8.0.26-debian-10-r10 + + auth: + rootPassword: "" + database: my_database + username: "" + password: "" + + primary: + persistence: + enabled: true + storageClass: "" + size: 8Gi + +# MariaDB (https://github.com/bitnami/charts/tree/master/bitnami/mariadb) +mariadb: + enabled: false + + image: + registry: docker.io + repository: bitnami/mariadb + tag: 10.5.12-debian-10-r0 + + auth: + rootPassword: "" + database: my_database + username: "" + password: "" + + primary: + persistence: + enabled: true + storageClass: "" + size: 8Gi