initial commit
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m0s
All checks were successful
Build and Publish TechDocs / build-and-publish (push) Successful in 1m0s
Change-Id: I5f624b221545283dafa1ca30bef9b8b722fcf0c7
This commit is contained in:
18
templates/component.yaml
Normal file
18
templates/component.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
{{- range $name, $config := .Values.components }}
|
||||
{{- $config := set . "Capabilities" $.Capabilities }}
|
||||
{{- $config := set . "Template" $.Template }}
|
||||
{{- $config := set . "name" ($name | lower) }}
|
||||
{{- $config := set . "Release" $.Release }}
|
||||
{{- $config := set . "Chart" $.Chart }}
|
||||
{{- $config := set . "serviceAccount" $.Values.serviceAccount }}
|
||||
{{- $config := set . "observability" $.Values.observability }}
|
||||
{{- $config := set . "defaultValues" $.Values.default }}
|
||||
|
||||
{{- if $config.enabled -}}
|
||||
{{- include "otel-demo.deployment" $config -}}
|
||||
{{- include "otel-demo.service" $config -}}
|
||||
{{- include "otel-demo.ingress" $config -}}
|
||||
{{- include "otel-demo.configmap" $config -}}
|
||||
{{ end }}
|
||||
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user