From b6460d9f79f1ee76e43f214252dd4f0a63eeb130 Mon Sep 17 00:00:00 2001 From: syedsalmna Date: Wed, 4 Dec 2024 16:14:00 +0530 Subject: [PATCH 1/4] [MOSIP-35490] Fixed reporting chart lint issues Signed-off-by: syed salman --- .gitignore | 4 +++- helm/reporting/values.yaml | 13 +++++++++---- scripts/values.yaml | 2 +- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index d940641..5049bf2 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,6 @@ jars jars_legacy .idea target -bin \ No newline at end of file +bin +helm/*/Chart.lock +helm/*/charts/ \ No newline at end of file diff --git a/helm/reporting/values.yaml b/helm/reporting/values.yaml index 178a98c..bd95cac 100644 --- a/helm/reporting/values.yaml +++ b/helm/reporting/values.yaml @@ -101,9 +101,11 @@ debezium: kafkaClient: enabled: true image: confluentinc/cp-kafka - db_secretref: - name: postgres-postgresql - key: postgresql-password + # the following is when no secret is to be used from db_pass + db_secretref: null +# db_secretref: +# name: postgres-postgresql +# key: postgresql-password bitnami-kafka: fullnameOverride: kafka @@ -111,6 +113,9 @@ bitnami-kafka: replicaCount: 4 persistence: enabled: false + kraft: + enabled: false + deleteTopicEnable: true zookeeper: fullnameOverride: kafka-zookeeper enabled: true @@ -170,7 +175,7 @@ confluentinc: customEnv: {} bitnami-elasticsearch: - enabled: true + enabled: false global: kibanaEnabled: true data: diff --git a/scripts/values.yaml b/scripts/values.yaml index 22148b1..bdf40b4 100644 --- a/scripts/values.yaml +++ b/scripts/values.yaml @@ -33,6 +33,6 @@ kafkaClient: # the following is when no secret is to be used from db_pass db_secretref: null -# Enable if you do not have Elastisearch already installed in your cluster +# Enable if you do not have Elasticsearch already installed in your cluster bitnami-elasticsearch: enabled: false From 00ccc34cbc514662a5d5ed508876744d6860a309 Mon Sep 17 00:00:00 2001 From: syed salman Date: Wed, 4 Dec 2024 16:52:31 +0530 Subject: [PATCH 2/4] [MOSIP-35490] Fixed reporting chart lint issues Signed-off-by: syed salman --- helm/reporting/values.yaml | 38 ++++++++++++++++++++++++++++++++++++++ ignore-health-check.txt | 1 + 2 files changed, 39 insertions(+) create mode 100644 ignore-health-check.txt diff --git a/helm/reporting/values.yaml b/helm/reporting/values.yaml index bd95cac..f1c2a9a 100644 --- a/helm/reporting/values.yaml +++ b/helm/reporting/values.yaml @@ -116,10 +116,48 @@ bitnami-kafka: kraft: enabled: false deleteTopicEnable: true + livenessProbe: + enabled: true + timeoutSeconds: 5 + failureThreshold: 5 + periodSeconds: 10 + successThreshold: 1 + readinessProbe: + enabled: true + failureThreshold: 6 + timeoutSeconds: 5 + periodSeconds: 10 + successThreshold: 1 + startupProbe: + enabled: true + initialDelaySeconds: 20 + periodSeconds: 10 + timeoutSeconds: 1 + failureThreshold: 60 + successThreshold: 1 zookeeper: fullnameOverride: kafka-zookeeper enabled: true replicaCount: 4 + livenessProbe: + enabled: true + timeoutSeconds: 5 + failureThreshold: 5 + periodSeconds: 10 + successThreshold: 1 + readinessProbe: + enabled: true + failureThreshold: 6 + timeoutSeconds: 5 + periodSeconds: 10 + successThreshold: 1 + startupProbe: + enabled: true + initialDelaySeconds: 20 + periodSeconds: 10 + timeoutSeconds: 1 + failureThreshold: 30 + successThreshold: 1 persistence: enabled: false diff --git a/ignore-health-check.txt b/ignore-health-check.txt new file mode 100644 index 0000000..62aaa7a --- /dev/null +++ b/ignore-health-check.txt @@ -0,0 +1 @@ +helm/reporting \ No newline at end of file From 9474a06e391aa8ec4ccd70855bbd64c0dd91d677 Mon Sep 17 00:00:00 2001 From: syed salman Date: Wed, 4 Dec 2024 16:59:14 +0530 Subject: [PATCH 3/4] [MOSIP-35490] Fixed reporting chart lint issues Signed-off-by: syed salman --- ignore-health-check.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ignore-health-check.txt b/ignore-health-check.txt index 62aaa7a..582d13f 100644 --- a/ignore-health-check.txt +++ b/ignore-health-check.txt @@ -1 +1 @@ -helm/reporting \ No newline at end of file +helm/reporting From 875dd1e32763376468cf1235d7f60b2805fc42e5 Mon Sep 17 00:00:00 2001 From: syed salman Date: Wed, 4 Dec 2024 17:12:16 +0530 Subject: [PATCH 4/4] [MOSIP-35490] Fixed reporting chart lint issues Signed-off-by: syed salman --- ignore-health-check.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ignore-health-check.txt b/ignore-health-check.txt index 582d13f..a48f927 100644 --- a/ignore-health-check.txt +++ b/ignore-health-check.txt @@ -1 +1 @@ -helm/reporting +./helm/reporting