initial commit
Some checks failed
Build and Publish TechDocs / build-and-publish (push) Has been cancelled
Some checks failed
Build and Publish TechDocs / build-and-publish (push) Has been cancelled
Change-Id: I084fc528d931f9169bcb2a11932b2d5ddd4f29b5
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