forked from gardener/landscaper
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blueprint.yaml
34 lines (28 loc) · 1.06 KB
/
blueprint.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
apiVersion: landscaper.gardener.cloud/v1alpha1
kind: Blueprint
jsonSchema: "https://json-schema.org/draft/2019-09/schema"
imports:
- name: cluster # name of the import parameter
type: target
targetType: landscaper.gardener.cloud/kubernetes-cluster
deployExecutions:
- name: default
type: GoTemplate
template: |
deployItems:
- name: default-deploy-item
type: landscaper.gardener.cloud/helm
target:
import: cluster # "cluster" is the name of an import parameter
config:
apiVersion: helm.deployer.landscaper.gardener.cloud/v1alpha1
kind: ProviderConfiguration
name: echo-server
namespace: example
createNamespace: true
chart:
{{ $chartResource := getResource .cd "name" "echo-server-chart" }}
ref: {{ $chartResource.access.imageReference }}
values:
{{ $imageResource := getResource .cd "name" "echo-server-image" }}
image: {{ $imageResource.access.imageReference }}