-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from regulaforensics/faceapi-release
refactor. update config to config.yaml
- Loading branch information
Showing
27 changed files
with
902 additions
and
597 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
.DS_Store | ||
.vscode | ||
charts/**/test-values.yaml | ||
charts/**/test-*.yaml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
dependencies: | ||
- name: postgresql | ||
repository: https://charts.bitnami.com/bitnami | ||
version: 11.9.13 | ||
version: 13.2.27 | ||
- name: milvus | ||
repository: https://zilliztech.github.io/milvus-helm/ | ||
version: 4.1.9 | ||
digest: sha256:3f60a38bb689d2e6ec51b5eb7d6a378e5e1791803afad8f9453cfab4da06aca3 | ||
generated: "2023-11-14T18:29:33.165182658+03:00" | ||
version: 4.1.11 | ||
digest: sha256:c955b7092dfccdfbfe123e676ec89cfb13f9de0517255c6fab96c65632389269 | ||
generated: "2024-01-03T16:15:15.981736242+03:00" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,15 @@ | ||
{{/* The purpose of this yaml file is it to check the values file is consistent for some complexe combinations. */}} | ||
|
||
{{- /* HTTPS checks */ -}} | ||
{{- if .Values.https.enabled }} | ||
{{- if not .Values.https.certificatesSecretName }} | ||
{{ required "When 'HTTPS' mode is enabled, https.certificatesSecretName value should be set." nil }} | ||
{{- /* SSL checks */ -}} | ||
{{- if .Values.ssl.enabled }} | ||
{{- if not .Values.ssl.certificatesSecretName }} | ||
{{ required "When 'SSL' mode is enabled, ssl.certificatesSecretName value should be set." nil }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{- /* Identification/Liveness related checks */ -}} | ||
{{- /* Ensure PostgreSQL is enabled Identification or Liveness is enabled as well */ -}} | ||
{{- if or .Values.postgresql.enabled .Values.externalPostgreSQL .Values.externalPostgreSQLSecret }} | ||
{{- if and (not .Values.liveness.enabled) (not .Values.identification.enabled) }} | ||
{{ required "'Identification/Liveness' modules or 'Liveness' module should be enabled before 'postgresql.enabled' OR 'externalPostgreSQL' OR 'externalPostgreSQLSecret' value is set." nil }} | ||
{{- /* Liveness / Search modules checks */ -}} | ||
{{- if or .Values.liveness.enabled .Values.search.enabled }} | ||
{{- if not (or .Values.database.connectionString .Values.database.connectionStringSecretName .Values.postgresql.enabled ) }} | ||
{{ required "When 'Liveness or/and Search' mode(-s) is/are enabled, `database.connectionString` or `database.connectionStringSecretName` or `postgresql.enabled` value should be set." nil }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{- /* Ensure Identification is enabled if Milvus is enabled */ -}} | ||
{{- if and (not .Values.identification.enabled) .Values.milvus.enabled }} | ||
{{ required "'Identification' module should be enabled before 'milvus.enabled' value is set." nil }} | ||
{{- end }} | ||
|
||
{{- /* Ensure Identification related values are properly set */ -}} | ||
{{- if .Values.identification.enabled }} | ||
{{- if not (or .Values.postgresql.enabled .Values.externalPostgreSQL .Values.externalPostgreSQLSecret) }} | ||
{{ required "When 'Identification' module is enabled, 'postgresql.enabled' OR 'externalPostgreSQL' OR 'externalPostgreSQLSecret' value should be set." nil }} | ||
{{- end }} | ||
{{- if and .Values.externalPostgreSQL .Values.externalPostgreSQLSecret }} | ||
{{ required "You must set one of the values externalPostgreSQL OR externalPostgreSQLSecret when using external postgreSQL." nil }} | ||
{{- end }} | ||
{{- if and .Values.postgresql.enabled (or .Values.externalPostgreSQL .Values.externalPostgreSQLSecret) }} | ||
{{ required "You must enable only 'postgresql.enabled' or use externalPostgreSQL/externalPostgreSQLSecret at a time." nil }} | ||
{{- end }} | ||
{{- if (not .Values.milvus.enabled) }} | ||
{{ required "When 'Identification' module is enabled, 'milvus.enabled' value should be set." nil }} | ||
{{- end }} | ||
{{- end }} | ||
|
||
{{- /* Ensure Liveness related values are properly set */ -}} | ||
{{- if .Values.liveness.enabled }} | ||
{{- if not (or .Values.postgresql.enabled .Values.externalPostgreSQL .Values.externalPostgreSQLSecret) }} | ||
{{ required "When 'Liveness' module is enabled, 'postgresql.enabled' OR 'externalPostgreSQL' OR 'externalPostgreSQLSecret' value should be set." nil }} | ||
{{- end }} | ||
{{- if and .Values.externalPostgreSQL .Values.externalPostgreSQLSecret }} | ||
{{ required "You must set one of the values externalPostgreSQL OR externalPostgreSQLSecret when using external postgreSQL." nil }} | ||
{{- end }} | ||
{{- if and .Values.postgresql.enabled (or .Values.externalPostgreSQL .Values.externalPostgreSQLSecret) }} | ||
{{ required "You must enable only 'postgresql.enabled' or use externalPostgreSQL/externalPostgreSQLSecret at a time." nil }} | ||
{{- end }} | ||
{{- end }} |
Oops, something went wrong.