Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tractusx-dev] Update TRG 5.05 - Aligning (more) standards Helm chart values.yaml
  • From: "Kiermayer, Siegfried" <siegfried.kiermayer@xxxxxxx>
  • Date: Wed, 6 Mar 2024 14:19:19 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=sap.com; dmarc=pass action=none header.from=sap.com; dkim=pass header.d=sap.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=eNlNSM5OrqGfOzsOrQ/+uWa9uPJMOwELLUe6D9R3auI=; b=cEbInZRayp1aZH1ZxwsBAlcFvAlREhrXetvFHGJ8e3SVp27XCQzEHuKOuBEV5l/v8xVUTxihVJorj6c95YGpm01U21lb+MSm4aZAtB/6R3pNzOA7Yhr56dMeg3kJatcbEXJ0R/4sdCKoItEo8TKhiIldvU5QUNyZHz26+NO+aKKvArC5P4pqS7McAgIsLzKO6s4AeOs6Kc9gr3NAPYhFiNFZ578JxlXt6rCgfhndXG3joTdA0GiV+9f4IpPURbxIzoyYpmphYl1RrwAJBVAnEIC5EnEFONx3rk/lhb58bbvn/9u9tGFXi50h6BcdObVYffqWgKlmqtgLEfZTxWUJXw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Wl9SOosAPImUZz/VpaRI6Wc4ls23RnREpv/OLs9Mblmru7NcF/HPlxElLhyUzKCl8I5qSTrYTQthFu+x+agOocmWH1glHmJ47MDme8mRT1mfBKjcRt6blNFbPnTsmunfHw7P+THOxJJkE/F5J3b7wbBOr600r7x0+2eD+VP/xQwxB75grBqqJzWI33XCzU63ovcmjfK93IfubKSzGHRqqGTAcbMdHXj1Y5Hlt8jmsFd3UUoQr6tdXZ5UZhgpZuMsNRESDK1RkU676oKFNHjaJY0mqGzdNJOfPe3pNwUXh8F8gEY9jCIFe4yVQGi9P4nh1DG5KDu8qixRq2OWbDkqaQ==
  • Delivered-to: tractusx-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/tractusx-dev/>
  • List-help: <mailto:tractusx-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/tractusx-dev>, <mailto:tractusx-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/tractusx-dev>, <mailto:tractusx-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHabLSSm2g6CW6mRUKIGwe261NdabEqxc4QgAADFYc=
  • Thread-topic: [tractusx-dev] Update TRG 5.05 - Aligning (more) standards Helm chart values.yaml

Hi,

 

I personally think that most of our helm charts, which are split between frontend and backend, do not have any benefit from it and would benefit of integrating them back into a unified one.

 

Do you run Puris without frontend or backend? If not, I would not do two charts.

 

Tx,

 

Sigi

 

From: tractusx-dev <tractusx-dev-bounces@xxxxxxxxxxx> on behalf of Meyer, Tom via tractusx-dev <tractusx-dev@xxxxxxxxxxx>
Date: Wednesday, 6. March 2024 at 15:14
To: tractusx developer discussions <tractusx-dev@xxxxxxxxxxx>
Cc: Meyer, Tom <tom.meyer@xxxxxxxxxxxxxxxxxx>
Subject: Re: [tractusx-dev] Update TRG 5.05 - Aligning (more) standards Helm chart values.yaml

Hey together,

 

Maybe one question regarding Florian’s first point:
>>
Use the root node as the level, where configurations for the service should be placed. E.g. some of our projects like the DTR put all the values for the service under a specific node in the values for the service. In case of the DTR it’s the `registry:` node (see [1]). This uneccessary additonal indentation level which brings in my eyes no further advantage.

 

How should we handle this in helm charts used for applications with frontend and backend? As puris we put everything into one chart and differentiated between frontend and backend. Trace-X used subcharts and used frontend and backend as alias in the dependencies. Feels like the trace-x way maybe is the better practice and should somehow be reflected?

 

BR

Tom

 

From: tractusx-dev <tractusx-dev-bounces@xxxxxxxxxxx> On Behalf Of Gurschler Evelyn, FG-222 via tractusx-dev
Sent: Monday, 4 March 2024 10:56
To: tractusx developer discussions <tractusx-dev@xxxxxxxxxxx>
Cc: Gurschler Evelyn, FG-222 <Evelyn.Gurschler@xxxxxx>
Subject: Re: [tractusx-dev] Update TRG 5.05 - Aligning (more) standards Helm chart values.yaml

 

Hi all,

 

It’s a quite comprehensive list already, here some additions:

 

  • Enable db connections to support nameOverride and fullNameOverrides of postgres dependency for instance by introduding functions in the `_helpers.tpl` as Florian already mentioned [1]
  • At the same time don’t set fullNameOverrides for dependcies in within the default values.yaml (especially in the case of umbrella charts unique labels (name) for dependencies are important and a fullnameOverride may lead to non-unique labels (at least if there are >1 fullnameOverride(s) in the umbrella).

 

[1] https://github.com/eclipse-tractusx/sldt-digital-twin-registry/blob/f1f4432c20dc34bb3fb9030c186f177f63c682b0/charts/registry/templates/_helpers.tpl#L51

 

Kind regards,

Evelyn

 

From: tractusx-dev <tractusx-dev-bounces@xxxxxxxxxxx> on behalf of Florian Rusch via tractusx-dev <tractusx-dev@xxxxxxxxxxx>
Reply to: tractusx developer discussions <tractusx-dev@xxxxxxxxxxx>
Date: Friday, 1. March 2024 at 11:35
To: tractusx developer discussions <tractusx-dev@xxxxxxxxxxx>
Cc: Florian Rusch <F.Rusch@xxxxxxxxxx>
Subject: Re: [tractusx-dev] Update TRG 5.05 - Aligning (more) standards Helm chart values.yaml

 

Sent from outside the BMW organization - be CAUTIOUS, particularly with links and attachments. 

Absender außerhalb der BMW Organisation - Bitte VORSICHT beim Öffnen von Links und Anhängen. 


Hello all together,

 

as someone who uses some of the different helm charts, I could suggest the following points for alignment:

 

  • Use the root node as the level, where configurations for the service should be placed. E.g. some of our projects like the DTR put all the values for the service under a specific node in the values for the service. In case of the DTR it’s the `registry:` node (see [1]). This uneccessary additonal indentation level which brings in my eyes no further advantage.
  • All configurations for dependencies (like databases etc) should be put unter the node, that is named like the alias of the dependency.
  • Aligned handling of environment variables: At the EDC I untroduced in the past the possibility to provide them directly as key-value pairs, via *KeyRef or by mounting directly secrets and configmaps (see [2]).
  • Usage of NetworkPolicies, HorizontalPodAutoscaler, ServiceMonitor (Gathering of Metrics via Prometheus)
  • Usage of Labels and annotations, as well as the “default” functions in the `_helpers.tpl` (see [3]) to ensure, that the same chart can be deployed multiple times in the same k8s namespace.
  • Introduce the usage of global configurations (see [4]) to make it easiert to configure multiple different services together in an umbrella helm chart.

 

 

[1]: https://github.com/eclipse-tractusx/sldt-digital-twin-registry/blob/f1f4432c20dc34bb3fb9030c186f177f63c682b0/charts/registry/values.yaml#L29

[2]: https://github.com/eclipse-tractusx/tractusx-edc/blob/d3cbf44e0d92d643a5903043a1f6aed644bc05f3/charts/tractusx-connector/values.yaml#L173-L196

[3]: https://github.com/eclipse-tractusx/sldt-digital-twin-registry/blob/f1f4432c20dc34bb3fb9030c186f177f63c682b0/charts/registry/templates/_helpers.tpl#L1-L48

[4]: https://helm.sh/docs/chart_template_guide/subcharts_and_globals/#global-chart-values

 

Viele Grüße/Best regards 

Florian Rusch 
Senior DevSecOps Specialist 

cluetec

cluetec GmbH 
Wilhelm-Schickard-Str. 9 
76131 Karlsruhe | Deutschland 
Telefon: +49 721 83179-226 

Mobile: +49 160 996 856 80

F.Rusch@xxxxxxxxxx | www.cluetec.de

Geschäftsführer: Matthias Helferich, Thomas Rieger, Hermann Schäfer
Handelsregister: Mannheim HRB 109205, USt-ID-Nr.: DE213118929 

 

 

 

From: tractusx-dev <tractusx-dev-bounces@xxxxxxxxxxx> on behalf of carsten.lenz--- via tractusx-dev <tractusx-dev@xxxxxxxxxxx>
Date: Friday, 1. March 2024 at 10:49
To: tractusx-dev@xxxxxxxxxxx <tractusx-dev@xxxxxxxxxxx>
Cc: carsten.lenz@xxxxxxxxxxxxxxxxx <carsten.lenz@xxxxxxxxxxxxxxxxx>
Subject: [tractusx-dev] Update TRG 5.05 - Aligning (more) standards Helm chart values.yaml

Achtung: Diese E-Mail stammt von einem externen Absender. Bitte vermeide es, Anhänge oder externe Links zu öffnen

 

Hey Community,

 

We’re thinking about to extend our existing TRG 5.05 – Chart Values [1] and align more defaults across existing Eclipse Tractus-X product Helm charts. As we as a community gained plenty of experience with Helm charts for quite some time now, I wanted to ask you for additional input what we could align of in this TRG to have the same settings across our Helm charts.

 

What comes into my mind (unordered list without precedence):

 

  • Database
    How to address internal (deployed with the Helm chart) and external DB.
  • IAM/IDP/Keykloak
    Would be nice to have a sane default?!
  • Ingress
    Having the same commented ingress block with possible application specific settings.
  • securityContex/resources/livenessProbe/readynessProbe/…

 

What do you think what would be worth to align on across all available Helm charts and add to TRG 5.05?

Chers
Carsten

 

[1] TRG 5.05 – Chart Values
https://eclipse-tractusx.github.io/docs/release/trg-5/trg-5-05

--

Mit freundlichen Grüßen / Kind regards

 

Carsten Lenz

Senior Reliability Engineer

 

+49 160 8695992 | Carsten.lenz@xxxxxxxxxxxxxxxxx

 

signature_1199919022

 

signature_2683649581  signature_3509534010  signature_3766349508  signature_1125193896  signature_2655423589  signature_3418758198  signature_3079765109

 

Mercedes-Benz Tech Innovation GmbH

Developer Productivity

Wilhelm-Runge-Straße 11

89081 Ulm/Germany

 

Sitz und Registergericht/Domicile and Register Court: Ulm, HRB-Nr./Commercial Register No.: 3844

Geschäftsführung/Management: Daniel Geisel (Vorsitzender/Chairperson)

 


If you are not the addressee, please inform us immediately that you have received this e-mail by mistake, and delete it. We thank you for your support.

 


Back to the top